@salesforce/lds-adapters-cdp-semantic-authoring 1.321.0 → 1.323.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cdp-semantic-authoring.js +798 -176
- package/dist/es/es2018/types/src/generated/adapters/createSemanticSubMetric.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticModel.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticMetricsByMetricIds.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsBaseModelsByModelApiNameOrIdAndBaseModelNameOrId.d.ts +10 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticMetricStoreItems.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsMeasurementsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsCloneByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsConvertToMeasurementByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsDimensionsConvertToMeasurementByDataObjectNameOrIdAndDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsMeasurementsByDataObjectNameOrIdAndMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsMetricsAdditionalDimensionByModelApiNameOrId.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsOverrideByModelApiNameOrId.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectCollectionOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalValueInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +16 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMetricAdditionalDimensionInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalInputRepresentation.d.ts +7 -5
- package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticMetricStoreItemCollectionOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricStoreItemOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelPatchInputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/SemanticOverrideCollectionInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticOverrideCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticOverrideInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SemanticOverrideOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SemanticSubMetricOutputRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +785 -163
- package/src/raml/api.raml +516 -53
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
const VERSION$t = "a2976cd68e629a917463a3b690cf2527";
|
|
96
|
-
function validate
|
|
96
|
+
function validate$$(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
97
97
|
const v_error = (() => {
|
|
98
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -165,7 +165,7 @@ function equals$t(existing, incoming) {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
const VERSION$s = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
168
|
-
function validate$
|
|
168
|
+
function validate$_(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
169
169
|
const v_error = (() => {
|
|
170
170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
171
171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -180,7 +180,7 @@ function validate$U(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
180
180
|
if (obj.tableFieldReference !== undefined) {
|
|
181
181
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
182
182
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
183
|
-
const referencepath_tableFieldReferenceValidationError = validate
|
|
183
|
+
const referencepath_tableFieldReferenceValidationError = validate$$(obj_tableFieldReference, path_tableFieldReference);
|
|
184
184
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
185
185
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
186
186
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -242,7 +242,7 @@ function equals$s(existing, incoming) {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
const VERSION$r = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
245
|
-
function validate$
|
|
245
|
+
function validate$Z(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
246
246
|
const v_error = (() => {
|
|
247
247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
248
248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -339,7 +339,7 @@ function equals$r(existing, incoming) {
|
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
const VERSION$q = "a50848c632bb205d5e910bb726d9219e";
|
|
342
|
-
function validate$
|
|
342
|
+
function validate$Y(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
343
343
|
const v_error = (() => {
|
|
344
344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
345
345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -347,7 +347,7 @@ function validate$S(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
347
347
|
if (obj.identifierDimensionReference !== undefined) {
|
|
348
348
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
349
349
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
350
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
350
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$_(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
351
351
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
352
352
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
353
353
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -357,7 +357,7 @@ function validate$S(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
357
357
|
if (obj.namingDimensionReference !== undefined) {
|
|
358
358
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
359
359
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
360
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
360
|
+
const referencepath_namingDimensionReferenceValidationError = validate$_(obj_namingDimensionReference, path_namingDimensionReference);
|
|
361
361
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
362
362
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
363
363
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -420,7 +420,7 @@ function equals$q(existing, incoming) {
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
const VERSION$p = "1b8cf2283d5d5c480459506274f0604c";
|
|
423
|
-
function validate$
|
|
423
|
+
function validate$X(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
424
424
|
const v_error = (() => {
|
|
425
425
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
426
426
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -492,7 +492,7 @@ function equals$p(existing, incoming) {
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
const VERSION$o = "a3f5972287be7bcf9ca205af56046a58";
|
|
495
|
-
function validate$
|
|
495
|
+
function validate$W(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
496
496
|
const v_error = (() => {
|
|
497
497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
498
498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -500,7 +500,7 @@ function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
500
500
|
if (obj.identifyingDimension !== undefined) {
|
|
501
501
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
502
502
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
503
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
503
|
+
const referencepath_identifyingDimensionValidationError = validate$Y(obj_identifyingDimension, path_identifyingDimension);
|
|
504
504
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
505
505
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
506
506
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -516,7 +516,7 @@ function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
516
516
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
517
517
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
518
518
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
519
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
519
|
+
const referencepath_insightTypes_itemValidationError = validate$X(obj_insightTypes_item, path_insightTypes_item);
|
|
520
520
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
521
521
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
522
522
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -533,7 +533,7 @@ function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
533
533
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
534
534
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
535
535
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
536
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
536
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$_(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
537
537
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
538
538
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
539
539
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -704,8 +704,8 @@ function equals$o(existing, incoming) {
|
|
|
704
704
|
return true;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
const VERSION$n = "
|
|
708
|
-
function validate$
|
|
707
|
+
const VERSION$n = "0873ccd85b32d14c753931243d20ac8b";
|
|
708
|
+
function validate$V(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
709
709
|
const v_error = (() => {
|
|
710
710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -719,7 +719,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
719
719
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
720
720
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
721
721
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
722
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
722
|
+
const referencepath_additionalDimensions_itemValidationError = validate$_(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
723
723
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
724
724
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
725
725
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -746,6 +746,13 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
746
746
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
|
+
if (obj.cacheKey !== undefined) {
|
|
750
|
+
const obj_cacheKey = obj.cacheKey;
|
|
751
|
+
const path_cacheKey = path + '.cacheKey';
|
|
752
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
753
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
754
|
+
}
|
|
755
|
+
}
|
|
749
756
|
const obj_createdBy = obj.createdBy;
|
|
750
757
|
const path_createdBy = path + '.createdBy';
|
|
751
758
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -779,7 +786,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
779
786
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
780
787
|
const obj_filters_item = obj_filters[i];
|
|
781
788
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
782
|
-
const referencepath_filters_itemValidationError = validate$
|
|
789
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
783
790
|
if (referencepath_filters_itemValidationError !== null) {
|
|
784
791
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
785
792
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -795,7 +802,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
795
802
|
if (obj.insightsSettings !== undefined) {
|
|
796
803
|
const obj_insightsSettings = obj.insightsSettings;
|
|
797
804
|
const path_insightsSettings = path + '.insightsSettings';
|
|
798
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
805
|
+
const referencepath_insightsSettingsValidationError = validate$W(obj_insightsSettings, path_insightsSettings);
|
|
799
806
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
800
807
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
801
808
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -833,7 +840,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
833
840
|
if (obj.measurementReference !== undefined) {
|
|
834
841
|
const obj_measurementReference = obj.measurementReference;
|
|
835
842
|
const path_measurementReference = path + '.measurementReference';
|
|
836
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
843
|
+
const referencepath_measurementReferenceValidationError = validate$_(obj_measurementReference, path_measurementReference);
|
|
837
844
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
838
845
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
839
846
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -843,7 +850,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
843
850
|
if (obj.timeDimensionReference !== undefined) {
|
|
844
851
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
845
852
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
846
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
853
|
+
const referencepath_timeDimensionReferenceValidationError = validate$_(obj_timeDimensionReference, path_timeDimensionReference);
|
|
847
854
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
848
855
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
849
856
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -910,6 +917,11 @@ const select$z = function SemanticMetricOutputRepresentationSelect() {
|
|
|
910
917
|
kind: 'Scalar',
|
|
911
918
|
required: false
|
|
912
919
|
},
|
|
920
|
+
{
|
|
921
|
+
name: 'cacheKey',
|
|
922
|
+
kind: 'Scalar',
|
|
923
|
+
required: false
|
|
924
|
+
},
|
|
913
925
|
{
|
|
914
926
|
name: 'createdBy',
|
|
915
927
|
kind: 'Scalar'
|
|
@@ -1031,6 +1043,19 @@ function equals$n(existing, incoming) {
|
|
|
1031
1043
|
return false;
|
|
1032
1044
|
}
|
|
1033
1045
|
}
|
|
1046
|
+
const existing_cacheKey = existing.cacheKey;
|
|
1047
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
1048
|
+
// if at least one of these optionals is defined
|
|
1049
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
1050
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1051
|
+
// not equal
|
|
1052
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
1053
|
+
return false;
|
|
1054
|
+
}
|
|
1055
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
1056
|
+
return false;
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1034
1059
|
const existing_createdBy = existing.createdBy;
|
|
1035
1060
|
const incoming_createdBy = incoming.createdBy;
|
|
1036
1061
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -1208,7 +1233,7 @@ function equals$n(existing, incoming) {
|
|
|
1208
1233
|
}
|
|
1209
1234
|
const ingest$g = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1210
1235
|
if (process.env.NODE_ENV !== 'production') {
|
|
1211
|
-
const validateError = validate$
|
|
1236
|
+
const validateError = validate$V(input);
|
|
1212
1237
|
if (validateError !== null) {
|
|
1213
1238
|
throw validateError;
|
|
1214
1239
|
}
|
|
@@ -1229,7 +1254,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1229
1254
|
}
|
|
1230
1255
|
|
|
1231
1256
|
const VERSION$m = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
1232
|
-
function validate$
|
|
1257
|
+
function validate$U(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
1233
1258
|
const v_error = (() => {
|
|
1234
1259
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1235
1260
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1312,7 +1337,7 @@ function equals$m(existing, incoming) {
|
|
|
1312
1337
|
}
|
|
1313
1338
|
const ingest$f = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1314
1339
|
if (process.env.NODE_ENV !== 'production') {
|
|
1315
|
-
const validateError = validate$
|
|
1340
|
+
const validateError = validate$U(input);
|
|
1316
1341
|
if (validateError !== null) {
|
|
1317
1342
|
throw validateError;
|
|
1318
1343
|
}
|
|
@@ -1471,7 +1496,7 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
|
|
|
1471
1496
|
};
|
|
1472
1497
|
|
|
1473
1498
|
const VERSION$l = "3a32d382e7a2268096278aa8e5c6761a";
|
|
1474
|
-
function validate$
|
|
1499
|
+
function validate$T(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
1475
1500
|
const v_error = (() => {
|
|
1476
1501
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1477
1502
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1531,8 +1556,8 @@ function equals$l(existing, incoming) {
|
|
|
1531
1556
|
return true;
|
|
1532
1557
|
}
|
|
1533
1558
|
|
|
1534
|
-
const VERSION$k = "
|
|
1535
|
-
function validate$
|
|
1559
|
+
const VERSION$k = "c9079354cd8127a37c0c13ea6686383c";
|
|
1560
|
+
function validate$S(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1536
1561
|
const v_error = (() => {
|
|
1537
1562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1538
1563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1565,7 +1590,7 @@ function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1565
1590
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
1566
1591
|
const obj_baseModels_item = obj_baseModels[i];
|
|
1567
1592
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
1568
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
1593
|
+
const referencepath_baseModels_itemValidationError = validate$T(obj_baseModels_item, path_baseModels_item);
|
|
1569
1594
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
1570
1595
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
1571
1596
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1573,6 +1598,13 @@ function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1573
1598
|
}
|
|
1574
1599
|
}
|
|
1575
1600
|
}
|
|
1601
|
+
if (obj.cacheKey !== undefined) {
|
|
1602
|
+
const obj_cacheKey = obj.cacheKey;
|
|
1603
|
+
const path_cacheKey = path + '.cacheKey';
|
|
1604
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
1605
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1576
1608
|
if (obj.categories !== undefined) {
|
|
1577
1609
|
const obj_categories = obj.categories;
|
|
1578
1610
|
const path_categories = path + '.categories';
|
|
@@ -1757,6 +1789,11 @@ const select$v = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1757
1789
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
1758
1790
|
required: false
|
|
1759
1791
|
},
|
|
1792
|
+
{
|
|
1793
|
+
name: 'cacheKey',
|
|
1794
|
+
kind: 'Scalar',
|
|
1795
|
+
required: false
|
|
1796
|
+
},
|
|
1760
1797
|
{
|
|
1761
1798
|
name: 'categories',
|
|
1762
1799
|
kind: 'Scalar',
|
|
@@ -1897,6 +1934,19 @@ function equals$k(existing, incoming) {
|
|
|
1897
1934
|
return false;
|
|
1898
1935
|
}
|
|
1899
1936
|
}
|
|
1937
|
+
const existing_cacheKey = existing.cacheKey;
|
|
1938
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
1939
|
+
// if at least one of these optionals is defined
|
|
1940
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
1941
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1942
|
+
// not equal
|
|
1943
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
1944
|
+
return false;
|
|
1945
|
+
}
|
|
1946
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
1947
|
+
return false;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1900
1950
|
const existing_createdBy = existing.createdBy;
|
|
1901
1951
|
const incoming_createdBy = incoming.createdBy;
|
|
1902
1952
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -2126,7 +2176,7 @@ function equals$k(existing, incoming) {
|
|
|
2126
2176
|
}
|
|
2127
2177
|
|
|
2128
2178
|
const VERSION$j = "198423ec58354256cc7ea6f4661ef669";
|
|
2129
|
-
function validate$
|
|
2179
|
+
function validate$R(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
2130
2180
|
const v_error = (() => {
|
|
2131
2181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2132
2182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2173,7 +2223,7 @@ function validate$L(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
2173
2223
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2174
2224
|
const obj_items_item = obj_items[i];
|
|
2175
2225
|
const path_items_item = path_items + '[' + i + ']';
|
|
2176
|
-
const referencepath_items_itemValidationError = validate$
|
|
2226
|
+
const referencepath_items_itemValidationError = validate$S(obj_items_item, path_items_item);
|
|
2177
2227
|
if (referencepath_items_itemValidationError !== null) {
|
|
2178
2228
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
2179
2229
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2361,7 +2411,7 @@ function equals$j(existing, incoming) {
|
|
|
2361
2411
|
}
|
|
2362
2412
|
const ingest$e = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2363
2413
|
if (process.env.NODE_ENV !== 'production') {
|
|
2364
|
-
const validateError = validate$
|
|
2414
|
+
const validateError = validate$R(input);
|
|
2365
2415
|
if (validateError !== null) {
|
|
2366
2416
|
throw validateError;
|
|
2367
2417
|
}
|
|
@@ -2521,7 +2571,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
2521
2571
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
2522
2572
|
};
|
|
2523
2573
|
|
|
2524
|
-
function validate$
|
|
2574
|
+
function validate$Q(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
2525
2575
|
const v_error = (() => {
|
|
2526
2576
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2527
2577
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2537,7 +2587,7 @@ function validate$K(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
2537
2587
|
return v_error === undefined ? null : v_error;
|
|
2538
2588
|
}
|
|
2539
2589
|
|
|
2540
|
-
function validate$
|
|
2590
|
+
function validate$P(obj, path = 'SemanticFilterInputRepresentation') {
|
|
2541
2591
|
const v_error = (() => {
|
|
2542
2592
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2543
2593
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2567,7 +2617,7 @@ function validate$J(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
2567
2617
|
return v_error === undefined ? null : v_error;
|
|
2568
2618
|
}
|
|
2569
2619
|
|
|
2570
|
-
function validate$
|
|
2620
|
+
function validate$O(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
2571
2621
|
const v_error = (() => {
|
|
2572
2622
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2573
2623
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2630,7 +2680,7 @@ function validate$I(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2630
2680
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2631
2681
|
const obj_filters_item = obj_filters[i];
|
|
2632
2682
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2633
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2683
|
+
const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
|
|
2634
2684
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2635
2685
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2636
2686
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2677,7 +2727,7 @@ function validate$I(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
2677
2727
|
return v_error === undefined ? null : v_error;
|
|
2678
2728
|
}
|
|
2679
2729
|
|
|
2680
|
-
function validate$
|
|
2730
|
+
function validate$N(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
2681
2731
|
const v_error = (() => {
|
|
2682
2732
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2683
2733
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2754,7 +2804,7 @@ function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2754
2804
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2755
2805
|
const obj_filters_item = obj_filters[i];
|
|
2756
2806
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2757
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2807
|
+
const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
|
|
2758
2808
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2759
2809
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2760
2810
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2783,6 +2833,13 @@ function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2783
2833
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
2784
2834
|
}
|
|
2785
2835
|
}
|
|
2836
|
+
if (obj.sentiment !== undefined) {
|
|
2837
|
+
const obj_sentiment = obj.sentiment;
|
|
2838
|
+
const path_sentiment = path + '.sentiment';
|
|
2839
|
+
if (typeof obj_sentiment !== 'string') {
|
|
2840
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2786
2843
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
2787
2844
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
2788
2845
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -2815,7 +2872,7 @@ function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
2815
2872
|
return v_error === undefined ? null : v_error;
|
|
2816
2873
|
}
|
|
2817
2874
|
|
|
2818
|
-
function validate$
|
|
2875
|
+
function validate$M(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
2819
2876
|
const v_error = (() => {
|
|
2820
2877
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2821
2878
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2894,7 +2951,7 @@ function validate$G(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
2894
2951
|
return v_error === undefined ? null : v_error;
|
|
2895
2952
|
}
|
|
2896
2953
|
|
|
2897
|
-
function validate$
|
|
2954
|
+
function validate$L(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
2898
2955
|
const v_error = (() => {
|
|
2899
2956
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2900
2957
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2976,6 +3033,13 @@ function validate$F(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
2976
3033
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
2977
3034
|
}
|
|
2978
3035
|
}
|
|
3036
|
+
if (obj.sentiment !== undefined) {
|
|
3037
|
+
const obj_sentiment = obj.sentiment;
|
|
3038
|
+
const path_sentiment = path + '.sentiment';
|
|
3039
|
+
if (typeof obj_sentiment !== 'string') {
|
|
3040
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
2979
3043
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
2980
3044
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
2981
3045
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -2994,7 +3058,7 @@ function validate$F(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
2994
3058
|
return v_error === undefined ? null : v_error;
|
|
2995
3059
|
}
|
|
2996
3060
|
|
|
2997
|
-
function validate$
|
|
3061
|
+
function validate$K(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
2998
3062
|
const v_error = (() => {
|
|
2999
3063
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3000
3064
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3043,7 +3107,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3043
3107
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3044
3108
|
const obj_filters_item = obj_filters[i];
|
|
3045
3109
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3046
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3110
|
+
const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
|
|
3047
3111
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3048
3112
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3049
3113
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3074,7 +3138,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3074
3138
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
3075
3139
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
3076
3140
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
3077
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
3141
|
+
const referencepath_semanticDimensions_itemValidationError = validate$M(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
3078
3142
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
3079
3143
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
3080
3144
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3091,7 +3155,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3091
3155
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
3092
3156
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
3093
3157
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
3094
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
3158
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$L(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
3095
3159
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
3096
3160
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
3097
3161
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3110,7 +3174,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
3110
3174
|
return v_error === undefined ? null : v_error;
|
|
3111
3175
|
}
|
|
3112
3176
|
|
|
3113
|
-
function validate$
|
|
3177
|
+
function validate$J(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
3114
3178
|
const v_error = (() => {
|
|
3115
3179
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3116
3180
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3122,7 +3186,7 @@ function validate$D(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
3122
3186
|
return v_error === undefined ? null : v_error;
|
|
3123
3187
|
}
|
|
3124
3188
|
|
|
3125
|
-
function validate$
|
|
3189
|
+
function validate$I(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
3126
3190
|
const v_error = (() => {
|
|
3127
3191
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3128
3192
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3152,7 +3216,7 @@ function validate$C(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
3152
3216
|
return v_error === undefined ? null : v_error;
|
|
3153
3217
|
}
|
|
3154
3218
|
|
|
3155
|
-
function validate$
|
|
3219
|
+
function validate$H(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
3156
3220
|
const v_error = (() => {
|
|
3157
3221
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3158
3222
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3166,7 +3230,7 @@ function validate$B(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3166
3230
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
3167
3231
|
const obj_groups_item = obj_groups[i];
|
|
3168
3232
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
3169
|
-
const referencepath_groups_itemValidationError = validate$
|
|
3233
|
+
const referencepath_groups_itemValidationError = validate$I(obj_groups_item, path_groups_item);
|
|
3170
3234
|
if (referencepath_groups_itemValidationError !== null) {
|
|
3171
3235
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
3172
3236
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3185,7 +3249,7 @@ function validate$B(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
3185
3249
|
return v_error === undefined ? null : v_error;
|
|
3186
3250
|
}
|
|
3187
3251
|
|
|
3188
|
-
function validate$
|
|
3252
|
+
function validate$G(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
3189
3253
|
const v_error = (() => {
|
|
3190
3254
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3191
3255
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3193,7 +3257,7 @@ function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3193
3257
|
if (obj.binDimension !== undefined) {
|
|
3194
3258
|
const obj_binDimension = obj.binDimension;
|
|
3195
3259
|
const path_binDimension = path + '.binDimension';
|
|
3196
|
-
const referencepath_binDimensionValidationError = validate$
|
|
3260
|
+
const referencepath_binDimensionValidationError = validate$J(obj_binDimension, path_binDimension);
|
|
3197
3261
|
if (referencepath_binDimensionValidationError !== null) {
|
|
3198
3262
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
3199
3263
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3203,7 +3267,7 @@ function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3203
3267
|
if (obj.groupDimension !== undefined) {
|
|
3204
3268
|
const obj_groupDimension = obj.groupDimension;
|
|
3205
3269
|
const path_groupDimension = path + '.groupDimension';
|
|
3206
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
3270
|
+
const referencepath_groupDimensionValidationError = validate$H(obj_groupDimension, path_groupDimension);
|
|
3207
3271
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
3208
3272
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
3209
3273
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3214,7 +3278,7 @@ function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
3214
3278
|
return v_error === undefined ? null : v_error;
|
|
3215
3279
|
}
|
|
3216
3280
|
|
|
3217
|
-
function validate$
|
|
3281
|
+
function validate$F(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
3218
3282
|
const v_error = (() => {
|
|
3219
3283
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3220
3284
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3237,7 +3301,7 @@ function validate$z(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
3237
3301
|
return v_error === undefined ? null : v_error;
|
|
3238
3302
|
}
|
|
3239
3303
|
|
|
3240
|
-
function validate$
|
|
3304
|
+
function validate$E(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
3241
3305
|
const v_error = (() => {
|
|
3242
3306
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3243
3307
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3252,7 +3316,7 @@ function validate$y(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3252
3316
|
if (obj.tableFieldReference !== undefined) {
|
|
3253
3317
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
3254
3318
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
3255
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
3319
|
+
const referencepath_tableFieldReferenceValidationError = validate$F(obj_tableFieldReference, path_tableFieldReference);
|
|
3256
3320
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
3257
3321
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
3258
3322
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3263,7 +3327,7 @@ function validate$y(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
3263
3327
|
return v_error === undefined ? null : v_error;
|
|
3264
3328
|
}
|
|
3265
3329
|
|
|
3266
|
-
function validate$
|
|
3330
|
+
function validate$D(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
3267
3331
|
const v_error = (() => {
|
|
3268
3332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3269
3333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3278,7 +3342,7 @@ function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3278
3342
|
if (obj.configuration !== undefined) {
|
|
3279
3343
|
const obj_configuration = obj.configuration;
|
|
3280
3344
|
const path_configuration = path + '.configuration';
|
|
3281
|
-
const referencepath_configurationValidationError = validate$
|
|
3345
|
+
const referencepath_configurationValidationError = validate$G(obj_configuration, path_configuration);
|
|
3282
3346
|
if (referencepath_configurationValidationError !== null) {
|
|
3283
3347
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
3284
3348
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3295,7 +3359,7 @@ function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3295
3359
|
if (obj.fieldReference !== undefined) {
|
|
3296
3360
|
const obj_fieldReference = obj.fieldReference;
|
|
3297
3361
|
const path_fieldReference = path + '.fieldReference';
|
|
3298
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
3362
|
+
const referencepath_fieldReferenceValidationError = validate$E(obj_fieldReference, path_fieldReference);
|
|
3299
3363
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
3300
3364
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
3301
3365
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3320,7 +3384,7 @@ function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
3320
3384
|
return v_error === undefined ? null : v_error;
|
|
3321
3385
|
}
|
|
3322
3386
|
|
|
3323
|
-
function validate$
|
|
3387
|
+
function validate$C(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
3324
3388
|
const v_error = (() => {
|
|
3325
3389
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3326
3390
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3364,7 +3428,7 @@ function validate$w(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
3364
3428
|
return v_error === undefined ? null : v_error;
|
|
3365
3429
|
}
|
|
3366
3430
|
|
|
3367
|
-
function validate$
|
|
3431
|
+
function validate$B(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
3368
3432
|
const v_error = (() => {
|
|
3369
3433
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3370
3434
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3392,7 +3456,7 @@ function validate$v(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3392
3456
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
3393
3457
|
const obj_criteria_item = obj_criteria[i];
|
|
3394
3458
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
3395
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
3459
|
+
const referencepath_criteria_itemValidationError = validate$C(obj_criteria_item, path_criteria_item);
|
|
3396
3460
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
3397
3461
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
3398
3462
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3453,7 +3517,7 @@ function validate$v(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
3453
3517
|
return v_error === undefined ? null : v_error;
|
|
3454
3518
|
}
|
|
3455
3519
|
|
|
3456
|
-
function validate$
|
|
3520
|
+
function validate$A(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
3457
3521
|
const v_error = (() => {
|
|
3458
3522
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3459
3523
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3481,7 +3545,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3481
3545
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3482
3546
|
const obj_fields_item = obj_fields[i];
|
|
3483
3547
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3484
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3548
|
+
const referencepath_fields_itemValidationError = validate$F(obj_fields_item, path_fields_item);
|
|
3485
3549
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3486
3550
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
3487
3551
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3506,7 +3570,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3506
3570
|
if (obj.semanticDimension !== undefined) {
|
|
3507
3571
|
const obj_semanticDimension = obj.semanticDimension;
|
|
3508
3572
|
const path_semanticDimension = path + '.semanticDimension';
|
|
3509
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
3573
|
+
const referencepath_semanticDimensionValidationError = validate$M(obj_semanticDimension, path_semanticDimension);
|
|
3510
3574
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
3511
3575
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
3512
3576
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3516,7 +3580,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3516
3580
|
if (obj.semanticMeasurement !== undefined) {
|
|
3517
3581
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
3518
3582
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
3519
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
3583
|
+
const referencepath_semanticMeasurementValidationError = validate$L(obj_semanticMeasurement, path_semanticMeasurement);
|
|
3520
3584
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
3521
3585
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
3522
3586
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3527,7 +3591,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
3527
3591
|
return v_error === undefined ? null : v_error;
|
|
3528
3592
|
}
|
|
3529
3593
|
|
|
3530
|
-
function validate$
|
|
3594
|
+
function validate$z(obj, path = 'SemanticUnionInputRepresentation') {
|
|
3531
3595
|
const v_error = (() => {
|
|
3532
3596
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3533
3597
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3562,7 +3626,7 @@ function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3562
3626
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3563
3627
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3564
3628
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3565
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3629
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$K(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3566
3630
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3567
3631
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3568
3632
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3579,7 +3643,7 @@ function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3579
3643
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
3580
3644
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
3581
3645
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
3582
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
3646
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$A(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
3583
3647
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
3584
3648
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
3585
3649
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3591,7 +3655,7 @@ function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
3591
3655
|
return v_error === undefined ? null : v_error;
|
|
3592
3656
|
}
|
|
3593
3657
|
|
|
3594
|
-
function validate$
|
|
3658
|
+
function validate$y(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
3595
3659
|
const v_error = (() => {
|
|
3596
3660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3597
3661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3603,6 +3667,13 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3603
3667
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
3604
3668
|
}
|
|
3605
3669
|
}
|
|
3670
|
+
if (obj.customSql !== undefined) {
|
|
3671
|
+
const obj_customSql = obj.customSql;
|
|
3672
|
+
const path_customSql = path + '.customSql';
|
|
3673
|
+
if (typeof obj_customSql !== 'string') {
|
|
3674
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3606
3677
|
if (obj.description !== undefined) {
|
|
3607
3678
|
const obj_description = obj.description;
|
|
3608
3679
|
const path_description = path + '.description';
|
|
@@ -3626,7 +3697,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3626
3697
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3627
3698
|
const obj_filters_item = obj_filters[i];
|
|
3628
3699
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3629
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3700
|
+
const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
|
|
3630
3701
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3631
3702
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3632
3703
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3650,7 +3721,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3650
3721
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
3651
3722
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
3652
3723
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
3653
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
3724
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$K(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
3654
3725
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
3655
3726
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
3656
3727
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3667,7 +3738,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3667
3738
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
3668
3739
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
3669
3740
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
3670
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
3741
|
+
const referencepath_semanticRelationships_itemValidationError = validate$B(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
3671
3742
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
3672
3743
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
3673
3744
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3684,7 +3755,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3684
3755
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
3685
3756
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
3686
3757
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
3687
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
3758
|
+
const referencepath_semanticUnions_itemValidationError = validate$z(obj_semanticUnions_item, path_semanticUnions_item);
|
|
3688
3759
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
3689
3760
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
3690
3761
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3696,7 +3767,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
3696
3767
|
return v_error === undefined ? null : v_error;
|
|
3697
3768
|
}
|
|
3698
3769
|
|
|
3699
|
-
function validate$
|
|
3770
|
+
function validate$x(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
3700
3771
|
const v_error = (() => {
|
|
3701
3772
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3702
3773
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3704,7 +3775,7 @@ function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3704
3775
|
if (obj.identifierDimensionReference !== undefined) {
|
|
3705
3776
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
3706
3777
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
3707
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
3778
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$E(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
3708
3779
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
3709
3780
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
3710
3781
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3714,7 +3785,7 @@ function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3714
3785
|
if (obj.namingDimensionReference !== undefined) {
|
|
3715
3786
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
3716
3787
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
3717
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
3788
|
+
const referencepath_namingDimensionReferenceValidationError = validate$E(obj_namingDimensionReference, path_namingDimensionReference);
|
|
3718
3789
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
3719
3790
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
3720
3791
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3725,7 +3796,7 @@ function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
3725
3796
|
return v_error === undefined ? null : v_error;
|
|
3726
3797
|
}
|
|
3727
3798
|
|
|
3728
|
-
function validate$
|
|
3799
|
+
function validate$w(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
3729
3800
|
const v_error = (() => {
|
|
3730
3801
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3731
3802
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3748,7 +3819,7 @@ function validate$q(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
3748
3819
|
return v_error === undefined ? null : v_error;
|
|
3749
3820
|
}
|
|
3750
3821
|
|
|
3751
|
-
function validate$
|
|
3822
|
+
function validate$v(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
3752
3823
|
const v_error = (() => {
|
|
3753
3824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3754
3825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3756,7 +3827,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3756
3827
|
if (obj.identifyingDimension !== undefined) {
|
|
3757
3828
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
3758
3829
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
3759
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
3830
|
+
const referencepath_identifyingDimensionValidationError = validate$x(obj_identifyingDimension, path_identifyingDimension);
|
|
3760
3831
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
3761
3832
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
3762
3833
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3772,7 +3843,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3772
3843
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
3773
3844
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
3774
3845
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
3775
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
3846
|
+
const referencepath_insightTypes_itemValidationError = validate$w(obj_insightTypes_item, path_insightTypes_item);
|
|
3776
3847
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
3777
3848
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
3778
3849
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3789,7 +3860,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3789
3860
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
3790
3861
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
3791
3862
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
3792
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
3863
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$E(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
3793
3864
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
3794
3865
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
3795
3866
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3822,7 +3893,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
3822
3893
|
return v_error === undefined ? null : v_error;
|
|
3823
3894
|
}
|
|
3824
3895
|
|
|
3825
|
-
function validate$
|
|
3896
|
+
function validate$u(obj, path = 'SemanticMetricInputRepresentation') {
|
|
3826
3897
|
const v_error = (() => {
|
|
3827
3898
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3828
3899
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3836,7 +3907,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3836
3907
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
3837
3908
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
3838
3909
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
3839
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
3910
|
+
const referencepath_additionalDimensions_itemValidationError = validate$E(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
3840
3911
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
3841
3912
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
3842
3913
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3881,7 +3952,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3881
3952
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3882
3953
|
const obj_filters_item = obj_filters[i];
|
|
3883
3954
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3884
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3955
|
+
const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
|
|
3885
3956
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3886
3957
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
3887
3958
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3892,7 +3963,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3892
3963
|
if (obj.insightsSettings !== undefined) {
|
|
3893
3964
|
const obj_insightsSettings = obj.insightsSettings;
|
|
3894
3965
|
const path_insightsSettings = path + '.insightsSettings';
|
|
3895
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
3966
|
+
const referencepath_insightsSettingsValidationError = validate$v(obj_insightsSettings, path_insightsSettings);
|
|
3896
3967
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
3897
3968
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
3898
3969
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3916,7 +3987,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3916
3987
|
if (obj.measurementReference !== undefined) {
|
|
3917
3988
|
const obj_measurementReference = obj.measurementReference;
|
|
3918
3989
|
const path_measurementReference = path + '.measurementReference';
|
|
3919
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
3990
|
+
const referencepath_measurementReferenceValidationError = validate$E(obj_measurementReference, path_measurementReference);
|
|
3920
3991
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
3921
3992
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
3922
3993
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3926,7 +3997,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3926
3997
|
if (obj.timeDimensionReference !== undefined) {
|
|
3927
3998
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
3928
3999
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
3929
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
4000
|
+
const referencepath_timeDimensionReferenceValidationError = validate$E(obj_timeDimensionReference, path_timeDimensionReference);
|
|
3930
4001
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
3931
4002
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
3932
4003
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3951,7 +4022,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
3951
4022
|
return v_error === undefined ? null : v_error;
|
|
3952
4023
|
}
|
|
3953
4024
|
|
|
3954
|
-
function validate$
|
|
4025
|
+
function validate$t(obj, path = 'SemanticParameterInputRepresentation') {
|
|
3955
4026
|
const v_error = (() => {
|
|
3956
4027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3957
4028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4037,8 +4108,8 @@ function validate$n(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
4037
4108
|
return v_error === undefined ? null : v_error;
|
|
4038
4109
|
}
|
|
4039
4110
|
|
|
4040
|
-
const VERSION$i = "
|
|
4041
|
-
function validate$
|
|
4111
|
+
const VERSION$i = "51514a172af5e420504a2143725b4528";
|
|
4112
|
+
function validate$s(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
4042
4113
|
const v_error = (() => {
|
|
4043
4114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4044
4115
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4055,6 +4126,13 @@ function validate$m(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4055
4126
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4056
4127
|
}
|
|
4057
4128
|
}
|
|
4129
|
+
if (obj.cacheKey !== undefined) {
|
|
4130
|
+
const obj_cacheKey = obj.cacheKey;
|
|
4131
|
+
const path_cacheKey = path + '.cacheKey';
|
|
4132
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
4133
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4058
4136
|
const obj_createdBy = obj.createdBy;
|
|
4059
4137
|
const path_createdBy = path + '.createdBy';
|
|
4060
4138
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -4116,7 +4194,7 @@ function validate$m(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
4116
4194
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4117
4195
|
const obj_filters_item = obj_filters[i];
|
|
4118
4196
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4119
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4197
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
4120
4198
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4121
4199
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4122
4200
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4210,6 +4288,11 @@ const select$s = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
4210
4288
|
kind: 'Scalar',
|
|
4211
4289
|
required: false
|
|
4212
4290
|
},
|
|
4291
|
+
{
|
|
4292
|
+
name: 'cacheKey',
|
|
4293
|
+
kind: 'Scalar',
|
|
4294
|
+
required: false
|
|
4295
|
+
},
|
|
4213
4296
|
{
|
|
4214
4297
|
name: 'createdBy',
|
|
4215
4298
|
kind: 'Scalar'
|
|
@@ -4342,6 +4425,19 @@ function equals$i(existing, incoming) {
|
|
|
4342
4425
|
return false;
|
|
4343
4426
|
}
|
|
4344
4427
|
}
|
|
4428
|
+
const existing_cacheKey = existing.cacheKey;
|
|
4429
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
4430
|
+
// if at least one of these optionals is defined
|
|
4431
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
4432
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4433
|
+
// not equal
|
|
4434
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
4435
|
+
return false;
|
|
4436
|
+
}
|
|
4437
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
4438
|
+
return false;
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4345
4441
|
const existing_createdBy = existing.createdBy;
|
|
4346
4442
|
const incoming_createdBy = incoming.createdBy;
|
|
4347
4443
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -4522,7 +4618,7 @@ function equals$i(existing, incoming) {
|
|
|
4522
4618
|
}
|
|
4523
4619
|
const ingest$d = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4524
4620
|
if (process.env.NODE_ENV !== 'production') {
|
|
4525
|
-
const validateError = validate$
|
|
4621
|
+
const validateError = validate$s(input);
|
|
4526
4622
|
if (validateError !== null) {
|
|
4527
4623
|
throw validateError;
|
|
4528
4624
|
}
|
|
@@ -4542,8 +4638,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4542
4638
|
});
|
|
4543
4639
|
}
|
|
4544
4640
|
|
|
4545
|
-
const VERSION$h = "
|
|
4546
|
-
function validate$
|
|
4641
|
+
const VERSION$h = "6c8d910667cf399d3aa6e5a57e1fdd61";
|
|
4642
|
+
function validate$r(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
4547
4643
|
const v_error = (() => {
|
|
4548
4644
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4549
4645
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4567,6 +4663,13 @@ function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4567
4663
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4568
4664
|
}
|
|
4569
4665
|
}
|
|
4666
|
+
if (obj.cacheKey !== undefined) {
|
|
4667
|
+
const obj_cacheKey = obj.cacheKey;
|
|
4668
|
+
const path_cacheKey = path + '.cacheKey';
|
|
4669
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
4670
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
4671
|
+
}
|
|
4672
|
+
}
|
|
4570
4673
|
const obj_createdBy = obj.createdBy;
|
|
4571
4674
|
const path_createdBy = path + '.createdBy';
|
|
4572
4675
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -4635,7 +4738,7 @@ function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4635
4738
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4636
4739
|
const obj_filters_item = obj_filters[i];
|
|
4637
4740
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4638
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4741
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
4639
4742
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4640
4743
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4641
4744
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4690,6 +4793,13 @@ function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
4690
4793
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
4691
4794
|
}
|
|
4692
4795
|
}
|
|
4796
|
+
if (obj.sentiment !== undefined) {
|
|
4797
|
+
const obj_sentiment = obj.sentiment;
|
|
4798
|
+
const path_sentiment = path + '.sentiment';
|
|
4799
|
+
if (typeof obj_sentiment !== 'string') {
|
|
4800
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4693
4803
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
4694
4804
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
4695
4805
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -4755,6 +4865,11 @@ const select$r = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4755
4865
|
kind: 'Scalar',
|
|
4756
4866
|
required: false
|
|
4757
4867
|
},
|
|
4868
|
+
{
|
|
4869
|
+
name: 'cacheKey',
|
|
4870
|
+
kind: 'Scalar',
|
|
4871
|
+
required: false
|
|
4872
|
+
},
|
|
4758
4873
|
{
|
|
4759
4874
|
name: 'createdBy',
|
|
4760
4875
|
kind: 'Scalar'
|
|
@@ -4839,6 +4954,11 @@ const select$r = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
4839
4954
|
kind: 'Scalar',
|
|
4840
4955
|
required: false
|
|
4841
4956
|
},
|
|
4957
|
+
{
|
|
4958
|
+
name: 'sentiment',
|
|
4959
|
+
kind: 'Scalar',
|
|
4960
|
+
required: false
|
|
4961
|
+
},
|
|
4842
4962
|
{
|
|
4843
4963
|
name: 'shouldTreatNullsAsZeros',
|
|
4844
4964
|
kind: 'Scalar',
|
|
@@ -4946,6 +5066,19 @@ function equals$h(existing, incoming) {
|
|
|
4946
5066
|
return false;
|
|
4947
5067
|
}
|
|
4948
5068
|
}
|
|
5069
|
+
const existing_cacheKey = existing.cacheKey;
|
|
5070
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
5071
|
+
// if at least one of these optionals is defined
|
|
5072
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
5073
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5074
|
+
// not equal
|
|
5075
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
5076
|
+
return false;
|
|
5077
|
+
}
|
|
5078
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
5079
|
+
return false;
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
4949
5082
|
const existing_createdBy = existing.createdBy;
|
|
4950
5083
|
const incoming_createdBy = incoming.createdBy;
|
|
4951
5084
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -5091,6 +5224,19 @@ function equals$h(existing, incoming) {
|
|
|
5091
5224
|
return false;
|
|
5092
5225
|
}
|
|
5093
5226
|
}
|
|
5227
|
+
const existing_sentiment = existing.sentiment;
|
|
5228
|
+
const incoming_sentiment = incoming.sentiment;
|
|
5229
|
+
// if at least one of these optionals is defined
|
|
5230
|
+
if (existing_sentiment !== undefined || incoming_sentiment !== undefined) {
|
|
5231
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5232
|
+
// not equal
|
|
5233
|
+
if (existing_sentiment === undefined || incoming_sentiment === undefined) {
|
|
5234
|
+
return false;
|
|
5235
|
+
}
|
|
5236
|
+
if (!(existing_sentiment === incoming_sentiment)) {
|
|
5237
|
+
return false;
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5094
5240
|
const existing_sortOrder = existing.sortOrder;
|
|
5095
5241
|
const incoming_sortOrder = incoming.sortOrder;
|
|
5096
5242
|
// if at least one of these optionals is defined
|
|
@@ -5152,7 +5298,7 @@ function equals$h(existing, incoming) {
|
|
|
5152
5298
|
}
|
|
5153
5299
|
const ingest$c = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5154
5300
|
if (process.env.NODE_ENV !== 'production') {
|
|
5155
|
-
const validateError = validate$
|
|
5301
|
+
const validateError = validate$r(input);
|
|
5156
5302
|
if (validateError !== null) {
|
|
5157
5303
|
throw validateError;
|
|
5158
5304
|
}
|
|
@@ -5172,7 +5318,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5172
5318
|
});
|
|
5173
5319
|
}
|
|
5174
5320
|
|
|
5175
|
-
function validate$
|
|
5321
|
+
function validate$q(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
5176
5322
|
const v_error = (() => {
|
|
5177
5323
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5178
5324
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5189,6 +5335,13 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5189
5335
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5190
5336
|
}
|
|
5191
5337
|
}
|
|
5338
|
+
if (obj.cacheKey !== undefined) {
|
|
5339
|
+
const obj_cacheKey = obj.cacheKey;
|
|
5340
|
+
const path_cacheKey = path + '.cacheKey';
|
|
5341
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
5342
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
5343
|
+
}
|
|
5344
|
+
}
|
|
5192
5345
|
const obj_createdBy = obj.createdBy;
|
|
5193
5346
|
const path_createdBy = path + '.createdBy';
|
|
5194
5347
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5239,6 +5392,20 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5239
5392
|
if (typeof obj_id !== 'string') {
|
|
5240
5393
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5241
5394
|
}
|
|
5395
|
+
if (obj.isKeyQualifier !== undefined) {
|
|
5396
|
+
const obj_isKeyQualifier = obj.isKeyQualifier;
|
|
5397
|
+
const path_isKeyQualifier = path + '.isKeyQualifier';
|
|
5398
|
+
if (typeof obj_isKeyQualifier !== 'boolean') {
|
|
5399
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
|
|
5400
|
+
}
|
|
5401
|
+
}
|
|
5402
|
+
if (obj.isPrimaryKey !== undefined) {
|
|
5403
|
+
const obj_isPrimaryKey = obj.isPrimaryKey;
|
|
5404
|
+
const path_isPrimaryKey = path + '.isPrimaryKey';
|
|
5405
|
+
if (typeof obj_isPrimaryKey !== 'boolean') {
|
|
5406
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
5407
|
+
}
|
|
5408
|
+
}
|
|
5242
5409
|
if (obj.isVisible !== undefined) {
|
|
5243
5410
|
const obj_isVisible = obj.isVisible;
|
|
5244
5411
|
const path_isVisible = path + '.isVisible';
|
|
@@ -5246,6 +5413,13 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5246
5413
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
5247
5414
|
}
|
|
5248
5415
|
}
|
|
5416
|
+
if (obj.keyQualifierName !== undefined) {
|
|
5417
|
+
const obj_keyQualifierName = obj.keyQualifierName;
|
|
5418
|
+
const path_keyQualifierName = path + '.keyQualifierName';
|
|
5419
|
+
if (typeof obj_keyQualifierName !== 'string') {
|
|
5420
|
+
return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
|
|
5421
|
+
}
|
|
5422
|
+
}
|
|
5249
5423
|
if (obj.label !== undefined) {
|
|
5250
5424
|
const obj_label = obj.label;
|
|
5251
5425
|
const path_label = path + '.label';
|
|
@@ -5285,7 +5459,7 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
5285
5459
|
return v_error === undefined ? null : v_error;
|
|
5286
5460
|
}
|
|
5287
5461
|
|
|
5288
|
-
function validate$
|
|
5462
|
+
function validate$p(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
5289
5463
|
const v_error = (() => {
|
|
5290
5464
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5291
5465
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5309,6 +5483,13 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5309
5483
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5310
5484
|
}
|
|
5311
5485
|
}
|
|
5486
|
+
if (obj.cacheKey !== undefined) {
|
|
5487
|
+
const obj_cacheKey = obj.cacheKey;
|
|
5488
|
+
const path_cacheKey = path + '.cacheKey';
|
|
5489
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
5490
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
5491
|
+
}
|
|
5492
|
+
}
|
|
5312
5493
|
const obj_createdBy = obj.createdBy;
|
|
5313
5494
|
const path_createdBy = path + '.createdBy';
|
|
5314
5495
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5373,6 +5554,20 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5373
5554
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
5374
5555
|
}
|
|
5375
5556
|
}
|
|
5557
|
+
if (obj.isKeyQualifier !== undefined) {
|
|
5558
|
+
const obj_isKeyQualifier = obj.isKeyQualifier;
|
|
5559
|
+
const path_isKeyQualifier = path + '.isKeyQualifier';
|
|
5560
|
+
if (typeof obj_isKeyQualifier !== 'boolean') {
|
|
5561
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
|
|
5562
|
+
}
|
|
5563
|
+
}
|
|
5564
|
+
if (obj.isPrimaryKey !== undefined) {
|
|
5565
|
+
const obj_isPrimaryKey = obj.isPrimaryKey;
|
|
5566
|
+
const path_isPrimaryKey = path + '.isPrimaryKey';
|
|
5567
|
+
if (typeof obj_isPrimaryKey !== 'boolean') {
|
|
5568
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
5569
|
+
}
|
|
5570
|
+
}
|
|
5376
5571
|
if (obj.isVisible !== undefined) {
|
|
5377
5572
|
const obj_isVisible = obj.isVisible;
|
|
5378
5573
|
const path_isVisible = path + '.isVisible';
|
|
@@ -5380,6 +5575,13 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5380
5575
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
5381
5576
|
}
|
|
5382
5577
|
}
|
|
5578
|
+
if (obj.keyQualifierName !== undefined) {
|
|
5579
|
+
const obj_keyQualifierName = obj.keyQualifierName;
|
|
5580
|
+
const path_keyQualifierName = path + '.keyQualifierName';
|
|
5581
|
+
if (typeof obj_keyQualifierName !== 'string') {
|
|
5582
|
+
return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5383
5585
|
if (obj.label !== undefined) {
|
|
5384
5586
|
const obj_label = obj.label;
|
|
5385
5587
|
const path_label = path + '.label';
|
|
@@ -5408,6 +5610,13 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5408
5610
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
5409
5611
|
}
|
|
5410
5612
|
}
|
|
5613
|
+
if (obj.sentiment !== undefined) {
|
|
5614
|
+
const obj_sentiment = obj.sentiment;
|
|
5615
|
+
const path_sentiment = path + '.sentiment';
|
|
5616
|
+
if (typeof obj_sentiment !== 'string') {
|
|
5617
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
5618
|
+
}
|
|
5619
|
+
}
|
|
5411
5620
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
5412
5621
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
5413
5622
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -5426,8 +5635,8 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
5426
5635
|
return v_error === undefined ? null : v_error;
|
|
5427
5636
|
}
|
|
5428
5637
|
|
|
5429
|
-
const VERSION$g = "
|
|
5430
|
-
function validate$
|
|
5638
|
+
const VERSION$g = "4f111b93807b811179eb310384efdc35";
|
|
5639
|
+
function validate$o(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
5431
5640
|
const v_error = (() => {
|
|
5432
5641
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5433
5642
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5444,6 +5653,13 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5444
5653
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5445
5654
|
}
|
|
5446
5655
|
}
|
|
5656
|
+
if (obj.cacheKey !== undefined) {
|
|
5657
|
+
const obj_cacheKey = obj.cacheKey;
|
|
5658
|
+
const path_cacheKey = path + '.cacheKey';
|
|
5659
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
5660
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
5661
|
+
}
|
|
5662
|
+
}
|
|
5447
5663
|
const obj_createdBy = obj.createdBy;
|
|
5448
5664
|
const path_createdBy = path + '.createdBy';
|
|
5449
5665
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5491,7 +5707,7 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5491
5707
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
5492
5708
|
const obj_filters_item = obj_filters[i];
|
|
5493
5709
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
5494
|
-
const referencepath_filters_itemValidationError = validate$
|
|
5710
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
5495
5711
|
if (referencepath_filters_itemValidationError !== null) {
|
|
5496
5712
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
5497
5713
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5541,7 +5757,7 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5541
5757
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
5542
5758
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
5543
5759
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
5544
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
5760
|
+
const referencepath_semanticDimensions_itemValidationError = validate$q(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
5545
5761
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
5546
5762
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
5547
5763
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5565,7 +5781,7 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
5565
5781
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
5566
5782
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
5567
5783
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
5568
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
5784
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$p(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
5569
5785
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
5570
5786
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
5571
5787
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5619,7 +5835,7 @@ function equals$g(existing, incoming) {
|
|
|
5619
5835
|
}
|
|
5620
5836
|
const ingest$b = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5621
5837
|
if (process.env.NODE_ENV !== 'production') {
|
|
5622
|
-
const validateError = validate$
|
|
5838
|
+
const validateError = validate$o(input);
|
|
5623
5839
|
if (validateError !== null) {
|
|
5624
5840
|
throw validateError;
|
|
5625
5841
|
}
|
|
@@ -5640,7 +5856,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5640
5856
|
}
|
|
5641
5857
|
|
|
5642
5858
|
const VERSION$f = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
5643
|
-
function validate$
|
|
5859
|
+
function validate$n(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
5644
5860
|
const v_error = (() => {
|
|
5645
5861
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5646
5862
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5672,7 +5888,7 @@ function equals$f(existing, incoming) {
|
|
|
5672
5888
|
}
|
|
5673
5889
|
|
|
5674
5890
|
const VERSION$e = "2cdadcd630abb7b981b2d131880a68c0";
|
|
5675
|
-
function validate$
|
|
5891
|
+
function validate$m(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
5676
5892
|
const v_error = (() => {
|
|
5677
5893
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5678
5894
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5746,7 +5962,7 @@ function equals$e(existing, incoming) {
|
|
|
5746
5962
|
}
|
|
5747
5963
|
|
|
5748
5964
|
const VERSION$d = "55c60b6207985632192cb4e419822a86";
|
|
5749
|
-
function validate$
|
|
5965
|
+
function validate$l(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
5750
5966
|
const v_error = (() => {
|
|
5751
5967
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5752
5968
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5760,7 +5976,7 @@ function validate$f(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
5760
5976
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
5761
5977
|
const obj_groups_item = obj_groups[i];
|
|
5762
5978
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
5763
|
-
const referencepath_groups_itemValidationError = validate$
|
|
5979
|
+
const referencepath_groups_itemValidationError = validate$m(obj_groups_item, path_groups_item);
|
|
5764
5980
|
if (referencepath_groups_itemValidationError !== null) {
|
|
5765
5981
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
5766
5982
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5836,7 +6052,7 @@ function equals$d(existing, incoming) {
|
|
|
5836
6052
|
}
|
|
5837
6053
|
|
|
5838
6054
|
const VERSION$c = "50dc390b159159afb1945b9a811c9f80";
|
|
5839
|
-
function validate$
|
|
6055
|
+
function validate$k(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
5840
6056
|
const v_error = (() => {
|
|
5841
6057
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5842
6058
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5844,7 +6060,7 @@ function validate$e(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5844
6060
|
if (obj.binDimension !== undefined) {
|
|
5845
6061
|
const obj_binDimension = obj.binDimension;
|
|
5846
6062
|
const path_binDimension = path + '.binDimension';
|
|
5847
|
-
const referencepath_binDimensionValidationError = validate$
|
|
6063
|
+
const referencepath_binDimensionValidationError = validate$n(obj_binDimension, path_binDimension);
|
|
5848
6064
|
if (referencepath_binDimensionValidationError !== null) {
|
|
5849
6065
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
5850
6066
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5854,7 +6070,7 @@ function validate$e(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
5854
6070
|
if (obj.groupDimension !== undefined) {
|
|
5855
6071
|
const obj_groupDimension = obj.groupDimension;
|
|
5856
6072
|
const path_groupDimension = path + '.groupDimension';
|
|
5857
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
6073
|
+
const referencepath_groupDimensionValidationError = validate$l(obj_groupDimension, path_groupDimension);
|
|
5858
6074
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
5859
6075
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
5860
6076
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5917,8 +6133,8 @@ function equals$c(existing, incoming) {
|
|
|
5917
6133
|
return true;
|
|
5918
6134
|
}
|
|
5919
6135
|
|
|
5920
|
-
const VERSION$b = "
|
|
5921
|
-
function validate$
|
|
6136
|
+
const VERSION$b = "1daec40706bf767c719fa58831fad462";
|
|
6137
|
+
function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
5922
6138
|
const v_error = (() => {
|
|
5923
6139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5924
6140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5935,9 +6151,16 @@ function validate$d(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5935
6151
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5936
6152
|
}
|
|
5937
6153
|
}
|
|
6154
|
+
if (obj.cacheKey !== undefined) {
|
|
6155
|
+
const obj_cacheKey = obj.cacheKey;
|
|
6156
|
+
const path_cacheKey = path + '.cacheKey';
|
|
6157
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
6158
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
6159
|
+
}
|
|
6160
|
+
}
|
|
5938
6161
|
const obj_configuration = obj.configuration;
|
|
5939
6162
|
const path_configuration = path + '.configuration';
|
|
5940
|
-
const referencepath_configurationValidationError = validate$
|
|
6163
|
+
const referencepath_configurationValidationError = validate$k(obj_configuration, path_configuration);
|
|
5941
6164
|
if (referencepath_configurationValidationError !== null) {
|
|
5942
6165
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
5943
6166
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5962,7 +6185,7 @@ function validate$d(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
5962
6185
|
}
|
|
5963
6186
|
const obj_fieldReference = obj.fieldReference;
|
|
5964
6187
|
const path_fieldReference = path + '.fieldReference';
|
|
5965
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
6188
|
+
const referencepath_fieldReferenceValidationError = validate$_(obj_fieldReference, path_fieldReference);
|
|
5966
6189
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
5967
6190
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
5968
6191
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6032,6 +6255,11 @@ const select$l = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
6032
6255
|
kind: 'Scalar',
|
|
6033
6256
|
required: false
|
|
6034
6257
|
},
|
|
6258
|
+
{
|
|
6259
|
+
name: 'cacheKey',
|
|
6260
|
+
kind: 'Scalar',
|
|
6261
|
+
required: false
|
|
6262
|
+
},
|
|
6035
6263
|
{
|
|
6036
6264
|
name: 'configuration',
|
|
6037
6265
|
kind: 'Object',
|
|
@@ -6100,6 +6328,19 @@ function equals$b(existing, incoming) {
|
|
|
6100
6328
|
return false;
|
|
6101
6329
|
}
|
|
6102
6330
|
}
|
|
6331
|
+
const existing_cacheKey = existing.cacheKey;
|
|
6332
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
6333
|
+
// if at least one of these optionals is defined
|
|
6334
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
6335
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6336
|
+
// not equal
|
|
6337
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
6338
|
+
return false;
|
|
6339
|
+
}
|
|
6340
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
6341
|
+
return false;
|
|
6342
|
+
}
|
|
6343
|
+
}
|
|
6103
6344
|
const existing_createdBy = existing.createdBy;
|
|
6104
6345
|
const incoming_createdBy = incoming.createdBy;
|
|
6105
6346
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -6186,7 +6427,7 @@ function equals$b(existing, incoming) {
|
|
|
6186
6427
|
}
|
|
6187
6428
|
const ingest$a = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6188
6429
|
if (process.env.NODE_ENV !== 'production') {
|
|
6189
|
-
const validateError = validate$
|
|
6430
|
+
const validateError = validate$j(input);
|
|
6190
6431
|
if (validateError !== null) {
|
|
6191
6432
|
throw validateError;
|
|
6192
6433
|
}
|
|
@@ -6207,7 +6448,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6207
6448
|
}
|
|
6208
6449
|
|
|
6209
6450
|
const VERSION$a = "c5144c317ac72b60d580cab803514b8d";
|
|
6210
|
-
function validate$
|
|
6451
|
+
function validate$i(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
6211
6452
|
const v_error = (() => {
|
|
6212
6453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6213
6454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6353,8 +6594,8 @@ function equals$a(existing, incoming) {
|
|
|
6353
6594
|
return true;
|
|
6354
6595
|
}
|
|
6355
6596
|
|
|
6356
|
-
const VERSION$9 = "
|
|
6357
|
-
function validate$
|
|
6597
|
+
const VERSION$9 = "b9778dace5726fcb57804d3afd529246";
|
|
6598
|
+
function validate$h(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
6358
6599
|
const v_error = (() => {
|
|
6359
6600
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6360
6601
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6371,6 +6612,13 @@ function validate$b(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6371
6612
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
6372
6613
|
}
|
|
6373
6614
|
}
|
|
6615
|
+
if (obj.cacheKey !== undefined) {
|
|
6616
|
+
const obj_cacheKey = obj.cacheKey;
|
|
6617
|
+
const path_cacheKey = path + '.cacheKey';
|
|
6618
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
6619
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6374
6622
|
if (obj.cardinality !== undefined) {
|
|
6375
6623
|
const obj_cardinality = obj.cardinality;
|
|
6376
6624
|
const path_cardinality = path + '.cardinality';
|
|
@@ -6397,7 +6645,7 @@ function validate$b(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
6397
6645
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
6398
6646
|
const obj_criteria_item = obj_criteria[i];
|
|
6399
6647
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
6400
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
6648
|
+
const referencepath_criteria_itemValidationError = validate$i(obj_criteria_item, path_criteria_item);
|
|
6401
6649
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
6402
6650
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
6403
6651
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6505,6 +6753,11 @@ const select$j = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
6505
6753
|
kind: 'Scalar',
|
|
6506
6754
|
required: false
|
|
6507
6755
|
},
|
|
6756
|
+
{
|
|
6757
|
+
name: 'cacheKey',
|
|
6758
|
+
kind: 'Scalar',
|
|
6759
|
+
required: false
|
|
6760
|
+
},
|
|
6508
6761
|
{
|
|
6509
6762
|
name: 'cardinality',
|
|
6510
6763
|
kind: 'Scalar',
|
|
@@ -6609,6 +6862,19 @@ function equals$9(existing, incoming) {
|
|
|
6609
6862
|
return false;
|
|
6610
6863
|
}
|
|
6611
6864
|
}
|
|
6865
|
+
const existing_cacheKey = existing.cacheKey;
|
|
6866
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
6867
|
+
// if at least one of these optionals is defined
|
|
6868
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
6869
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6870
|
+
// not equal
|
|
6871
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
6872
|
+
return false;
|
|
6873
|
+
}
|
|
6874
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
6875
|
+
return false;
|
|
6876
|
+
}
|
|
6877
|
+
}
|
|
6612
6878
|
const existing_cardinality = existing.cardinality;
|
|
6613
6879
|
const incoming_cardinality = incoming.cardinality;
|
|
6614
6880
|
// if at least one of these optionals is defined
|
|
@@ -6763,7 +7029,7 @@ function equals$9(existing, incoming) {
|
|
|
6763
7029
|
}
|
|
6764
7030
|
const ingest$9 = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6765
7031
|
if (process.env.NODE_ENV !== 'production') {
|
|
6766
|
-
const validateError = validate$
|
|
7032
|
+
const validateError = validate$h(input);
|
|
6767
7033
|
if (validateError !== null) {
|
|
6768
7034
|
throw validateError;
|
|
6769
7035
|
}
|
|
@@ -6783,8 +7049,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6783
7049
|
});
|
|
6784
7050
|
}
|
|
6785
7051
|
|
|
6786
|
-
const VERSION$8 = "
|
|
6787
|
-
function validate$
|
|
7052
|
+
const VERSION$8 = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
7053
|
+
function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
6788
7054
|
const v_error = (() => {
|
|
6789
7055
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6790
7056
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6801,6 +7067,13 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6801
7067
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
6802
7068
|
}
|
|
6803
7069
|
}
|
|
7070
|
+
if (obj.cacheKey !== undefined) {
|
|
7071
|
+
const obj_cacheKey = obj.cacheKey;
|
|
7072
|
+
const path_cacheKey = path + '.cacheKey';
|
|
7073
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
7074
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
7075
|
+
}
|
|
7076
|
+
}
|
|
6804
7077
|
const obj_createdBy = obj.createdBy;
|
|
6805
7078
|
const path_createdBy = path + '.createdBy';
|
|
6806
7079
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -6827,7 +7100,7 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6827
7100
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
6828
7101
|
const obj_fields_item = obj_fields[i];
|
|
6829
7102
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
6830
|
-
const referencepath_fields_itemValidationError = validate
|
|
7103
|
+
const referencepath_fields_itemValidationError = validate$$(obj_fields_item, path_fields_item);
|
|
6831
7104
|
if (referencepath_fields_itemValidationError !== null) {
|
|
6832
7105
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
6833
7106
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6871,7 +7144,7 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6871
7144
|
if (obj.semanticDimension !== undefined) {
|
|
6872
7145
|
const obj_semanticDimension = obj.semanticDimension;
|
|
6873
7146
|
const path_semanticDimension = path + '.semanticDimension';
|
|
6874
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
7147
|
+
const referencepath_semanticDimensionValidationError = validate$q(obj_semanticDimension, path_semanticDimension);
|
|
6875
7148
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
6876
7149
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
6877
7150
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6881,7 +7154,7 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
6881
7154
|
if (obj.semanticMeasurement !== undefined) {
|
|
6882
7155
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
6883
7156
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
6884
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
7157
|
+
const referencepath_semanticMeasurementValidationError = validate$p(obj_semanticMeasurement, path_semanticMeasurement);
|
|
6885
7158
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
6886
7159
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
6887
7160
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6920,7 +7193,7 @@ function equals$8(existing, incoming) {
|
|
|
6920
7193
|
}
|
|
6921
7194
|
const ingest$8 = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6922
7195
|
if (process.env.NODE_ENV !== 'production') {
|
|
6923
|
-
const validateError = validate$
|
|
7196
|
+
const validateError = validate$g(input);
|
|
6924
7197
|
if (validateError !== null) {
|
|
6925
7198
|
throw validateError;
|
|
6926
7199
|
}
|
|
@@ -6940,8 +7213,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6940
7213
|
});
|
|
6941
7214
|
}
|
|
6942
7215
|
|
|
6943
|
-
const VERSION$7 = "
|
|
6944
|
-
function validate$
|
|
7216
|
+
const VERSION$7 = "69fe23112140e9fae50135dcb15c24c2";
|
|
7217
|
+
function validate$f(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
6945
7218
|
const v_error = (() => {
|
|
6946
7219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6947
7220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6958,6 +7231,13 @@ function validate$9(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
6958
7231
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
6959
7232
|
}
|
|
6960
7233
|
}
|
|
7234
|
+
if (obj.cacheKey !== undefined) {
|
|
7235
|
+
const obj_cacheKey = obj.cacheKey;
|
|
7236
|
+
const path_cacheKey = path + '.cacheKey';
|
|
7237
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
7238
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
7239
|
+
}
|
|
7240
|
+
}
|
|
6961
7241
|
const obj_createdBy = obj.createdBy;
|
|
6962
7242
|
const path_createdBy = path + '.createdBy';
|
|
6963
7243
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7124,6 +7404,11 @@ const select$h = function SemanticUnionOutputRepresentationSelect() {
|
|
|
7124
7404
|
kind: 'Scalar',
|
|
7125
7405
|
required: false
|
|
7126
7406
|
},
|
|
7407
|
+
{
|
|
7408
|
+
name: 'cacheKey',
|
|
7409
|
+
kind: 'Scalar',
|
|
7410
|
+
required: false
|
|
7411
|
+
},
|
|
7127
7412
|
{
|
|
7128
7413
|
name: 'createdBy',
|
|
7129
7414
|
kind: 'Scalar'
|
|
@@ -7197,6 +7482,19 @@ function equals$7(existing, incoming) {
|
|
|
7197
7482
|
return false;
|
|
7198
7483
|
}
|
|
7199
7484
|
}
|
|
7485
|
+
const existing_cacheKey = existing.cacheKey;
|
|
7486
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
7487
|
+
// if at least one of these optionals is defined
|
|
7488
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
7489
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7490
|
+
// not equal
|
|
7491
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
7492
|
+
return false;
|
|
7493
|
+
}
|
|
7494
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
7495
|
+
return false;
|
|
7496
|
+
}
|
|
7497
|
+
}
|
|
7200
7498
|
const existing_createdBy = existing.createdBy;
|
|
7201
7499
|
const incoming_createdBy = incoming.createdBy;
|
|
7202
7500
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -7317,7 +7615,7 @@ function equals$7(existing, incoming) {
|
|
|
7317
7615
|
}
|
|
7318
7616
|
const ingest$7 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7319
7617
|
if (process.env.NODE_ENV !== 'production') {
|
|
7320
|
-
const validateError = validate$
|
|
7618
|
+
const validateError = validate$f(input);
|
|
7321
7619
|
if (validateError !== null) {
|
|
7322
7620
|
throw validateError;
|
|
7323
7621
|
}
|
|
@@ -7349,8 +7647,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7349
7647
|
}
|
|
7350
7648
|
}
|
|
7351
7649
|
|
|
7352
|
-
const VERSION$6 = "
|
|
7353
|
-
function validate$
|
|
7650
|
+
const VERSION$6 = "281e0163ea1fc7d956974394f5310216";
|
|
7651
|
+
function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
7354
7652
|
const v_error = (() => {
|
|
7355
7653
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7356
7654
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7367,6 +7665,13 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7367
7665
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
7368
7666
|
}
|
|
7369
7667
|
}
|
|
7668
|
+
if (obj.cacheKey !== undefined) {
|
|
7669
|
+
const obj_cacheKey = obj.cacheKey;
|
|
7670
|
+
const path_cacheKey = path + '.cacheKey';
|
|
7671
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
7672
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
7673
|
+
}
|
|
7674
|
+
}
|
|
7370
7675
|
const obj_createdBy = obj.createdBy;
|
|
7371
7676
|
const path_createdBy = path + '.createdBy';
|
|
7372
7677
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7377,6 +7682,13 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7377
7682
|
if (typeof obj_createdDate !== 'string') {
|
|
7378
7683
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
7379
7684
|
}
|
|
7685
|
+
if (obj.customSql !== undefined) {
|
|
7686
|
+
const obj_customSql = obj.customSql;
|
|
7687
|
+
const path_customSql = path + '.customSql';
|
|
7688
|
+
if (typeof obj_customSql !== 'string') {
|
|
7689
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
|
|
7690
|
+
}
|
|
7691
|
+
}
|
|
7380
7692
|
if (obj.description !== undefined) {
|
|
7381
7693
|
const obj_description = obj.description;
|
|
7382
7694
|
const path_description = path + '.description';
|
|
@@ -7400,7 +7712,7 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7400
7712
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7401
7713
|
const obj_filters_item = obj_filters[i];
|
|
7402
7714
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7403
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7715
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
7404
7716
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7405
7717
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7406
7718
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7476,6 +7788,13 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
7476
7788
|
}
|
|
7477
7789
|
}
|
|
7478
7790
|
}
|
|
7791
|
+
if (obj.semanticViewTypeEnum !== undefined) {
|
|
7792
|
+
const obj_semanticViewTypeEnum = obj.semanticViewTypeEnum;
|
|
7793
|
+
const path_semanticViewTypeEnum = path + '.semanticViewTypeEnum';
|
|
7794
|
+
if (typeof obj_semanticViewTypeEnum !== 'string') {
|
|
7795
|
+
return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
|
|
7796
|
+
}
|
|
7797
|
+
}
|
|
7479
7798
|
})();
|
|
7480
7799
|
return v_error === undefined ? null : v_error;
|
|
7481
7800
|
}
|
|
@@ -7562,6 +7881,11 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7562
7881
|
kind: 'Scalar',
|
|
7563
7882
|
required: false
|
|
7564
7883
|
},
|
|
7884
|
+
{
|
|
7885
|
+
name: 'cacheKey',
|
|
7886
|
+
kind: 'Scalar',
|
|
7887
|
+
required: false
|
|
7888
|
+
},
|
|
7565
7889
|
{
|
|
7566
7890
|
name: 'createdBy',
|
|
7567
7891
|
kind: 'Scalar'
|
|
@@ -7570,6 +7894,11 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7570
7894
|
name: 'createdDate',
|
|
7571
7895
|
kind: 'Scalar'
|
|
7572
7896
|
},
|
|
7897
|
+
{
|
|
7898
|
+
name: 'customSql',
|
|
7899
|
+
kind: 'Scalar',
|
|
7900
|
+
required: false
|
|
7901
|
+
},
|
|
7573
7902
|
{
|
|
7574
7903
|
name: 'description',
|
|
7575
7904
|
kind: 'Scalar',
|
|
@@ -7626,6 +7955,11 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
7626
7955
|
plural: true,
|
|
7627
7956
|
required: false,
|
|
7628
7957
|
fragment: select$h()
|
|
7958
|
+
},
|
|
7959
|
+
{
|
|
7960
|
+
name: 'semanticViewTypeEnum',
|
|
7961
|
+
kind: 'Scalar',
|
|
7962
|
+
required: false
|
|
7629
7963
|
}
|
|
7630
7964
|
]
|
|
7631
7965
|
};
|
|
@@ -7649,6 +7983,19 @@ function equals$6(existing, incoming) {
|
|
|
7649
7983
|
return false;
|
|
7650
7984
|
}
|
|
7651
7985
|
}
|
|
7986
|
+
const existing_cacheKey = existing.cacheKey;
|
|
7987
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
7988
|
+
// if at least one of these optionals is defined
|
|
7989
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
7990
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7991
|
+
// not equal
|
|
7992
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
7993
|
+
return false;
|
|
7994
|
+
}
|
|
7995
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
7996
|
+
return false;
|
|
7997
|
+
}
|
|
7998
|
+
}
|
|
7652
7999
|
const existing_createdBy = existing.createdBy;
|
|
7653
8000
|
const incoming_createdBy = incoming.createdBy;
|
|
7654
8001
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -7659,6 +8006,19 @@ function equals$6(existing, incoming) {
|
|
|
7659
8006
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
7660
8007
|
return false;
|
|
7661
8008
|
}
|
|
8009
|
+
const existing_customSql = existing.customSql;
|
|
8010
|
+
const incoming_customSql = incoming.customSql;
|
|
8011
|
+
// if at least one of these optionals is defined
|
|
8012
|
+
if (existing_customSql !== undefined || incoming_customSql !== undefined) {
|
|
8013
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8014
|
+
// not equal
|
|
8015
|
+
if (existing_customSql === undefined || incoming_customSql === undefined) {
|
|
8016
|
+
return false;
|
|
8017
|
+
}
|
|
8018
|
+
if (!(existing_customSql === incoming_customSql)) {
|
|
8019
|
+
return false;
|
|
8020
|
+
}
|
|
8021
|
+
}
|
|
7662
8022
|
const existing_description = existing.description;
|
|
7663
8023
|
const incoming_description = incoming.description;
|
|
7664
8024
|
// if at least one of these optionals is defined
|
|
@@ -7729,6 +8089,19 @@ function equals$6(existing, incoming) {
|
|
|
7729
8089
|
return false;
|
|
7730
8090
|
}
|
|
7731
8091
|
}
|
|
8092
|
+
const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
|
|
8093
|
+
const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
|
|
8094
|
+
// if at least one of these optionals is defined
|
|
8095
|
+
if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
|
|
8096
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8097
|
+
// not equal
|
|
8098
|
+
if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
|
|
8099
|
+
return false;
|
|
8100
|
+
}
|
|
8101
|
+
if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
|
|
8102
|
+
return false;
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
7732
8105
|
const existing_filters = existing.filters;
|
|
7733
8106
|
const incoming_filters = incoming.filters;
|
|
7734
8107
|
// if at least one of these optionals is defined
|
|
@@ -7805,7 +8178,7 @@ function equals$6(existing, incoming) {
|
|
|
7805
8178
|
}
|
|
7806
8179
|
const ingest$6 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7807
8180
|
if (process.env.NODE_ENV !== 'production') {
|
|
7808
|
-
const validateError = validate$
|
|
8181
|
+
const validateError = validate$e(input);
|
|
7809
8182
|
if (validateError !== null) {
|
|
7810
8183
|
throw validateError;
|
|
7811
8184
|
}
|
|
@@ -7843,8 +8216,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7843
8216
|
}
|
|
7844
8217
|
}
|
|
7845
8218
|
|
|
7846
|
-
const VERSION$5 = "
|
|
7847
|
-
function validate$
|
|
8219
|
+
const VERSION$5 = "562f9618d0de907973cf252f01ea567d";
|
|
8220
|
+
function validate$d(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
7848
8221
|
const v_error = (() => {
|
|
7849
8222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7850
8223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7861,6 +8234,13 @@ function validate$7(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
7861
8234
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
7862
8235
|
}
|
|
7863
8236
|
}
|
|
8237
|
+
if (obj.cacheKey !== undefined) {
|
|
8238
|
+
const obj_cacheKey = obj.cacheKey;
|
|
8239
|
+
const path_cacheKey = path + '.cacheKey';
|
|
8240
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
8241
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
8242
|
+
}
|
|
8243
|
+
}
|
|
7864
8244
|
const obj_createdBy = obj.createdBy;
|
|
7865
8245
|
const path_createdBy = path + '.createdBy';
|
|
7866
8246
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7991,6 +8371,11 @@ const select$f = function SemanticParameterOutputRepresentationSelect() {
|
|
|
7991
8371
|
kind: 'Scalar',
|
|
7992
8372
|
required: false
|
|
7993
8373
|
},
|
|
8374
|
+
{
|
|
8375
|
+
name: 'cacheKey',
|
|
8376
|
+
kind: 'Scalar',
|
|
8377
|
+
required: false
|
|
8378
|
+
},
|
|
7994
8379
|
{
|
|
7995
8380
|
name: 'createdBy',
|
|
7996
8381
|
kind: 'Scalar'
|
|
@@ -8081,6 +8466,19 @@ function equals$5(existing, incoming) {
|
|
|
8081
8466
|
return false;
|
|
8082
8467
|
}
|
|
8083
8468
|
}
|
|
8469
|
+
const existing_cacheKey = existing.cacheKey;
|
|
8470
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
8471
|
+
// if at least one of these optionals is defined
|
|
8472
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
8473
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8474
|
+
// not equal
|
|
8475
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
8476
|
+
return false;
|
|
8477
|
+
}
|
|
8478
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
8479
|
+
return false;
|
|
8480
|
+
}
|
|
8481
|
+
}
|
|
8084
8482
|
const existing_createdBy = existing.createdBy;
|
|
8085
8483
|
const incoming_createdBy = incoming.createdBy;
|
|
8086
8484
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -8248,7 +8646,7 @@ function equals$5(existing, incoming) {
|
|
|
8248
8646
|
}
|
|
8249
8647
|
const ingest$5 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8250
8648
|
if (process.env.NODE_ENV !== 'production') {
|
|
8251
|
-
const validateError = validate$
|
|
8649
|
+
const validateError = validate$d(input);
|
|
8252
8650
|
if (validateError !== null) {
|
|
8253
8651
|
throw validateError;
|
|
8254
8652
|
}
|
|
@@ -8268,8 +8666,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8268
8666
|
});
|
|
8269
8667
|
}
|
|
8270
8668
|
|
|
8271
|
-
const VERSION$4 = "
|
|
8272
|
-
function validate$
|
|
8669
|
+
const VERSION$4 = "5cda82e85d7322d459ba16b10b81ee96";
|
|
8670
|
+
function validate$c(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8273
8671
|
const v_error = (() => {
|
|
8274
8672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8275
8673
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8302,7 +8700,7 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8302
8700
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8303
8701
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8304
8702
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8305
|
-
const referencepath_baseModels_itemValidationError = validate$
|
|
8703
|
+
const referencepath_baseModels_itemValidationError = validate$T(obj_baseModels_item, path_baseModels_item);
|
|
8306
8704
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8307
8705
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8308
8706
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8310,6 +8708,13 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8310
8708
|
}
|
|
8311
8709
|
}
|
|
8312
8710
|
}
|
|
8711
|
+
if (obj.cacheKey !== undefined) {
|
|
8712
|
+
const obj_cacheKey = obj.cacheKey;
|
|
8713
|
+
const path_cacheKey = path + '.cacheKey';
|
|
8714
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
8715
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
8716
|
+
}
|
|
8717
|
+
}
|
|
8313
8718
|
if (obj.categories !== undefined) {
|
|
8314
8719
|
const obj_categories = obj.categories;
|
|
8315
8720
|
const path_categories = path + '.categories';
|
|
@@ -8351,10 +8756,12 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8351
8756
|
if (typeof obj_id !== 'string') {
|
|
8352
8757
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8353
8758
|
}
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8759
|
+
if (obj.isLocked !== undefined) {
|
|
8760
|
+
const obj_isLocked = obj.isLocked;
|
|
8761
|
+
const path_isLocked = path + '.isLocked';
|
|
8762
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
8763
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
8764
|
+
}
|
|
8358
8765
|
}
|
|
8359
8766
|
if (obj.label !== undefined) {
|
|
8360
8767
|
const obj_label = obj.label;
|
|
@@ -8761,6 +9168,11 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
|
|
|
8761
9168
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
8762
9169
|
required: false
|
|
8763
9170
|
},
|
|
9171
|
+
{
|
|
9172
|
+
name: 'cacheKey',
|
|
9173
|
+
kind: 'Scalar',
|
|
9174
|
+
required: false
|
|
9175
|
+
},
|
|
8764
9176
|
{
|
|
8765
9177
|
name: 'categories',
|
|
8766
9178
|
kind: 'Scalar',
|
|
@@ -8790,7 +9202,8 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
|
|
|
8790
9202
|
},
|
|
8791
9203
|
{
|
|
8792
9204
|
name: 'isLocked',
|
|
8793
|
-
kind: 'Scalar'
|
|
9205
|
+
kind: 'Scalar',
|
|
9206
|
+
required: false
|
|
8794
9207
|
},
|
|
8795
9208
|
{
|
|
8796
9209
|
name: 'label',
|
|
@@ -8914,8 +9327,16 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
|
|
|
8914
9327
|
function equals$4(existing, incoming) {
|
|
8915
9328
|
const existing_isLocked = existing.isLocked;
|
|
8916
9329
|
const incoming_isLocked = incoming.isLocked;
|
|
8917
|
-
if
|
|
8918
|
-
|
|
9330
|
+
// if at least one of these optionals is defined
|
|
9331
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
9332
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9333
|
+
// not equal
|
|
9334
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
9335
|
+
return false;
|
|
9336
|
+
}
|
|
9337
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
9338
|
+
return false;
|
|
9339
|
+
}
|
|
8919
9340
|
}
|
|
8920
9341
|
const existing_apiName = existing.apiName;
|
|
8921
9342
|
const incoming_apiName = incoming.apiName;
|
|
@@ -8948,6 +9369,19 @@ function equals$4(existing, incoming) {
|
|
|
8948
9369
|
return false;
|
|
8949
9370
|
}
|
|
8950
9371
|
}
|
|
9372
|
+
const existing_cacheKey = existing.cacheKey;
|
|
9373
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
9374
|
+
// if at least one of these optionals is defined
|
|
9375
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
9376
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9377
|
+
// not equal
|
|
9378
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
9379
|
+
return false;
|
|
9380
|
+
}
|
|
9381
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
9382
|
+
return false;
|
|
9383
|
+
}
|
|
9384
|
+
}
|
|
8951
9385
|
const existing_createdBy = existing.createdBy;
|
|
8952
9386
|
const incoming_createdBy = incoming.createdBy;
|
|
8953
9387
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -9321,7 +9755,7 @@ function equals$4(existing, incoming) {
|
|
|
9321
9755
|
}
|
|
9322
9756
|
const ingest$4 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9323
9757
|
if (process.env.NODE_ENV !== 'production') {
|
|
9324
|
-
const validateError = validate$
|
|
9758
|
+
const validateError = validate$c(input);
|
|
9325
9759
|
if (validateError !== null) {
|
|
9326
9760
|
throw validateError;
|
|
9327
9761
|
}
|
|
@@ -9457,7 +9891,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9457
9891
|
const untrustedConfig_baseModels_array = [];
|
|
9458
9892
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9459
9893
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9460
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
9894
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Q(untrustedConfig_baseModels_item);
|
|
9461
9895
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9462
9896
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9463
9897
|
}
|
|
@@ -9469,7 +9903,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9469
9903
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9470
9904
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9471
9905
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9472
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
9906
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$O(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9473
9907
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9474
9908
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9475
9909
|
}
|
|
@@ -9481,7 +9915,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9481
9915
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9482
9916
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9483
9917
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9484
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
9918
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$N(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9485
9919
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9486
9920
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9487
9921
|
}
|
|
@@ -9493,7 +9927,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9493
9927
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9494
9928
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9495
9929
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9496
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
9930
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$K(untrustedConfig_semanticDataObjects_item);
|
|
9497
9931
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9498
9932
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9499
9933
|
}
|
|
@@ -9505,7 +9939,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9505
9939
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9506
9940
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9507
9941
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9508
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
9942
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$D(untrustedConfig_semanticGroupings_item);
|
|
9509
9943
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9510
9944
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9511
9945
|
}
|
|
@@ -9517,7 +9951,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9517
9951
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9518
9952
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9519
9953
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9520
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
9954
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$y(untrustedConfig_semanticLogicalViews_item);
|
|
9521
9955
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9522
9956
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9523
9957
|
}
|
|
@@ -9529,7 +9963,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9529
9963
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9530
9964
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9531
9965
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9532
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
9966
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$u(untrustedConfig_semanticMetrics_item);
|
|
9533
9967
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9534
9968
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9535
9969
|
}
|
|
@@ -9541,7 +9975,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9541
9975
|
const untrustedConfig_semanticParameters_array = [];
|
|
9542
9976
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9543
9977
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9544
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
9978
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$t(untrustedConfig_semanticParameters_item);
|
|
9545
9979
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9546
9980
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9547
9981
|
}
|
|
@@ -9553,7 +9987,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9553
9987
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9554
9988
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9555
9989
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9556
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
9990
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$B(untrustedConfig_semanticRelationships_item);
|
|
9557
9991
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9558
9992
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9559
9993
|
}
|
|
@@ -9657,6 +10091,7 @@ const getSemanticModel_ConfigPropertyMetadata = [
|
|
|
9657
10091
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9658
10092
|
generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9659
10093
|
generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
10094
|
+
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9660
10095
|
];
|
|
9661
10096
|
const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticModel_ConfigPropertyMetadata);
|
|
9662
10097
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$d(getSemanticModel_ConfigPropertyMetadata);
|
|
@@ -9809,7 +10244,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9809
10244
|
const untrustedConfig_baseModels_array = [];
|
|
9810
10245
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9811
10246
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9812
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10247
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Q(untrustedConfig_baseModels_item);
|
|
9813
10248
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9814
10249
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9815
10250
|
}
|
|
@@ -9821,7 +10256,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9821
10256
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9822
10257
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9823
10258
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9824
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10259
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$O(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9825
10260
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9826
10261
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9827
10262
|
}
|
|
@@ -9833,7 +10268,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9833
10268
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9834
10269
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9835
10270
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9836
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10271
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$N(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9837
10272
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9838
10273
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9839
10274
|
}
|
|
@@ -9845,7 +10280,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9845
10280
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9846
10281
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9847
10282
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9848
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10283
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$K(untrustedConfig_semanticDataObjects_item);
|
|
9849
10284
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9850
10285
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9851
10286
|
}
|
|
@@ -9857,7 +10292,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9857
10292
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9858
10293
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9859
10294
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9860
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10295
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$D(untrustedConfig_semanticGroupings_item);
|
|
9861
10296
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9862
10297
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9863
10298
|
}
|
|
@@ -9869,7 +10304,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9869
10304
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9870
10305
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9871
10306
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9872
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10307
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$y(untrustedConfig_semanticLogicalViews_item);
|
|
9873
10308
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9874
10309
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9875
10310
|
}
|
|
@@ -9881,7 +10316,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9881
10316
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9882
10317
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9883
10318
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9884
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10319
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$u(untrustedConfig_semanticMetrics_item);
|
|
9885
10320
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9886
10321
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9887
10322
|
}
|
|
@@ -9893,7 +10328,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9893
10328
|
const untrustedConfig_semanticParameters_array = [];
|
|
9894
10329
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9895
10330
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9896
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10331
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$t(untrustedConfig_semanticParameters_item);
|
|
9897
10332
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9898
10333
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9899
10334
|
}
|
|
@@ -9905,7 +10340,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9905
10340
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9906
10341
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9907
10342
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9908
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10343
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$B(untrustedConfig_semanticRelationships_item);
|
|
9909
10344
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9910
10345
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9911
10346
|
}
|
|
@@ -9956,11 +10391,90 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
9956
10391
|
};
|
|
9957
10392
|
};
|
|
9958
10393
|
|
|
9959
|
-
function validate$
|
|
10394
|
+
function validate$b(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
9960
10395
|
const v_error = (() => {
|
|
9961
10396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9962
10397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9963
10398
|
}
|
|
10399
|
+
if (obj.endDate !== undefined) {
|
|
10400
|
+
const obj_endDate = obj.endDate;
|
|
10401
|
+
const path_endDate = path + '.endDate';
|
|
10402
|
+
if (typeof obj_endDate !== 'string') {
|
|
10403
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
10404
|
+
}
|
|
10405
|
+
}
|
|
10406
|
+
if (obj.startDate !== undefined) {
|
|
10407
|
+
const obj_startDate = obj.startDate;
|
|
10408
|
+
const path_startDate = path + '.startDate';
|
|
10409
|
+
if (typeof obj_startDate !== 'string') {
|
|
10410
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
10411
|
+
}
|
|
10412
|
+
}
|
|
10413
|
+
})();
|
|
10414
|
+
return v_error === undefined ? null : v_error;
|
|
10415
|
+
}
|
|
10416
|
+
|
|
10417
|
+
function validate$a(obj, path = 'SemanticGoalValueOutputRepresentation') {
|
|
10418
|
+
const v_error = (() => {
|
|
10419
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10420
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10421
|
+
}
|
|
10422
|
+
if (obj.staticValue !== undefined) {
|
|
10423
|
+
obj.staticValue;
|
|
10424
|
+
}
|
|
10425
|
+
})();
|
|
10426
|
+
return v_error === undefined ? null : v_error;
|
|
10427
|
+
}
|
|
10428
|
+
|
|
10429
|
+
function validate$9(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
10430
|
+
const v_error = (() => {
|
|
10431
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10432
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10433
|
+
}
|
|
10434
|
+
const obj_date = obj.date;
|
|
10435
|
+
const path_date = path + '.date';
|
|
10436
|
+
const referencepath_dateValidationError = validate$b(obj_date, path_date);
|
|
10437
|
+
if (referencepath_dateValidationError !== null) {
|
|
10438
|
+
let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_date + '")\n';
|
|
10439
|
+
message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10440
|
+
return new TypeError(message);
|
|
10441
|
+
}
|
|
10442
|
+
const obj_goalType = obj.goalType;
|
|
10443
|
+
const path_goalType = path + '.goalType';
|
|
10444
|
+
if (typeof obj_goalType !== 'string') {
|
|
10445
|
+
return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
|
|
10446
|
+
}
|
|
10447
|
+
const obj_value = obj.value;
|
|
10448
|
+
const path_value = path + '.value';
|
|
10449
|
+
const referencepath_valueValidationError = validate$a(obj_value, path_value);
|
|
10450
|
+
if (referencepath_valueValidationError !== null) {
|
|
10451
|
+
let message = 'Object doesn\'t match SemanticGoalValueOutputRepresentation (at "' + path_value + '")\n';
|
|
10452
|
+
message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10453
|
+
return new TypeError(message);
|
|
10454
|
+
}
|
|
10455
|
+
})();
|
|
10456
|
+
return v_error === undefined ? null : v_error;
|
|
10457
|
+
}
|
|
10458
|
+
|
|
10459
|
+
function validate$8(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
10460
|
+
const v_error = (() => {
|
|
10461
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10462
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10463
|
+
}
|
|
10464
|
+
if (obj.customEndDate !== undefined) {
|
|
10465
|
+
const obj_customEndDate = obj.customEndDate;
|
|
10466
|
+
const path_customEndDate = path + '.customEndDate';
|
|
10467
|
+
if (typeof obj_customEndDate !== 'string') {
|
|
10468
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
|
|
10469
|
+
}
|
|
10470
|
+
}
|
|
10471
|
+
if (obj.customStartDate !== undefined) {
|
|
10472
|
+
const obj_customStartDate = obj.customStartDate;
|
|
10473
|
+
const path_customStartDate = path + '.customStartDate';
|
|
10474
|
+
if (typeof obj_customStartDate !== 'string') {
|
|
10475
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
|
|
10476
|
+
}
|
|
10477
|
+
}
|
|
9964
10478
|
if (obj.timeRangeType !== undefined) {
|
|
9965
10479
|
const obj_timeRangeType = obj.timeRangeType;
|
|
9966
10480
|
const path_timeRangeType = path + '.timeRangeType';
|
|
@@ -9972,8 +10486,8 @@ function validate$5(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
9972
10486
|
return v_error === undefined ? null : v_error;
|
|
9973
10487
|
}
|
|
9974
10488
|
|
|
9975
|
-
const VERSION$3 = "
|
|
9976
|
-
function validate$
|
|
10489
|
+
const VERSION$3 = "34ece37408ddd80874097c87b829ae97";
|
|
10490
|
+
function validate$7(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
9977
10491
|
const v_error = (() => {
|
|
9978
10492
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9979
10493
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9990,6 +10504,13 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9990
10504
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
9991
10505
|
}
|
|
9992
10506
|
}
|
|
10507
|
+
if (obj.cacheKey !== undefined) {
|
|
10508
|
+
const obj_cacheKey = obj.cacheKey;
|
|
10509
|
+
const path_cacheKey = path + '.cacheKey';
|
|
10510
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
10511
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
10512
|
+
}
|
|
10513
|
+
}
|
|
9993
10514
|
const obj_createdBy = obj.createdBy;
|
|
9994
10515
|
const path_createdBy = path + '.createdBy';
|
|
9995
10516
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -10023,7 +10544,7 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10023
10544
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
10024
10545
|
const obj_filters_item = obj_filters[i];
|
|
10025
10546
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
10026
|
-
const referencepath_filters_itemValidationError = validate$
|
|
10547
|
+
const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
|
|
10027
10548
|
if (referencepath_filters_itemValidationError !== null) {
|
|
10028
10549
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
10029
10550
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10031,6 +10552,16 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10031
10552
|
}
|
|
10032
10553
|
}
|
|
10033
10554
|
}
|
|
10555
|
+
if (obj.goal !== undefined) {
|
|
10556
|
+
const obj_goal = obj.goal;
|
|
10557
|
+
const path_goal = path + '.goal';
|
|
10558
|
+
const referencepath_goalValidationError = validate$9(obj_goal, path_goal);
|
|
10559
|
+
if (referencepath_goalValidationError !== null) {
|
|
10560
|
+
let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
|
|
10561
|
+
message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10562
|
+
return new TypeError(message);
|
|
10563
|
+
}
|
|
10564
|
+
}
|
|
10034
10565
|
const obj_id = obj.id;
|
|
10035
10566
|
const path_id = path + '.id';
|
|
10036
10567
|
if (typeof obj_id !== 'string') {
|
|
@@ -10067,7 +10598,7 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10067
10598
|
if (obj.semanticMetric !== undefined) {
|
|
10068
10599
|
const obj_semanticMetric = obj.semanticMetric;
|
|
10069
10600
|
const path_semanticMetric = path + '.semanticMetric';
|
|
10070
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
10601
|
+
const referencepath_semanticMetricValidationError = validate$V(obj_semanticMetric, path_semanticMetric);
|
|
10071
10602
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
10072
10603
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
10073
10604
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10077,7 +10608,7 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
10077
10608
|
if (obj.timeRange !== undefined) {
|
|
10078
10609
|
const obj_timeRange = obj.timeRange;
|
|
10079
10610
|
const path_timeRange = path + '.timeRange';
|
|
10080
|
-
const referencepath_timeRangeValidationError = validate$
|
|
10611
|
+
const referencepath_timeRangeValidationError = validate$8(obj_timeRange, path_timeRange);
|
|
10081
10612
|
if (referencepath_timeRangeValidationError !== null) {
|
|
10082
10613
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
10083
10614
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10116,7 +10647,7 @@ function equals$3(existing, incoming) {
|
|
|
10116
10647
|
}
|
|
10117
10648
|
const ingest$3 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10118
10649
|
if (process.env.NODE_ENV !== 'production') {
|
|
10119
|
-
const validateError = validate$
|
|
10650
|
+
const validateError = validate$7(input);
|
|
10120
10651
|
if (validateError !== null) {
|
|
10121
10652
|
throw validateError;
|
|
10122
10653
|
}
|
|
@@ -10137,7 +10668,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10137
10668
|
}
|
|
10138
10669
|
|
|
10139
10670
|
const VERSION$2 = "2980e56b9b4f8b3773f2554f67834745";
|
|
10140
|
-
function validate$
|
|
10671
|
+
function validate$6(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
|
|
10141
10672
|
const v_error = (() => {
|
|
10142
10673
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10143
10674
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10245,7 +10776,7 @@ function equals$2(existing, incoming) {
|
|
|
10245
10776
|
}
|
|
10246
10777
|
const ingest$2 = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10247
10778
|
if (process.env.NODE_ENV !== 'production') {
|
|
10248
|
-
const validateError = validate$
|
|
10779
|
+
const validateError = validate$6(input);
|
|
10249
10780
|
if (validateError !== null) {
|
|
10250
10781
|
throw validateError;
|
|
10251
10782
|
}
|
|
@@ -10272,7 +10803,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10272
10803
|
}
|
|
10273
10804
|
|
|
10274
10805
|
const VERSION$1 = "6fbd75e1a154b08c14ba6560c06488db";
|
|
10275
|
-
function validate$
|
|
10806
|
+
function validate$5(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
|
|
10276
10807
|
const v_error = (() => {
|
|
10277
10808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10278
10809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10355,7 +10886,7 @@ function equals$1(existing, incoming) {
|
|
|
10355
10886
|
}
|
|
10356
10887
|
const ingest$1 = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10357
10888
|
if (process.env.NODE_ENV !== 'production') {
|
|
10358
|
-
const validateError = validate$
|
|
10889
|
+
const validateError = validate$5(input);
|
|
10359
10890
|
if (validateError !== null) {
|
|
10360
10891
|
throw validateError;
|
|
10361
10892
|
}
|
|
@@ -10782,7 +11313,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
10782
11313
|
};
|
|
10783
11314
|
|
|
10784
11315
|
const VERSION = "542f239a7dc422c67d6cdffb0ff866eb";
|
|
10785
|
-
function validate$
|
|
11316
|
+
function validate$4(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
|
|
10786
11317
|
const v_error = (() => {
|
|
10787
11318
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10788
11319
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10865,7 +11396,7 @@ function equals(existing, incoming) {
|
|
|
10865
11396
|
}
|
|
10866
11397
|
const ingest = function SemanticSubMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10867
11398
|
if (process.env.NODE_ENV !== 'production') {
|
|
10868
|
-
const validateError = validate$
|
|
11399
|
+
const validateError = validate$4(input);
|
|
10869
11400
|
if (validateError !== null) {
|
|
10870
11401
|
throw validateError;
|
|
10871
11402
|
}
|
|
@@ -11023,11 +11554,96 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
|
|
|
11023
11554
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
11024
11555
|
};
|
|
11025
11556
|
|
|
11557
|
+
function validate$3(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
11558
|
+
const v_error = (() => {
|
|
11559
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11560
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11561
|
+
}
|
|
11562
|
+
if (obj.endDate !== undefined) {
|
|
11563
|
+
const obj_endDate = obj.endDate;
|
|
11564
|
+
const path_endDate = path + '.endDate';
|
|
11565
|
+
if (typeof obj_endDate !== 'string') {
|
|
11566
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
11567
|
+
}
|
|
11568
|
+
}
|
|
11569
|
+
if (obj.startDate !== undefined) {
|
|
11570
|
+
const obj_startDate = obj.startDate;
|
|
11571
|
+
const path_startDate = path + '.startDate';
|
|
11572
|
+
if (typeof obj_startDate !== 'string') {
|
|
11573
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
11574
|
+
}
|
|
11575
|
+
}
|
|
11576
|
+
})();
|
|
11577
|
+
return v_error === undefined ? null : v_error;
|
|
11578
|
+
}
|
|
11579
|
+
|
|
11580
|
+
function validate$2(obj, path = 'SemanticGoalValueInputRepresentation') {
|
|
11581
|
+
const v_error = (() => {
|
|
11582
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11583
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11584
|
+
}
|
|
11585
|
+
if (obj.staticValue !== undefined) {
|
|
11586
|
+
obj.staticValue;
|
|
11587
|
+
}
|
|
11588
|
+
})();
|
|
11589
|
+
return v_error === undefined ? null : v_error;
|
|
11590
|
+
}
|
|
11591
|
+
|
|
11592
|
+
function validate$1(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
11593
|
+
const v_error = (() => {
|
|
11594
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11595
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11596
|
+
}
|
|
11597
|
+
if (obj.date !== undefined) {
|
|
11598
|
+
const obj_date = obj.date;
|
|
11599
|
+
const path_date = path + '.date';
|
|
11600
|
+
const referencepath_dateValidationError = validate$3(obj_date, path_date);
|
|
11601
|
+
if (referencepath_dateValidationError !== null) {
|
|
11602
|
+
let message = 'Object doesn\'t match SemanticGoalDateRangeInputRepresentation (at "' + path_date + '")\n';
|
|
11603
|
+
message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11604
|
+
return new TypeError(message);
|
|
11605
|
+
}
|
|
11606
|
+
}
|
|
11607
|
+
if (obj.goalType !== undefined) {
|
|
11608
|
+
const obj_goalType = obj.goalType;
|
|
11609
|
+
const path_goalType = path + '.goalType';
|
|
11610
|
+
if (typeof obj_goalType !== 'string') {
|
|
11611
|
+
return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
|
|
11612
|
+
}
|
|
11613
|
+
}
|
|
11614
|
+
if (obj.value !== undefined) {
|
|
11615
|
+
const obj_value = obj.value;
|
|
11616
|
+
const path_value = path + '.value';
|
|
11617
|
+
const referencepath_valueValidationError = validate$2(obj_value, path_value);
|
|
11618
|
+
if (referencepath_valueValidationError !== null) {
|
|
11619
|
+
let message = 'Object doesn\'t match SemanticGoalValueInputRepresentation (at "' + path_value + '")\n';
|
|
11620
|
+
message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11621
|
+
return new TypeError(message);
|
|
11622
|
+
}
|
|
11623
|
+
}
|
|
11624
|
+
})();
|
|
11625
|
+
return v_error === undefined ? null : v_error;
|
|
11626
|
+
}
|
|
11627
|
+
|
|
11026
11628
|
function validate(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
11027
11629
|
const v_error = (() => {
|
|
11028
11630
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11029
11631
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11030
11632
|
}
|
|
11633
|
+
if (obj.customEndDate !== undefined) {
|
|
11634
|
+
const obj_customEndDate = obj.customEndDate;
|
|
11635
|
+
const path_customEndDate = path + '.customEndDate';
|
|
11636
|
+
if (typeof obj_customEndDate !== 'string') {
|
|
11637
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
|
|
11638
|
+
}
|
|
11639
|
+
}
|
|
11640
|
+
if (obj.customStartDate !== undefined) {
|
|
11641
|
+
const obj_customStartDate = obj.customStartDate;
|
|
11642
|
+
const path_customStartDate = path + '.customStartDate';
|
|
11643
|
+
if (typeof obj_customStartDate !== 'string') {
|
|
11644
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
|
|
11645
|
+
}
|
|
11646
|
+
}
|
|
11031
11647
|
if (obj.timeRangeType !== undefined) {
|
|
11032
11648
|
const obj_timeRangeType = obj.timeRangeType;
|
|
11033
11649
|
const path_timeRangeType = path + '.timeRangeType';
|
|
@@ -11084,6 +11700,7 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
11084
11700
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
11085
11701
|
generateParamConfigMetadata('filterLogic', false, 2 /* Body */, 0 /* String */),
|
|
11086
11702
|
generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11703
|
+
generateParamConfigMetadata('goal', false, 2 /* Body */, 4 /* Unsupported */),
|
|
11087
11704
|
generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
|
|
11088
11705
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
11089
11706
|
];
|
|
@@ -11097,13 +11714,18 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
11097
11714
|
const untrustedConfig_filters_array = [];
|
|
11098
11715
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
11099
11716
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
11100
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
11717
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$P(untrustedConfig_filters_item);
|
|
11101
11718
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
11102
11719
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
11103
11720
|
}
|
|
11104
11721
|
}
|
|
11105
11722
|
config.filters = untrustedConfig_filters_array;
|
|
11106
11723
|
}
|
|
11724
|
+
const untrustedConfig_goal = untrustedConfig.goal;
|
|
11725
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$1(untrustedConfig_goal);
|
|
11726
|
+
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
11727
|
+
config.goal = untrustedConfig_goal;
|
|
11728
|
+
}
|
|
11107
11729
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
11108
11730
|
const referenceSemanticTimeRangeInputRepresentationValidationError = validate(untrustedConfig_timeRange);
|
|
11109
11731
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|