@salesforce/lds-adapters-cdp-semantic-authoring 1.309.0-dev15 → 1.309.0-dev16
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 +790 -196
- 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/getSsotSemanticMetricsByMetricIds.d.ts +15 -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 -7
- package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeOutputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +777 -183
- package/src/raml/api.raml +520 -55
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
const VERSION$t = "3a32d382e7a2268096278aa8e5c6761a";
|
|
96
|
-
function validate
|
|
96
|
+
function validate$$(obj, path = 'SemanticBaseModelOutputRepresentation') {
|
|
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 + '")');
|
|
@@ -153,8 +153,8 @@ function equals$t(existing, incoming) {
|
|
|
153
153
|
return true;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
const VERSION$s = "
|
|
157
|
-
function validate$
|
|
156
|
+
const VERSION$s = "c9079354cd8127a37c0c13ea6686383c";
|
|
157
|
+
function validate$_(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
158
158
|
const v_error = (() => {
|
|
159
159
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
160
160
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -187,7 +187,7 @@ function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
187
187
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
188
188
|
const obj_baseModels_item = obj_baseModels[i];
|
|
189
189
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
190
|
-
const referencepath_baseModels_itemValidationError = validate
|
|
190
|
+
const referencepath_baseModels_itemValidationError = validate$$(obj_baseModels_item, path_baseModels_item);
|
|
191
191
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
192
192
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
193
193
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -195,6 +195,13 @@ function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
+
if (obj.cacheKey !== undefined) {
|
|
199
|
+
const obj_cacheKey = obj.cacheKey;
|
|
200
|
+
const path_cacheKey = path + '.cacheKey';
|
|
201
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
202
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
203
|
+
}
|
|
204
|
+
}
|
|
198
205
|
if (obj.categories !== undefined) {
|
|
199
206
|
const obj_categories = obj.categories;
|
|
200
207
|
const path_categories = path + '.categories';
|
|
@@ -379,6 +386,11 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
379
386
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
380
387
|
required: false
|
|
381
388
|
},
|
|
389
|
+
{
|
|
390
|
+
name: 'cacheKey',
|
|
391
|
+
kind: 'Scalar',
|
|
392
|
+
required: false
|
|
393
|
+
},
|
|
382
394
|
{
|
|
383
395
|
name: 'categories',
|
|
384
396
|
kind: 'Scalar',
|
|
@@ -519,6 +531,19 @@ function equals$s(existing, incoming) {
|
|
|
519
531
|
return false;
|
|
520
532
|
}
|
|
521
533
|
}
|
|
534
|
+
const existing_cacheKey = existing.cacheKey;
|
|
535
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
536
|
+
// if at least one of these optionals is defined
|
|
537
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
538
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
539
|
+
// not equal
|
|
540
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
541
|
+
return false;
|
|
542
|
+
}
|
|
543
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
544
|
+
return false;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
522
547
|
const existing_createdBy = existing.createdBy;
|
|
523
548
|
const incoming_createdBy = incoming.createdBy;
|
|
524
549
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -748,7 +773,7 @@ function equals$s(existing, incoming) {
|
|
|
748
773
|
}
|
|
749
774
|
|
|
750
775
|
const VERSION$r = "198423ec58354256cc7ea6f4661ef669";
|
|
751
|
-
function validate$
|
|
776
|
+
function validate$Z(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
752
777
|
const v_error = (() => {
|
|
753
778
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
754
779
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -795,7 +820,7 @@ function validate$T(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
795
820
|
for (let i = 0; i < obj_items.length; i++) {
|
|
796
821
|
const obj_items_item = obj_items[i];
|
|
797
822
|
const path_items_item = path_items + '[' + i + ']';
|
|
798
|
-
const referencepath_items_itemValidationError = validate$
|
|
823
|
+
const referencepath_items_itemValidationError = validate$_(obj_items_item, path_items_item);
|
|
799
824
|
if (referencepath_items_itemValidationError !== null) {
|
|
800
825
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
801
826
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -983,7 +1008,7 @@ function equals$r(existing, incoming) {
|
|
|
983
1008
|
}
|
|
984
1009
|
const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
985
1010
|
if (process.env.NODE_ENV !== 'production') {
|
|
986
|
-
const validateError = validate$
|
|
1011
|
+
const validateError = validate$Z(input);
|
|
987
1012
|
if (validateError !== null) {
|
|
988
1013
|
throw validateError;
|
|
989
1014
|
}
|
|
@@ -1143,7 +1168,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
1143
1168
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
1144
1169
|
};
|
|
1145
1170
|
|
|
1146
|
-
function validate$
|
|
1171
|
+
function validate$Y(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
1147
1172
|
const v_error = (() => {
|
|
1148
1173
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1149
1174
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1159,7 +1184,7 @@ function validate$S(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
1159
1184
|
return v_error === undefined ? null : v_error;
|
|
1160
1185
|
}
|
|
1161
1186
|
|
|
1162
|
-
function validate$
|
|
1187
|
+
function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
1163
1188
|
const v_error = (() => {
|
|
1164
1189
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1165
1190
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1189,7 +1214,7 @@ function validate$R(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
1189
1214
|
return v_error === undefined ? null : v_error;
|
|
1190
1215
|
}
|
|
1191
1216
|
|
|
1192
|
-
function validate$
|
|
1217
|
+
function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
1193
1218
|
const v_error = (() => {
|
|
1194
1219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1195
1220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1252,7 +1277,7 @@ function validate$Q(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
1252
1277
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1253
1278
|
const obj_filters_item = obj_filters[i];
|
|
1254
1279
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1255
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1280
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
1256
1281
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1257
1282
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1258
1283
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1299,7 +1324,7 @@ function validate$Q(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
1299
1324
|
return v_error === undefined ? null : v_error;
|
|
1300
1325
|
}
|
|
1301
1326
|
|
|
1302
|
-
function validate$
|
|
1327
|
+
function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
1303
1328
|
const v_error = (() => {
|
|
1304
1329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1305
1330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1376,7 +1401,7 @@ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
1376
1401
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1377
1402
|
const obj_filters_item = obj_filters[i];
|
|
1378
1403
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1379
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1404
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
1380
1405
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1381
1406
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1382
1407
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1405,6 +1430,13 @@ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
1405
1430
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
1406
1431
|
}
|
|
1407
1432
|
}
|
|
1433
|
+
if (obj.sentiment !== undefined) {
|
|
1434
|
+
const obj_sentiment = obj.sentiment;
|
|
1435
|
+
const path_sentiment = path + '.sentiment';
|
|
1436
|
+
if (typeof obj_sentiment !== 'string') {
|
|
1437
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1408
1440
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
1409
1441
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
1410
1442
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -1437,7 +1469,7 @@ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
1437
1469
|
return v_error === undefined ? null : v_error;
|
|
1438
1470
|
}
|
|
1439
1471
|
|
|
1440
|
-
function validate$
|
|
1472
|
+
function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
1441
1473
|
const v_error = (() => {
|
|
1442
1474
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1443
1475
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1516,7 +1548,7 @@ function validate$O(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
1516
1548
|
return v_error === undefined ? null : v_error;
|
|
1517
1549
|
}
|
|
1518
1550
|
|
|
1519
|
-
function validate$
|
|
1551
|
+
function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
1520
1552
|
const v_error = (() => {
|
|
1521
1553
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1522
1554
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1598,6 +1630,13 @@ function validate$N(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1598
1630
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
1599
1631
|
}
|
|
1600
1632
|
}
|
|
1633
|
+
if (obj.sentiment !== undefined) {
|
|
1634
|
+
const obj_sentiment = obj.sentiment;
|
|
1635
|
+
const path_sentiment = path + '.sentiment';
|
|
1636
|
+
if (typeof obj_sentiment !== 'string') {
|
|
1637
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1601
1640
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
1602
1641
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
1603
1642
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -1616,7 +1655,7 @@ function validate$N(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1616
1655
|
return v_error === undefined ? null : v_error;
|
|
1617
1656
|
}
|
|
1618
1657
|
|
|
1619
|
-
function validate$
|
|
1658
|
+
function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
1620
1659
|
const v_error = (() => {
|
|
1621
1660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1622
1661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1665,7 +1704,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1665
1704
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1666
1705
|
const obj_filters_item = obj_filters[i];
|
|
1667
1706
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1668
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1707
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
1669
1708
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1670
1709
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1671
1710
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1696,7 +1735,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1696
1735
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1697
1736
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1698
1737
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1699
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1738
|
+
const referencepath_semanticDimensions_itemValidationError = validate$U(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1700
1739
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1701
1740
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1702
1741
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1713,7 +1752,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1713
1752
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1714
1753
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1715
1754
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1716
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1755
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$T(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1717
1756
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1718
1757
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1719
1758
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1732,7 +1771,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1732
1771
|
return v_error === undefined ? null : v_error;
|
|
1733
1772
|
}
|
|
1734
1773
|
|
|
1735
|
-
function validate$
|
|
1774
|
+
function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1736
1775
|
const v_error = (() => {
|
|
1737
1776
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1738
1777
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1744,7 +1783,7 @@ function validate$L(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1744
1783
|
return v_error === undefined ? null : v_error;
|
|
1745
1784
|
}
|
|
1746
1785
|
|
|
1747
|
-
function validate$
|
|
1786
|
+
function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1748
1787
|
const v_error = (() => {
|
|
1749
1788
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1750
1789
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1774,7 +1813,7 @@ function validate$K(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1774
1813
|
return v_error === undefined ? null : v_error;
|
|
1775
1814
|
}
|
|
1776
1815
|
|
|
1777
|
-
function validate$
|
|
1816
|
+
function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1778
1817
|
const v_error = (() => {
|
|
1779
1818
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1780
1819
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1788,7 +1827,7 @@ function validate$J(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1788
1827
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1789
1828
|
const obj_groups_item = obj_groups[i];
|
|
1790
1829
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1791
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1830
|
+
const referencepath_groups_itemValidationError = validate$Q(obj_groups_item, path_groups_item);
|
|
1792
1831
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1793
1832
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1794
1833
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1807,7 +1846,7 @@ function validate$J(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1807
1846
|
return v_error === undefined ? null : v_error;
|
|
1808
1847
|
}
|
|
1809
1848
|
|
|
1810
|
-
function validate$
|
|
1849
|
+
function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1811
1850
|
const v_error = (() => {
|
|
1812
1851
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1813
1852
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1815,7 +1854,7 @@ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1815
1854
|
if (obj.binDimension !== undefined) {
|
|
1816
1855
|
const obj_binDimension = obj.binDimension;
|
|
1817
1856
|
const path_binDimension = path + '.binDimension';
|
|
1818
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1857
|
+
const referencepath_binDimensionValidationError = validate$R(obj_binDimension, path_binDimension);
|
|
1819
1858
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1820
1859
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1821
1860
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1825,7 +1864,7 @@ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1825
1864
|
if (obj.groupDimension !== undefined) {
|
|
1826
1865
|
const obj_groupDimension = obj.groupDimension;
|
|
1827
1866
|
const path_groupDimension = path + '.groupDimension';
|
|
1828
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1867
|
+
const referencepath_groupDimensionValidationError = validate$P(obj_groupDimension, path_groupDimension);
|
|
1829
1868
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1830
1869
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1831
1870
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1836,7 +1875,7 @@ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1836
1875
|
return v_error === undefined ? null : v_error;
|
|
1837
1876
|
}
|
|
1838
1877
|
|
|
1839
|
-
function validate$
|
|
1878
|
+
function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1840
1879
|
const v_error = (() => {
|
|
1841
1880
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1842
1881
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1859,7 +1898,7 @@ function validate$H(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1859
1898
|
return v_error === undefined ? null : v_error;
|
|
1860
1899
|
}
|
|
1861
1900
|
|
|
1862
|
-
function validate$
|
|
1901
|
+
function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1863
1902
|
const v_error = (() => {
|
|
1864
1903
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1865
1904
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1874,7 +1913,7 @@ function validate$G(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1874
1913
|
if (obj.tableFieldReference !== undefined) {
|
|
1875
1914
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1876
1915
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1877
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1916
|
+
const referencepath_tableFieldReferenceValidationError = validate$N(obj_tableFieldReference, path_tableFieldReference);
|
|
1878
1917
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1879
1918
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1880
1919
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1885,7 +1924,7 @@ function validate$G(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1885
1924
|
return v_error === undefined ? null : v_error;
|
|
1886
1925
|
}
|
|
1887
1926
|
|
|
1888
|
-
function validate$
|
|
1927
|
+
function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1889
1928
|
const v_error = (() => {
|
|
1890
1929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1891
1930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1900,7 +1939,7 @@ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1900
1939
|
if (obj.configuration !== undefined) {
|
|
1901
1940
|
const obj_configuration = obj.configuration;
|
|
1902
1941
|
const path_configuration = path + '.configuration';
|
|
1903
|
-
const referencepath_configurationValidationError = validate$
|
|
1942
|
+
const referencepath_configurationValidationError = validate$O(obj_configuration, path_configuration);
|
|
1904
1943
|
if (referencepath_configurationValidationError !== null) {
|
|
1905
1944
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1906
1945
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1917,7 +1956,7 @@ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1917
1956
|
if (obj.fieldReference !== undefined) {
|
|
1918
1957
|
const obj_fieldReference = obj.fieldReference;
|
|
1919
1958
|
const path_fieldReference = path + '.fieldReference';
|
|
1920
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1959
|
+
const referencepath_fieldReferenceValidationError = validate$M(obj_fieldReference, path_fieldReference);
|
|
1921
1960
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1922
1961
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1923
1962
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1942,7 +1981,7 @@ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1942
1981
|
return v_error === undefined ? null : v_error;
|
|
1943
1982
|
}
|
|
1944
1983
|
|
|
1945
|
-
function validate$
|
|
1984
|
+
function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1946
1985
|
const v_error = (() => {
|
|
1947
1986
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1948
1987
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1986,7 +2025,7 @@ function validate$E(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1986
2025
|
return v_error === undefined ? null : v_error;
|
|
1987
2026
|
}
|
|
1988
2027
|
|
|
1989
|
-
function validate$
|
|
2028
|
+
function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1990
2029
|
const v_error = (() => {
|
|
1991
2030
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1992
2031
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2014,7 +2053,7 @@ function validate$D(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
2014
2053
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
2015
2054
|
const obj_criteria_item = obj_criteria[i];
|
|
2016
2055
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
2017
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
2056
|
+
const referencepath_criteria_itemValidationError = validate$K(obj_criteria_item, path_criteria_item);
|
|
2018
2057
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
2019
2058
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
2020
2059
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2075,7 +2114,7 @@ function validate$D(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
2075
2114
|
return v_error === undefined ? null : v_error;
|
|
2076
2115
|
}
|
|
2077
2116
|
|
|
2078
|
-
function validate$
|
|
2117
|
+
function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
2079
2118
|
const v_error = (() => {
|
|
2080
2119
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2081
2120
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2103,7 +2142,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2103
2142
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
2104
2143
|
const obj_fields_item = obj_fields[i];
|
|
2105
2144
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
2106
|
-
const referencepath_fields_itemValidationError = validate$
|
|
2145
|
+
const referencepath_fields_itemValidationError = validate$N(obj_fields_item, path_fields_item);
|
|
2107
2146
|
if (referencepath_fields_itemValidationError !== null) {
|
|
2108
2147
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
2109
2148
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2128,7 +2167,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2128
2167
|
if (obj.semanticDimension !== undefined) {
|
|
2129
2168
|
const obj_semanticDimension = obj.semanticDimension;
|
|
2130
2169
|
const path_semanticDimension = path + '.semanticDimension';
|
|
2131
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
2170
|
+
const referencepath_semanticDimensionValidationError = validate$U(obj_semanticDimension, path_semanticDimension);
|
|
2132
2171
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
2133
2172
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
2134
2173
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2138,7 +2177,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2138
2177
|
if (obj.semanticMeasurement !== undefined) {
|
|
2139
2178
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
2140
2179
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
2141
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
2180
|
+
const referencepath_semanticMeasurementValidationError = validate$T(obj_semanticMeasurement, path_semanticMeasurement);
|
|
2142
2181
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
2143
2182
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
2144
2183
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2149,7 +2188,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2149
2188
|
return v_error === undefined ? null : v_error;
|
|
2150
2189
|
}
|
|
2151
2190
|
|
|
2152
|
-
function validate$
|
|
2191
|
+
function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
2153
2192
|
const v_error = (() => {
|
|
2154
2193
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2155
2194
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2184,7 +2223,7 @@ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
2184
2223
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
2185
2224
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
2186
2225
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
2187
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
2226
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
2188
2227
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
2189
2228
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
2190
2229
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2201,7 +2240,7 @@ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
2201
2240
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
2202
2241
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
2203
2242
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
2204
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
2243
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$I(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
2205
2244
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
2206
2245
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
2207
2246
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2213,7 +2252,7 @@ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
2213
2252
|
return v_error === undefined ? null : v_error;
|
|
2214
2253
|
}
|
|
2215
2254
|
|
|
2216
|
-
function validate$
|
|
2255
|
+
function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
2217
2256
|
const v_error = (() => {
|
|
2218
2257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2219
2258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2225,6 +2264,13 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2225
2264
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2226
2265
|
}
|
|
2227
2266
|
}
|
|
2267
|
+
if (obj.customSql !== undefined) {
|
|
2268
|
+
const obj_customSql = obj.customSql;
|
|
2269
|
+
const path_customSql = path + '.customSql';
|
|
2270
|
+
if (typeof obj_customSql !== 'string') {
|
|
2271
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2228
2274
|
if (obj.description !== undefined) {
|
|
2229
2275
|
const obj_description = obj.description;
|
|
2230
2276
|
const path_description = path + '.description';
|
|
@@ -2248,7 +2294,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2248
2294
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2249
2295
|
const obj_filters_item = obj_filters[i];
|
|
2250
2296
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2251
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2297
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2252
2298
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2253
2299
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2254
2300
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2272,7 +2318,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2272
2318
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
2273
2319
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
2274
2320
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
2275
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
2321
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
2276
2322
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
2277
2323
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
2278
2324
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2289,7 +2335,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2289
2335
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
2290
2336
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
2291
2337
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
2292
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
2338
|
+
const referencepath_semanticRelationships_itemValidationError = validate$J(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
2293
2339
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
2294
2340
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
2295
2341
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2306,7 +2352,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2306
2352
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
2307
2353
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
2308
2354
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
2309
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
2355
|
+
const referencepath_semanticUnions_itemValidationError = validate$H(obj_semanticUnions_item, path_semanticUnions_item);
|
|
2310
2356
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
2311
2357
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
2312
2358
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2318,7 +2364,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2318
2364
|
return v_error === undefined ? null : v_error;
|
|
2319
2365
|
}
|
|
2320
2366
|
|
|
2321
|
-
function validate$
|
|
2367
|
+
function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
2322
2368
|
const v_error = (() => {
|
|
2323
2369
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2324
2370
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2326,7 +2372,7 @@ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
2326
2372
|
if (obj.identifierDimensionReference !== undefined) {
|
|
2327
2373
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
2328
2374
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
2329
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
2375
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$M(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
2330
2376
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
2331
2377
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
2332
2378
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2336,7 +2382,7 @@ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
2336
2382
|
if (obj.namingDimensionReference !== undefined) {
|
|
2337
2383
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
2338
2384
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
2339
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
2385
|
+
const referencepath_namingDimensionReferenceValidationError = validate$M(obj_namingDimensionReference, path_namingDimensionReference);
|
|
2340
2386
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
2341
2387
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
2342
2388
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2347,7 +2393,7 @@ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
2347
2393
|
return v_error === undefined ? null : v_error;
|
|
2348
2394
|
}
|
|
2349
2395
|
|
|
2350
|
-
function validate$
|
|
2396
|
+
function validate$E(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
2351
2397
|
const v_error = (() => {
|
|
2352
2398
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2353
2399
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2370,7 +2416,7 @@ function validate$y(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
2370
2416
|
return v_error === undefined ? null : v_error;
|
|
2371
2417
|
}
|
|
2372
2418
|
|
|
2373
|
-
function validate$
|
|
2419
|
+
function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
2374
2420
|
const v_error = (() => {
|
|
2375
2421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2376
2422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2378,7 +2424,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2378
2424
|
if (obj.identifyingDimension !== undefined) {
|
|
2379
2425
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
2380
2426
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
2381
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
2427
|
+
const referencepath_identifyingDimensionValidationError = validate$F(obj_identifyingDimension, path_identifyingDimension);
|
|
2382
2428
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
2383
2429
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
2384
2430
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2394,7 +2440,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2394
2440
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
2395
2441
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
2396
2442
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
2397
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
2443
|
+
const referencepath_insightTypes_itemValidationError = validate$E(obj_insightTypes_item, path_insightTypes_item);
|
|
2398
2444
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
2399
2445
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
2400
2446
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2411,7 +2457,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2411
2457
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
2412
2458
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
2413
2459
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
2414
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
2460
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$M(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
2415
2461
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
2416
2462
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
2417
2463
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2444,7 +2490,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2444
2490
|
return v_error === undefined ? null : v_error;
|
|
2445
2491
|
}
|
|
2446
2492
|
|
|
2447
|
-
function validate$
|
|
2493
|
+
function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
2448
2494
|
const v_error = (() => {
|
|
2449
2495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2450
2496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2458,7 +2504,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2458
2504
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
2459
2505
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
2460
2506
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
2461
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
2507
|
+
const referencepath_additionalDimensions_itemValidationError = validate$M(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
2462
2508
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
2463
2509
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
2464
2510
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2503,7 +2549,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2503
2549
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2504
2550
|
const obj_filters_item = obj_filters[i];
|
|
2505
2551
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2506
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2552
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2507
2553
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2508
2554
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2509
2555
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2514,7 +2560,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2514
2560
|
if (obj.insightsSettings !== undefined) {
|
|
2515
2561
|
const obj_insightsSettings = obj.insightsSettings;
|
|
2516
2562
|
const path_insightsSettings = path + '.insightsSettings';
|
|
2517
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2563
|
+
const referencepath_insightsSettingsValidationError = validate$D(obj_insightsSettings, path_insightsSettings);
|
|
2518
2564
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
2519
2565
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
2520
2566
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2538,7 +2584,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2538
2584
|
if (obj.measurementReference !== undefined) {
|
|
2539
2585
|
const obj_measurementReference = obj.measurementReference;
|
|
2540
2586
|
const path_measurementReference = path + '.measurementReference';
|
|
2541
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2587
|
+
const referencepath_measurementReferenceValidationError = validate$M(obj_measurementReference, path_measurementReference);
|
|
2542
2588
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2543
2589
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2544
2590
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2548,7 +2594,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2548
2594
|
if (obj.timeDimensionReference !== undefined) {
|
|
2549
2595
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2550
2596
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2551
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2597
|
+
const referencepath_timeDimensionReferenceValidationError = validate$M(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2552
2598
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2553
2599
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2554
2600
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2573,7 +2619,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2573
2619
|
return v_error === undefined ? null : v_error;
|
|
2574
2620
|
}
|
|
2575
2621
|
|
|
2576
|
-
function validate$
|
|
2622
|
+
function validate$B(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2577
2623
|
const v_error = (() => {
|
|
2578
2624
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2579
2625
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2660,7 +2706,7 @@ function validate$v(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2660
2706
|
}
|
|
2661
2707
|
|
|
2662
2708
|
const VERSION$q = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
2663
|
-
function validate$
|
|
2709
|
+
function validate$A(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
2664
2710
|
const v_error = (() => {
|
|
2665
2711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2666
2712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2756,8 +2802,8 @@ function equals$q(existing, incoming) {
|
|
|
2756
2802
|
return true;
|
|
2757
2803
|
}
|
|
2758
2804
|
|
|
2759
|
-
const VERSION$p = "
|
|
2760
|
-
function validate$
|
|
2805
|
+
const VERSION$p = "51514a172af5e420504a2143725b4528";
|
|
2806
|
+
function validate$z(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2761
2807
|
const v_error = (() => {
|
|
2762
2808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2763
2809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2774,6 +2820,13 @@ function validate$t(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2774
2820
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
2775
2821
|
}
|
|
2776
2822
|
}
|
|
2823
|
+
if (obj.cacheKey !== undefined) {
|
|
2824
|
+
const obj_cacheKey = obj.cacheKey;
|
|
2825
|
+
const path_cacheKey = path + '.cacheKey';
|
|
2826
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
2827
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2777
2830
|
const obj_createdBy = obj.createdBy;
|
|
2778
2831
|
const path_createdBy = path + '.createdBy';
|
|
2779
2832
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -2835,7 +2888,7 @@ function validate$t(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2835
2888
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2836
2889
|
const obj_filters_item = obj_filters[i];
|
|
2837
2890
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2838
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2891
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
2839
2892
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2840
2893
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2841
2894
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2929,6 +2982,11 @@ const select$z = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2929
2982
|
kind: 'Scalar',
|
|
2930
2983
|
required: false
|
|
2931
2984
|
},
|
|
2985
|
+
{
|
|
2986
|
+
name: 'cacheKey',
|
|
2987
|
+
kind: 'Scalar',
|
|
2988
|
+
required: false
|
|
2989
|
+
},
|
|
2932
2990
|
{
|
|
2933
2991
|
name: 'createdBy',
|
|
2934
2992
|
kind: 'Scalar'
|
|
@@ -3061,6 +3119,19 @@ function equals$p(existing, incoming) {
|
|
|
3061
3119
|
return false;
|
|
3062
3120
|
}
|
|
3063
3121
|
}
|
|
3122
|
+
const existing_cacheKey = existing.cacheKey;
|
|
3123
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
3124
|
+
// if at least one of these optionals is defined
|
|
3125
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
3126
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3127
|
+
// not equal
|
|
3128
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
3129
|
+
return false;
|
|
3130
|
+
}
|
|
3131
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
3132
|
+
return false;
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3064
3135
|
const existing_createdBy = existing.createdBy;
|
|
3065
3136
|
const incoming_createdBy = incoming.createdBy;
|
|
3066
3137
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -3241,7 +3312,7 @@ function equals$p(existing, incoming) {
|
|
|
3241
3312
|
}
|
|
3242
3313
|
const ingest$f = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3243
3314
|
if (process.env.NODE_ENV !== 'production') {
|
|
3244
|
-
const validateError = validate$
|
|
3315
|
+
const validateError = validate$z(input);
|
|
3245
3316
|
if (validateError !== null) {
|
|
3246
3317
|
throw validateError;
|
|
3247
3318
|
}
|
|
@@ -3261,8 +3332,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3261
3332
|
});
|
|
3262
3333
|
}
|
|
3263
3334
|
|
|
3264
|
-
const VERSION$o = "
|
|
3265
|
-
function validate$
|
|
3335
|
+
const VERSION$o = "6c8d910667cf399d3aa6e5a57e1fdd61";
|
|
3336
|
+
function validate$y(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3266
3337
|
const v_error = (() => {
|
|
3267
3338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3268
3339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3286,6 +3357,13 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3286
3357
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
3287
3358
|
}
|
|
3288
3359
|
}
|
|
3360
|
+
if (obj.cacheKey !== undefined) {
|
|
3361
|
+
const obj_cacheKey = obj.cacheKey;
|
|
3362
|
+
const path_cacheKey = path + '.cacheKey';
|
|
3363
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
3364
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3289
3367
|
const obj_createdBy = obj.createdBy;
|
|
3290
3368
|
const path_createdBy = path + '.createdBy';
|
|
3291
3369
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -3354,7 +3432,7 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3354
3432
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3355
3433
|
const obj_filters_item = obj_filters[i];
|
|
3356
3434
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3357
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3435
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
3358
3436
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3359
3437
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3360
3438
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3409,6 +3487,13 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3409
3487
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
3410
3488
|
}
|
|
3411
3489
|
}
|
|
3490
|
+
if (obj.sentiment !== undefined) {
|
|
3491
|
+
const obj_sentiment = obj.sentiment;
|
|
3492
|
+
const path_sentiment = path + '.sentiment';
|
|
3493
|
+
if (typeof obj_sentiment !== 'string') {
|
|
3494
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3412
3497
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
3413
3498
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
3414
3499
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -3474,6 +3559,11 @@ const select$y = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3474
3559
|
kind: 'Scalar',
|
|
3475
3560
|
required: false
|
|
3476
3561
|
},
|
|
3562
|
+
{
|
|
3563
|
+
name: 'cacheKey',
|
|
3564
|
+
kind: 'Scalar',
|
|
3565
|
+
required: false
|
|
3566
|
+
},
|
|
3477
3567
|
{
|
|
3478
3568
|
name: 'createdBy',
|
|
3479
3569
|
kind: 'Scalar'
|
|
@@ -3558,6 +3648,11 @@ const select$y = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3558
3648
|
kind: 'Scalar',
|
|
3559
3649
|
required: false
|
|
3560
3650
|
},
|
|
3651
|
+
{
|
|
3652
|
+
name: 'sentiment',
|
|
3653
|
+
kind: 'Scalar',
|
|
3654
|
+
required: false
|
|
3655
|
+
},
|
|
3561
3656
|
{
|
|
3562
3657
|
name: 'shouldTreatNullsAsZeros',
|
|
3563
3658
|
kind: 'Scalar',
|
|
@@ -3665,6 +3760,19 @@ function equals$o(existing, incoming) {
|
|
|
3665
3760
|
return false;
|
|
3666
3761
|
}
|
|
3667
3762
|
}
|
|
3763
|
+
const existing_cacheKey = existing.cacheKey;
|
|
3764
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
3765
|
+
// if at least one of these optionals is defined
|
|
3766
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
3767
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3768
|
+
// not equal
|
|
3769
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
3770
|
+
return false;
|
|
3771
|
+
}
|
|
3772
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
3773
|
+
return false;
|
|
3774
|
+
}
|
|
3775
|
+
}
|
|
3668
3776
|
const existing_createdBy = existing.createdBy;
|
|
3669
3777
|
const incoming_createdBy = incoming.createdBy;
|
|
3670
3778
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -3810,6 +3918,19 @@ function equals$o(existing, incoming) {
|
|
|
3810
3918
|
return false;
|
|
3811
3919
|
}
|
|
3812
3920
|
}
|
|
3921
|
+
const existing_sentiment = existing.sentiment;
|
|
3922
|
+
const incoming_sentiment = incoming.sentiment;
|
|
3923
|
+
// if at least one of these optionals is defined
|
|
3924
|
+
if (existing_sentiment !== undefined || incoming_sentiment !== undefined) {
|
|
3925
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3926
|
+
// not equal
|
|
3927
|
+
if (existing_sentiment === undefined || incoming_sentiment === undefined) {
|
|
3928
|
+
return false;
|
|
3929
|
+
}
|
|
3930
|
+
if (!(existing_sentiment === incoming_sentiment)) {
|
|
3931
|
+
return false;
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3813
3934
|
const existing_sortOrder = existing.sortOrder;
|
|
3814
3935
|
const incoming_sortOrder = incoming.sortOrder;
|
|
3815
3936
|
// if at least one of these optionals is defined
|
|
@@ -3871,7 +3992,7 @@ function equals$o(existing, incoming) {
|
|
|
3871
3992
|
}
|
|
3872
3993
|
const ingest$e = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3873
3994
|
if (process.env.NODE_ENV !== 'production') {
|
|
3874
|
-
const validateError = validate$
|
|
3995
|
+
const validateError = validate$y(input);
|
|
3875
3996
|
if (validateError !== null) {
|
|
3876
3997
|
throw validateError;
|
|
3877
3998
|
}
|
|
@@ -3891,7 +4012,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3891
4012
|
});
|
|
3892
4013
|
}
|
|
3893
4014
|
|
|
3894
|
-
function validate$
|
|
4015
|
+
function validate$x(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
3895
4016
|
const v_error = (() => {
|
|
3896
4017
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3897
4018
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3908,6 +4029,13 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3908
4029
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
3909
4030
|
}
|
|
3910
4031
|
}
|
|
4032
|
+
if (obj.cacheKey !== undefined) {
|
|
4033
|
+
const obj_cacheKey = obj.cacheKey;
|
|
4034
|
+
const path_cacheKey = path + '.cacheKey';
|
|
4035
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
4036
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
3911
4039
|
const obj_createdBy = obj.createdBy;
|
|
3912
4040
|
const path_createdBy = path + '.createdBy';
|
|
3913
4041
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -3958,6 +4086,20 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3958
4086
|
if (typeof obj_id !== 'string') {
|
|
3959
4087
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3960
4088
|
}
|
|
4089
|
+
if (obj.isKeyQualifier !== undefined) {
|
|
4090
|
+
const obj_isKeyQualifier = obj.isKeyQualifier;
|
|
4091
|
+
const path_isKeyQualifier = path + '.isKeyQualifier';
|
|
4092
|
+
if (typeof obj_isKeyQualifier !== 'boolean') {
|
|
4093
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4096
|
+
if (obj.isPrimaryKey !== undefined) {
|
|
4097
|
+
const obj_isPrimaryKey = obj.isPrimaryKey;
|
|
4098
|
+
const path_isPrimaryKey = path + '.isPrimaryKey';
|
|
4099
|
+
if (typeof obj_isPrimaryKey !== 'boolean') {
|
|
4100
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4101
|
+
}
|
|
4102
|
+
}
|
|
3961
4103
|
if (obj.isVisible !== undefined) {
|
|
3962
4104
|
const obj_isVisible = obj.isVisible;
|
|
3963
4105
|
const path_isVisible = path + '.isVisible';
|
|
@@ -3965,6 +4107,13 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3965
4107
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
3966
4108
|
}
|
|
3967
4109
|
}
|
|
4110
|
+
if (obj.keyQualifierName !== undefined) {
|
|
4111
|
+
const obj_keyQualifierName = obj.keyQualifierName;
|
|
4112
|
+
const path_keyQualifierName = path + '.keyQualifierName';
|
|
4113
|
+
if (typeof obj_keyQualifierName !== 'string') {
|
|
4114
|
+
return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
3968
4117
|
if (obj.label !== undefined) {
|
|
3969
4118
|
const obj_label = obj.label;
|
|
3970
4119
|
const path_label = path + '.label';
|
|
@@ -4004,7 +4153,7 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
4004
4153
|
return v_error === undefined ? null : v_error;
|
|
4005
4154
|
}
|
|
4006
4155
|
|
|
4007
|
-
function validate$
|
|
4156
|
+
function validate$w(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
4008
4157
|
const v_error = (() => {
|
|
4009
4158
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4010
4159
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4028,6 +4177,13 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4028
4177
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4029
4178
|
}
|
|
4030
4179
|
}
|
|
4180
|
+
if (obj.cacheKey !== undefined) {
|
|
4181
|
+
const obj_cacheKey = obj.cacheKey;
|
|
4182
|
+
const path_cacheKey = path + '.cacheKey';
|
|
4183
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
4184
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4031
4187
|
const obj_createdBy = obj.createdBy;
|
|
4032
4188
|
const path_createdBy = path + '.createdBy';
|
|
4033
4189
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -4092,6 +4248,20 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4092
4248
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
4093
4249
|
}
|
|
4094
4250
|
}
|
|
4251
|
+
if (obj.isKeyQualifier !== undefined) {
|
|
4252
|
+
const obj_isKeyQualifier = obj.isKeyQualifier;
|
|
4253
|
+
const path_isKeyQualifier = path + '.isKeyQualifier';
|
|
4254
|
+
if (typeof obj_isKeyQualifier !== 'boolean') {
|
|
4255
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4258
|
+
if (obj.isPrimaryKey !== undefined) {
|
|
4259
|
+
const obj_isPrimaryKey = obj.isPrimaryKey;
|
|
4260
|
+
const path_isPrimaryKey = path + '.isPrimaryKey';
|
|
4261
|
+
if (typeof obj_isPrimaryKey !== 'boolean') {
|
|
4262
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
|
|
4263
|
+
}
|
|
4264
|
+
}
|
|
4095
4265
|
if (obj.isVisible !== undefined) {
|
|
4096
4266
|
const obj_isVisible = obj.isVisible;
|
|
4097
4267
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4099,6 +4269,13 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4099
4269
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
4100
4270
|
}
|
|
4101
4271
|
}
|
|
4272
|
+
if (obj.keyQualifierName !== undefined) {
|
|
4273
|
+
const obj_keyQualifierName = obj.keyQualifierName;
|
|
4274
|
+
const path_keyQualifierName = path + '.keyQualifierName';
|
|
4275
|
+
if (typeof obj_keyQualifierName !== 'string') {
|
|
4276
|
+
return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4102
4279
|
if (obj.label !== undefined) {
|
|
4103
4280
|
const obj_label = obj.label;
|
|
4104
4281
|
const path_label = path + '.label';
|
|
@@ -4127,6 +4304,13 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4127
4304
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
4128
4305
|
}
|
|
4129
4306
|
}
|
|
4307
|
+
if (obj.sentiment !== undefined) {
|
|
4308
|
+
const obj_sentiment = obj.sentiment;
|
|
4309
|
+
const path_sentiment = path + '.sentiment';
|
|
4310
|
+
if (typeof obj_sentiment !== 'string') {
|
|
4311
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4130
4314
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
4131
4315
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
4132
4316
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -4145,8 +4329,8 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4145
4329
|
return v_error === undefined ? null : v_error;
|
|
4146
4330
|
}
|
|
4147
4331
|
|
|
4148
|
-
const VERSION$n = "
|
|
4149
|
-
function validate$
|
|
4332
|
+
const VERSION$n = "4f111b93807b811179eb310384efdc35";
|
|
4333
|
+
function validate$v(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4150
4334
|
const v_error = (() => {
|
|
4151
4335
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4152
4336
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4163,6 +4347,13 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4163
4347
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4164
4348
|
}
|
|
4165
4349
|
}
|
|
4350
|
+
if (obj.cacheKey !== undefined) {
|
|
4351
|
+
const obj_cacheKey = obj.cacheKey;
|
|
4352
|
+
const path_cacheKey = path + '.cacheKey';
|
|
4353
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
4354
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
4355
|
+
}
|
|
4356
|
+
}
|
|
4166
4357
|
const obj_createdBy = obj.createdBy;
|
|
4167
4358
|
const path_createdBy = path + '.createdBy';
|
|
4168
4359
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -4210,7 +4401,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4210
4401
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4211
4402
|
const obj_filters_item = obj_filters[i];
|
|
4212
4403
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4213
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4404
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
4214
4405
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4215
4406
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4216
4407
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4260,7 +4451,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4260
4451
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4261
4452
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4262
4453
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4263
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4454
|
+
const referencepath_semanticDimensions_itemValidationError = validate$x(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4264
4455
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4265
4456
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4266
4457
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4284,7 +4475,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4284
4475
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4285
4476
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4286
4477
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4287
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4478
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$w(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4288
4479
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4289
4480
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4290
4481
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4338,7 +4529,7 @@ function equals$n(existing, incoming) {
|
|
|
4338
4529
|
}
|
|
4339
4530
|
const ingest$d = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4340
4531
|
if (process.env.NODE_ENV !== 'production') {
|
|
4341
|
-
const validateError = validate$
|
|
4532
|
+
const validateError = validate$v(input);
|
|
4342
4533
|
if (validateError !== null) {
|
|
4343
4534
|
throw validateError;
|
|
4344
4535
|
}
|
|
@@ -4359,7 +4550,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4359
4550
|
}
|
|
4360
4551
|
|
|
4361
4552
|
const VERSION$m = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
4362
|
-
function validate$
|
|
4553
|
+
function validate$u(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4363
4554
|
const v_error = (() => {
|
|
4364
4555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4365
4556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4391,7 +4582,7 @@ function equals$m(existing, incoming) {
|
|
|
4391
4582
|
}
|
|
4392
4583
|
|
|
4393
4584
|
const VERSION$l = "2cdadcd630abb7b981b2d131880a68c0";
|
|
4394
|
-
function validate$
|
|
4585
|
+
function validate$t(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4395
4586
|
const v_error = (() => {
|
|
4396
4587
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4397
4588
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4465,7 +4656,7 @@ function equals$l(existing, incoming) {
|
|
|
4465
4656
|
}
|
|
4466
4657
|
|
|
4467
4658
|
const VERSION$k = "55c60b6207985632192cb4e419822a86";
|
|
4468
|
-
function validate$
|
|
4659
|
+
function validate$s(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4469
4660
|
const v_error = (() => {
|
|
4470
4661
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4471
4662
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4479,7 +4670,7 @@ function validate$m(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4479
4670
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
4480
4671
|
const obj_groups_item = obj_groups[i];
|
|
4481
4672
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
4482
|
-
const referencepath_groups_itemValidationError = validate$
|
|
4673
|
+
const referencepath_groups_itemValidationError = validate$t(obj_groups_item, path_groups_item);
|
|
4483
4674
|
if (referencepath_groups_itemValidationError !== null) {
|
|
4484
4675
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
4485
4676
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4555,7 +4746,7 @@ function equals$k(existing, incoming) {
|
|
|
4555
4746
|
}
|
|
4556
4747
|
|
|
4557
4748
|
const VERSION$j = "50dc390b159159afb1945b9a811c9f80";
|
|
4558
|
-
function validate$
|
|
4749
|
+
function validate$r(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
4559
4750
|
const v_error = (() => {
|
|
4560
4751
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4561
4752
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4563,7 +4754,7 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4563
4754
|
if (obj.binDimension !== undefined) {
|
|
4564
4755
|
const obj_binDimension = obj.binDimension;
|
|
4565
4756
|
const path_binDimension = path + '.binDimension';
|
|
4566
|
-
const referencepath_binDimensionValidationError = validate$
|
|
4757
|
+
const referencepath_binDimensionValidationError = validate$u(obj_binDimension, path_binDimension);
|
|
4567
4758
|
if (referencepath_binDimensionValidationError !== null) {
|
|
4568
4759
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
4569
4760
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4573,7 +4764,7 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4573
4764
|
if (obj.groupDimension !== undefined) {
|
|
4574
4765
|
const obj_groupDimension = obj.groupDimension;
|
|
4575
4766
|
const path_groupDimension = path + '.groupDimension';
|
|
4576
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
4767
|
+
const referencepath_groupDimensionValidationError = validate$s(obj_groupDimension, path_groupDimension);
|
|
4577
4768
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
4578
4769
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
4579
4770
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4637,7 +4828,7 @@ function equals$j(existing, incoming) {
|
|
|
4637
4828
|
}
|
|
4638
4829
|
|
|
4639
4830
|
const VERSION$i = "a2976cd68e629a917463a3b690cf2527";
|
|
4640
|
-
function validate$
|
|
4831
|
+
function validate$q(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
4641
4832
|
const v_error = (() => {
|
|
4642
4833
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4643
4834
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4709,7 +4900,7 @@ function equals$i(existing, incoming) {
|
|
|
4709
4900
|
}
|
|
4710
4901
|
|
|
4711
4902
|
const VERSION$h = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
4712
|
-
function validate$
|
|
4903
|
+
function validate$p(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
4713
4904
|
const v_error = (() => {
|
|
4714
4905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4715
4906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4724,7 +4915,7 @@ function validate$j(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
4724
4915
|
if (obj.tableFieldReference !== undefined) {
|
|
4725
4916
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
4726
4917
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
4727
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
4918
|
+
const referencepath_tableFieldReferenceValidationError = validate$q(obj_tableFieldReference, path_tableFieldReference);
|
|
4728
4919
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
4729
4920
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
4730
4921
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4785,8 +4976,8 @@ function equals$h(existing, incoming) {
|
|
|
4785
4976
|
return true;
|
|
4786
4977
|
}
|
|
4787
4978
|
|
|
4788
|
-
const VERSION$g = "
|
|
4789
|
-
function validate$
|
|
4979
|
+
const VERSION$g = "1daec40706bf767c719fa58831fad462";
|
|
4980
|
+
function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
4790
4981
|
const v_error = (() => {
|
|
4791
4982
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4792
4983
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4803,9 +4994,16 @@ function validate$i(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4803
4994
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4804
4995
|
}
|
|
4805
4996
|
}
|
|
4997
|
+
if (obj.cacheKey !== undefined) {
|
|
4998
|
+
const obj_cacheKey = obj.cacheKey;
|
|
4999
|
+
const path_cacheKey = path + '.cacheKey';
|
|
5000
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
5001
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
5002
|
+
}
|
|
5003
|
+
}
|
|
4806
5004
|
const obj_configuration = obj.configuration;
|
|
4807
5005
|
const path_configuration = path + '.configuration';
|
|
4808
|
-
const referencepath_configurationValidationError = validate$
|
|
5006
|
+
const referencepath_configurationValidationError = validate$r(obj_configuration, path_configuration);
|
|
4809
5007
|
if (referencepath_configurationValidationError !== null) {
|
|
4810
5008
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
4811
5009
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4830,7 +5028,7 @@ function validate$i(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4830
5028
|
}
|
|
4831
5029
|
const obj_fieldReference = obj.fieldReference;
|
|
4832
5030
|
const path_fieldReference = path + '.fieldReference';
|
|
4833
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5031
|
+
const referencepath_fieldReferenceValidationError = validate$p(obj_fieldReference, path_fieldReference);
|
|
4834
5032
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
4835
5033
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
4836
5034
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4900,6 +5098,11 @@ const select$q = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
4900
5098
|
kind: 'Scalar',
|
|
4901
5099
|
required: false
|
|
4902
5100
|
},
|
|
5101
|
+
{
|
|
5102
|
+
name: 'cacheKey',
|
|
5103
|
+
kind: 'Scalar',
|
|
5104
|
+
required: false
|
|
5105
|
+
},
|
|
4903
5106
|
{
|
|
4904
5107
|
name: 'configuration',
|
|
4905
5108
|
kind: 'Object',
|
|
@@ -4968,6 +5171,19 @@ function equals$g(existing, incoming) {
|
|
|
4968
5171
|
return false;
|
|
4969
5172
|
}
|
|
4970
5173
|
}
|
|
5174
|
+
const existing_cacheKey = existing.cacheKey;
|
|
5175
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
5176
|
+
// if at least one of these optionals is defined
|
|
5177
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
5178
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5179
|
+
// not equal
|
|
5180
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
5181
|
+
return false;
|
|
5182
|
+
}
|
|
5183
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
5184
|
+
return false;
|
|
5185
|
+
}
|
|
5186
|
+
}
|
|
4971
5187
|
const existing_createdBy = existing.createdBy;
|
|
4972
5188
|
const incoming_createdBy = incoming.createdBy;
|
|
4973
5189
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -5054,7 +5270,7 @@ function equals$g(existing, incoming) {
|
|
|
5054
5270
|
}
|
|
5055
5271
|
const ingest$c = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5056
5272
|
if (process.env.NODE_ENV !== 'production') {
|
|
5057
|
-
const validateError = validate$
|
|
5273
|
+
const validateError = validate$o(input);
|
|
5058
5274
|
if (validateError !== null) {
|
|
5059
5275
|
throw validateError;
|
|
5060
5276
|
}
|
|
@@ -5075,7 +5291,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5075
5291
|
}
|
|
5076
5292
|
|
|
5077
5293
|
const VERSION$f = "c5144c317ac72b60d580cab803514b8d";
|
|
5078
|
-
function validate$
|
|
5294
|
+
function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5079
5295
|
const v_error = (() => {
|
|
5080
5296
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5081
5297
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5221,8 +5437,8 @@ function equals$f(existing, incoming) {
|
|
|
5221
5437
|
return true;
|
|
5222
5438
|
}
|
|
5223
5439
|
|
|
5224
|
-
const VERSION$e = "
|
|
5225
|
-
function validate$
|
|
5440
|
+
const VERSION$e = "b9778dace5726fcb57804d3afd529246";
|
|
5441
|
+
function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5226
5442
|
const v_error = (() => {
|
|
5227
5443
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5228
5444
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5239,6 +5455,13 @@ function validate$g(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5239
5455
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5240
5456
|
}
|
|
5241
5457
|
}
|
|
5458
|
+
if (obj.cacheKey !== undefined) {
|
|
5459
|
+
const obj_cacheKey = obj.cacheKey;
|
|
5460
|
+
const path_cacheKey = path + '.cacheKey';
|
|
5461
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
5462
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5242
5465
|
if (obj.cardinality !== undefined) {
|
|
5243
5466
|
const obj_cardinality = obj.cardinality;
|
|
5244
5467
|
const path_cardinality = path + '.cardinality';
|
|
@@ -5265,7 +5488,7 @@ function validate$g(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5265
5488
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5266
5489
|
const obj_criteria_item = obj_criteria[i];
|
|
5267
5490
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5268
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
5491
|
+
const referencepath_criteria_itemValidationError = validate$n(obj_criteria_item, path_criteria_item);
|
|
5269
5492
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5270
5493
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5271
5494
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5373,6 +5596,11 @@ const select$o = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
5373
5596
|
kind: 'Scalar',
|
|
5374
5597
|
required: false
|
|
5375
5598
|
},
|
|
5599
|
+
{
|
|
5600
|
+
name: 'cacheKey',
|
|
5601
|
+
kind: 'Scalar',
|
|
5602
|
+
required: false
|
|
5603
|
+
},
|
|
5376
5604
|
{
|
|
5377
5605
|
name: 'cardinality',
|
|
5378
5606
|
kind: 'Scalar',
|
|
@@ -5477,6 +5705,19 @@ function equals$e(existing, incoming) {
|
|
|
5477
5705
|
return false;
|
|
5478
5706
|
}
|
|
5479
5707
|
}
|
|
5708
|
+
const existing_cacheKey = existing.cacheKey;
|
|
5709
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
5710
|
+
// if at least one of these optionals is defined
|
|
5711
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
5712
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5713
|
+
// not equal
|
|
5714
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
5715
|
+
return false;
|
|
5716
|
+
}
|
|
5717
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
5718
|
+
return false;
|
|
5719
|
+
}
|
|
5720
|
+
}
|
|
5480
5721
|
const existing_cardinality = existing.cardinality;
|
|
5481
5722
|
const incoming_cardinality = incoming.cardinality;
|
|
5482
5723
|
// if at least one of these optionals is defined
|
|
@@ -5631,7 +5872,7 @@ function equals$e(existing, incoming) {
|
|
|
5631
5872
|
}
|
|
5632
5873
|
const ingest$b = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5633
5874
|
if (process.env.NODE_ENV !== 'production') {
|
|
5634
|
-
const validateError = validate$
|
|
5875
|
+
const validateError = validate$m(input);
|
|
5635
5876
|
if (validateError !== null) {
|
|
5636
5877
|
throw validateError;
|
|
5637
5878
|
}
|
|
@@ -5651,8 +5892,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5651
5892
|
});
|
|
5652
5893
|
}
|
|
5653
5894
|
|
|
5654
|
-
const VERSION$d = "
|
|
5655
|
-
function validate$
|
|
5895
|
+
const VERSION$d = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
5896
|
+
function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
5656
5897
|
const v_error = (() => {
|
|
5657
5898
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5658
5899
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5669,6 +5910,13 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5669
5910
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5670
5911
|
}
|
|
5671
5912
|
}
|
|
5913
|
+
if (obj.cacheKey !== undefined) {
|
|
5914
|
+
const obj_cacheKey = obj.cacheKey;
|
|
5915
|
+
const path_cacheKey = path + '.cacheKey';
|
|
5916
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
5917
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
5918
|
+
}
|
|
5919
|
+
}
|
|
5672
5920
|
const obj_createdBy = obj.createdBy;
|
|
5673
5921
|
const path_createdBy = path + '.createdBy';
|
|
5674
5922
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5695,7 +5943,7 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5695
5943
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
5696
5944
|
const obj_fields_item = obj_fields[i];
|
|
5697
5945
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
5698
|
-
const referencepath_fields_itemValidationError = validate$
|
|
5946
|
+
const referencepath_fields_itemValidationError = validate$q(obj_fields_item, path_fields_item);
|
|
5699
5947
|
if (referencepath_fields_itemValidationError !== null) {
|
|
5700
5948
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
5701
5949
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5739,7 +5987,7 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5739
5987
|
if (obj.semanticDimension !== undefined) {
|
|
5740
5988
|
const obj_semanticDimension = obj.semanticDimension;
|
|
5741
5989
|
const path_semanticDimension = path + '.semanticDimension';
|
|
5742
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
5990
|
+
const referencepath_semanticDimensionValidationError = validate$x(obj_semanticDimension, path_semanticDimension);
|
|
5743
5991
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
5744
5992
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
5745
5993
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5749,7 +5997,7 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5749
5997
|
if (obj.semanticMeasurement !== undefined) {
|
|
5750
5998
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
5751
5999
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
5752
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6000
|
+
const referencepath_semanticMeasurementValidationError = validate$w(obj_semanticMeasurement, path_semanticMeasurement);
|
|
5753
6001
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
5754
6002
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
5755
6003
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5788,7 +6036,7 @@ function equals$d(existing, incoming) {
|
|
|
5788
6036
|
}
|
|
5789
6037
|
const ingest$a = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5790
6038
|
if (process.env.NODE_ENV !== 'production') {
|
|
5791
|
-
const validateError = validate$
|
|
6039
|
+
const validateError = validate$l(input);
|
|
5792
6040
|
if (validateError !== null) {
|
|
5793
6041
|
throw validateError;
|
|
5794
6042
|
}
|
|
@@ -5808,8 +6056,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5808
6056
|
});
|
|
5809
6057
|
}
|
|
5810
6058
|
|
|
5811
|
-
const VERSION$c = "
|
|
5812
|
-
function validate$
|
|
6059
|
+
const VERSION$c = "69fe23112140e9fae50135dcb15c24c2";
|
|
6060
|
+
function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
5813
6061
|
const v_error = (() => {
|
|
5814
6062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5815
6063
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5826,6 +6074,13 @@ function validate$e(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
5826
6074
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5827
6075
|
}
|
|
5828
6076
|
}
|
|
6077
|
+
if (obj.cacheKey !== undefined) {
|
|
6078
|
+
const obj_cacheKey = obj.cacheKey;
|
|
6079
|
+
const path_cacheKey = path + '.cacheKey';
|
|
6080
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
6081
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
5829
6084
|
const obj_createdBy = obj.createdBy;
|
|
5830
6085
|
const path_createdBy = path + '.createdBy';
|
|
5831
6086
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5992,6 +6247,11 @@ const select$m = function SemanticUnionOutputRepresentationSelect() {
|
|
|
5992
6247
|
kind: 'Scalar',
|
|
5993
6248
|
required: false
|
|
5994
6249
|
},
|
|
6250
|
+
{
|
|
6251
|
+
name: 'cacheKey',
|
|
6252
|
+
kind: 'Scalar',
|
|
6253
|
+
required: false
|
|
6254
|
+
},
|
|
5995
6255
|
{
|
|
5996
6256
|
name: 'createdBy',
|
|
5997
6257
|
kind: 'Scalar'
|
|
@@ -6065,6 +6325,19 @@ function equals$c(existing, incoming) {
|
|
|
6065
6325
|
return false;
|
|
6066
6326
|
}
|
|
6067
6327
|
}
|
|
6328
|
+
const existing_cacheKey = existing.cacheKey;
|
|
6329
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
6330
|
+
// if at least one of these optionals is defined
|
|
6331
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
6332
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6333
|
+
// not equal
|
|
6334
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
6335
|
+
return false;
|
|
6336
|
+
}
|
|
6337
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
6338
|
+
return false;
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6068
6341
|
const existing_createdBy = existing.createdBy;
|
|
6069
6342
|
const incoming_createdBy = incoming.createdBy;
|
|
6070
6343
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -6185,7 +6458,7 @@ function equals$c(existing, incoming) {
|
|
|
6185
6458
|
}
|
|
6186
6459
|
const ingest$9 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6187
6460
|
if (process.env.NODE_ENV !== 'production') {
|
|
6188
|
-
const validateError = validate$
|
|
6461
|
+
const validateError = validate$k(input);
|
|
6189
6462
|
if (validateError !== null) {
|
|
6190
6463
|
throw validateError;
|
|
6191
6464
|
}
|
|
@@ -6217,8 +6490,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6217
6490
|
}
|
|
6218
6491
|
}
|
|
6219
6492
|
|
|
6220
|
-
const VERSION$b = "
|
|
6221
|
-
function validate$
|
|
6493
|
+
const VERSION$b = "281e0163ea1fc7d956974394f5310216";
|
|
6494
|
+
function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6222
6495
|
const v_error = (() => {
|
|
6223
6496
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6224
6497
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6235,6 +6508,13 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6235
6508
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
6236
6509
|
}
|
|
6237
6510
|
}
|
|
6511
|
+
if (obj.cacheKey !== undefined) {
|
|
6512
|
+
const obj_cacheKey = obj.cacheKey;
|
|
6513
|
+
const path_cacheKey = path + '.cacheKey';
|
|
6514
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
6515
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
6516
|
+
}
|
|
6517
|
+
}
|
|
6238
6518
|
const obj_createdBy = obj.createdBy;
|
|
6239
6519
|
const path_createdBy = path + '.createdBy';
|
|
6240
6520
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -6245,6 +6525,13 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6245
6525
|
if (typeof obj_createdDate !== 'string') {
|
|
6246
6526
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
6247
6527
|
}
|
|
6528
|
+
if (obj.customSql !== undefined) {
|
|
6529
|
+
const obj_customSql = obj.customSql;
|
|
6530
|
+
const path_customSql = path + '.customSql';
|
|
6531
|
+
if (typeof obj_customSql !== 'string') {
|
|
6532
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
|
|
6533
|
+
}
|
|
6534
|
+
}
|
|
6248
6535
|
if (obj.description !== undefined) {
|
|
6249
6536
|
const obj_description = obj.description;
|
|
6250
6537
|
const path_description = path + '.description';
|
|
@@ -6268,7 +6555,7 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6268
6555
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6269
6556
|
const obj_filters_item = obj_filters[i];
|
|
6270
6557
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6271
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6558
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
6272
6559
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6273
6560
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6274
6561
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6344,6 +6631,13 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6344
6631
|
}
|
|
6345
6632
|
}
|
|
6346
6633
|
}
|
|
6634
|
+
if (obj.semanticViewTypeEnum !== undefined) {
|
|
6635
|
+
const obj_semanticViewTypeEnum = obj.semanticViewTypeEnum;
|
|
6636
|
+
const path_semanticViewTypeEnum = path + '.semanticViewTypeEnum';
|
|
6637
|
+
if (typeof obj_semanticViewTypeEnum !== 'string') {
|
|
6638
|
+
return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
|
|
6639
|
+
}
|
|
6640
|
+
}
|
|
6347
6641
|
})();
|
|
6348
6642
|
return v_error === undefined ? null : v_error;
|
|
6349
6643
|
}
|
|
@@ -6430,6 +6724,11 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6430
6724
|
kind: 'Scalar',
|
|
6431
6725
|
required: false
|
|
6432
6726
|
},
|
|
6727
|
+
{
|
|
6728
|
+
name: 'cacheKey',
|
|
6729
|
+
kind: 'Scalar',
|
|
6730
|
+
required: false
|
|
6731
|
+
},
|
|
6433
6732
|
{
|
|
6434
6733
|
name: 'createdBy',
|
|
6435
6734
|
kind: 'Scalar'
|
|
@@ -6438,6 +6737,11 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6438
6737
|
name: 'createdDate',
|
|
6439
6738
|
kind: 'Scalar'
|
|
6440
6739
|
},
|
|
6740
|
+
{
|
|
6741
|
+
name: 'customSql',
|
|
6742
|
+
kind: 'Scalar',
|
|
6743
|
+
required: false
|
|
6744
|
+
},
|
|
6441
6745
|
{
|
|
6442
6746
|
name: 'description',
|
|
6443
6747
|
kind: 'Scalar',
|
|
@@ -6494,6 +6798,11 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6494
6798
|
plural: true,
|
|
6495
6799
|
required: false,
|
|
6496
6800
|
fragment: select$m()
|
|
6801
|
+
},
|
|
6802
|
+
{
|
|
6803
|
+
name: 'semanticViewTypeEnum',
|
|
6804
|
+
kind: 'Scalar',
|
|
6805
|
+
required: false
|
|
6497
6806
|
}
|
|
6498
6807
|
]
|
|
6499
6808
|
};
|
|
@@ -6517,6 +6826,19 @@ function equals$b(existing, incoming) {
|
|
|
6517
6826
|
return false;
|
|
6518
6827
|
}
|
|
6519
6828
|
}
|
|
6829
|
+
const existing_cacheKey = existing.cacheKey;
|
|
6830
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
6831
|
+
// if at least one of these optionals is defined
|
|
6832
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
6833
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6834
|
+
// not equal
|
|
6835
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
6836
|
+
return false;
|
|
6837
|
+
}
|
|
6838
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
6839
|
+
return false;
|
|
6840
|
+
}
|
|
6841
|
+
}
|
|
6520
6842
|
const existing_createdBy = existing.createdBy;
|
|
6521
6843
|
const incoming_createdBy = incoming.createdBy;
|
|
6522
6844
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -6527,6 +6849,19 @@ function equals$b(existing, incoming) {
|
|
|
6527
6849
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
6528
6850
|
return false;
|
|
6529
6851
|
}
|
|
6852
|
+
const existing_customSql = existing.customSql;
|
|
6853
|
+
const incoming_customSql = incoming.customSql;
|
|
6854
|
+
// if at least one of these optionals is defined
|
|
6855
|
+
if (existing_customSql !== undefined || incoming_customSql !== undefined) {
|
|
6856
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6857
|
+
// not equal
|
|
6858
|
+
if (existing_customSql === undefined || incoming_customSql === undefined) {
|
|
6859
|
+
return false;
|
|
6860
|
+
}
|
|
6861
|
+
if (!(existing_customSql === incoming_customSql)) {
|
|
6862
|
+
return false;
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6530
6865
|
const existing_description = existing.description;
|
|
6531
6866
|
const incoming_description = incoming.description;
|
|
6532
6867
|
// if at least one of these optionals is defined
|
|
@@ -6597,6 +6932,19 @@ function equals$b(existing, incoming) {
|
|
|
6597
6932
|
return false;
|
|
6598
6933
|
}
|
|
6599
6934
|
}
|
|
6935
|
+
const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
|
|
6936
|
+
const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
|
|
6937
|
+
// if at least one of these optionals is defined
|
|
6938
|
+
if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
|
|
6939
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
6940
|
+
// not equal
|
|
6941
|
+
if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
|
|
6942
|
+
return false;
|
|
6943
|
+
}
|
|
6944
|
+
if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
|
|
6945
|
+
return false;
|
|
6946
|
+
}
|
|
6947
|
+
}
|
|
6600
6948
|
const existing_filters = existing.filters;
|
|
6601
6949
|
const incoming_filters = incoming.filters;
|
|
6602
6950
|
// if at least one of these optionals is defined
|
|
@@ -6673,7 +7021,7 @@ function equals$b(existing, incoming) {
|
|
|
6673
7021
|
}
|
|
6674
7022
|
const ingest$8 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6675
7023
|
if (process.env.NODE_ENV !== 'production') {
|
|
6676
|
-
const validateError = validate$
|
|
7024
|
+
const validateError = validate$j(input);
|
|
6677
7025
|
if (validateError !== null) {
|
|
6678
7026
|
throw validateError;
|
|
6679
7027
|
}
|
|
@@ -6712,7 +7060,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6712
7060
|
}
|
|
6713
7061
|
|
|
6714
7062
|
const VERSION$a = "a50848c632bb205d5e910bb726d9219e";
|
|
6715
|
-
function validate$
|
|
7063
|
+
function validate$i(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
6716
7064
|
const v_error = (() => {
|
|
6717
7065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6718
7066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6720,7 +7068,7 @@ function validate$c(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6720
7068
|
if (obj.identifierDimensionReference !== undefined) {
|
|
6721
7069
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
6722
7070
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
6723
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7071
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$p(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
6724
7072
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
6725
7073
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
6726
7074
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6730,7 +7078,7 @@ function validate$c(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6730
7078
|
if (obj.namingDimensionReference !== undefined) {
|
|
6731
7079
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
6732
7080
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
6733
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
7081
|
+
const referencepath_namingDimensionReferenceValidationError = validate$p(obj_namingDimensionReference, path_namingDimensionReference);
|
|
6734
7082
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
6735
7083
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
6736
7084
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6793,7 +7141,7 @@ function equals$a(existing, incoming) {
|
|
|
6793
7141
|
}
|
|
6794
7142
|
|
|
6795
7143
|
const VERSION$9 = "1b8cf2283d5d5c480459506274f0604c";
|
|
6796
|
-
function validate$
|
|
7144
|
+
function validate$h(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
6797
7145
|
const v_error = (() => {
|
|
6798
7146
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6799
7147
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6865,7 +7213,7 @@ function equals$9(existing, incoming) {
|
|
|
6865
7213
|
}
|
|
6866
7214
|
|
|
6867
7215
|
const VERSION$8 = "a3f5972287be7bcf9ca205af56046a58";
|
|
6868
|
-
function validate$
|
|
7216
|
+
function validate$g(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
6869
7217
|
const v_error = (() => {
|
|
6870
7218
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6871
7219
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6873,7 +7221,7 @@ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6873
7221
|
if (obj.identifyingDimension !== undefined) {
|
|
6874
7222
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
6875
7223
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
6876
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
7224
|
+
const referencepath_identifyingDimensionValidationError = validate$i(obj_identifyingDimension, path_identifyingDimension);
|
|
6877
7225
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
6878
7226
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
6879
7227
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6889,7 +7237,7 @@ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6889
7237
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
6890
7238
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
6891
7239
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
6892
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
7240
|
+
const referencepath_insightTypes_itemValidationError = validate$h(obj_insightTypes_item, path_insightTypes_item);
|
|
6893
7241
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
6894
7242
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
6895
7243
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6906,7 +7254,7 @@ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6906
7254
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
6907
7255
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
6908
7256
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
6909
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
7257
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$p(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
6910
7258
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
6911
7259
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
6912
7260
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7077,8 +7425,8 @@ function equals$8(existing, incoming) {
|
|
|
7077
7425
|
return true;
|
|
7078
7426
|
}
|
|
7079
7427
|
|
|
7080
|
-
const VERSION$7 = "
|
|
7081
|
-
function validate$
|
|
7428
|
+
const VERSION$7 = "0873ccd85b32d14c753931243d20ac8b";
|
|
7429
|
+
function validate$f(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7082
7430
|
const v_error = (() => {
|
|
7083
7431
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7084
7432
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7092,7 +7440,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7092
7440
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7093
7441
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7094
7442
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7095
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
7443
|
+
const referencepath_additionalDimensions_itemValidationError = validate$p(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7096
7444
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7097
7445
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7098
7446
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7119,6 +7467,13 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7119
7467
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
7120
7468
|
}
|
|
7121
7469
|
}
|
|
7470
|
+
if (obj.cacheKey !== undefined) {
|
|
7471
|
+
const obj_cacheKey = obj.cacheKey;
|
|
7472
|
+
const path_cacheKey = path + '.cacheKey';
|
|
7473
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
7474
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
7475
|
+
}
|
|
7476
|
+
}
|
|
7122
7477
|
const obj_createdBy = obj.createdBy;
|
|
7123
7478
|
const path_createdBy = path + '.createdBy';
|
|
7124
7479
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7152,7 +7507,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7152
7507
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7153
7508
|
const obj_filters_item = obj_filters[i];
|
|
7154
7509
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7155
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7510
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
7156
7511
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7157
7512
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7158
7513
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7168,7 +7523,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7168
7523
|
if (obj.insightsSettings !== undefined) {
|
|
7169
7524
|
const obj_insightsSettings = obj.insightsSettings;
|
|
7170
7525
|
const path_insightsSettings = path + '.insightsSettings';
|
|
7171
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
7526
|
+
const referencepath_insightsSettingsValidationError = validate$g(obj_insightsSettings, path_insightsSettings);
|
|
7172
7527
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
7173
7528
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
7174
7529
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7206,7 +7561,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7206
7561
|
if (obj.measurementReference !== undefined) {
|
|
7207
7562
|
const obj_measurementReference = obj.measurementReference;
|
|
7208
7563
|
const path_measurementReference = path + '.measurementReference';
|
|
7209
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
7564
|
+
const referencepath_measurementReferenceValidationError = validate$p(obj_measurementReference, path_measurementReference);
|
|
7210
7565
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
7211
7566
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
7212
7567
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7216,7 +7571,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7216
7571
|
if (obj.timeDimensionReference !== undefined) {
|
|
7217
7572
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
7218
7573
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
7219
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
7574
|
+
const referencepath_timeDimensionReferenceValidationError = validate$p(obj_timeDimensionReference, path_timeDimensionReference);
|
|
7220
7575
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
7221
7576
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
7222
7577
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7283,6 +7638,11 @@ const select$h = function SemanticMetricOutputRepresentationSelect() {
|
|
|
7283
7638
|
kind: 'Scalar',
|
|
7284
7639
|
required: false
|
|
7285
7640
|
},
|
|
7641
|
+
{
|
|
7642
|
+
name: 'cacheKey',
|
|
7643
|
+
kind: 'Scalar',
|
|
7644
|
+
required: false
|
|
7645
|
+
},
|
|
7286
7646
|
{
|
|
7287
7647
|
name: 'createdBy',
|
|
7288
7648
|
kind: 'Scalar'
|
|
@@ -7404,6 +7764,19 @@ function equals$7(existing, incoming) {
|
|
|
7404
7764
|
return false;
|
|
7405
7765
|
}
|
|
7406
7766
|
}
|
|
7767
|
+
const existing_cacheKey = existing.cacheKey;
|
|
7768
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
7769
|
+
// if at least one of these optionals is defined
|
|
7770
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
7771
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
7772
|
+
// not equal
|
|
7773
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
7774
|
+
return false;
|
|
7775
|
+
}
|
|
7776
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
7777
|
+
return false;
|
|
7778
|
+
}
|
|
7779
|
+
}
|
|
7407
7780
|
const existing_createdBy = existing.createdBy;
|
|
7408
7781
|
const incoming_createdBy = incoming.createdBy;
|
|
7409
7782
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -7581,7 +7954,7 @@ function equals$7(existing, incoming) {
|
|
|
7581
7954
|
}
|
|
7582
7955
|
const ingest$7 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7583
7956
|
if (process.env.NODE_ENV !== 'production') {
|
|
7584
|
-
const validateError = validate$
|
|
7957
|
+
const validateError = validate$f(input);
|
|
7585
7958
|
if (validateError !== null) {
|
|
7586
7959
|
throw validateError;
|
|
7587
7960
|
}
|
|
@@ -7601,8 +7974,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7601
7974
|
});
|
|
7602
7975
|
}
|
|
7603
7976
|
|
|
7604
|
-
const VERSION$6 = "
|
|
7605
|
-
function validate$
|
|
7977
|
+
const VERSION$6 = "562f9618d0de907973cf252f01ea567d";
|
|
7978
|
+
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
7606
7979
|
const v_error = (() => {
|
|
7607
7980
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7608
7981
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7619,6 +7992,13 @@ function validate$8(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
7619
7992
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
7620
7993
|
}
|
|
7621
7994
|
}
|
|
7995
|
+
if (obj.cacheKey !== undefined) {
|
|
7996
|
+
const obj_cacheKey = obj.cacheKey;
|
|
7997
|
+
const path_cacheKey = path + '.cacheKey';
|
|
7998
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
7999
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
8000
|
+
}
|
|
8001
|
+
}
|
|
7622
8002
|
const obj_createdBy = obj.createdBy;
|
|
7623
8003
|
const path_createdBy = path + '.createdBy';
|
|
7624
8004
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7749,6 +8129,11 @@ const select$g = function SemanticParameterOutputRepresentationSelect() {
|
|
|
7749
8129
|
kind: 'Scalar',
|
|
7750
8130
|
required: false
|
|
7751
8131
|
},
|
|
8132
|
+
{
|
|
8133
|
+
name: 'cacheKey',
|
|
8134
|
+
kind: 'Scalar',
|
|
8135
|
+
required: false
|
|
8136
|
+
},
|
|
7752
8137
|
{
|
|
7753
8138
|
name: 'createdBy',
|
|
7754
8139
|
kind: 'Scalar'
|
|
@@ -7839,6 +8224,19 @@ function equals$6(existing, incoming) {
|
|
|
7839
8224
|
return false;
|
|
7840
8225
|
}
|
|
7841
8226
|
}
|
|
8227
|
+
const existing_cacheKey = existing.cacheKey;
|
|
8228
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
8229
|
+
// if at least one of these optionals is defined
|
|
8230
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
8231
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
8232
|
+
// not equal
|
|
8233
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
8234
|
+
return false;
|
|
8235
|
+
}
|
|
8236
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
8237
|
+
return false;
|
|
8238
|
+
}
|
|
8239
|
+
}
|
|
7842
8240
|
const existing_createdBy = existing.createdBy;
|
|
7843
8241
|
const incoming_createdBy = incoming.createdBy;
|
|
7844
8242
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -8006,7 +8404,7 @@ function equals$6(existing, incoming) {
|
|
|
8006
8404
|
}
|
|
8007
8405
|
const ingest$6 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8008
8406
|
if (process.env.NODE_ENV !== 'production') {
|
|
8009
|
-
const validateError = validate$
|
|
8407
|
+
const validateError = validate$e(input);
|
|
8010
8408
|
if (validateError !== null) {
|
|
8011
8409
|
throw validateError;
|
|
8012
8410
|
}
|
|
@@ -8026,8 +8424,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8026
8424
|
});
|
|
8027
8425
|
}
|
|
8028
8426
|
|
|
8029
|
-
const VERSION$5 = "
|
|
8030
|
-
function validate$
|
|
8427
|
+
const VERSION$5 = "5cda82e85d7322d459ba16b10b81ee96";
|
|
8428
|
+
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8031
8429
|
const v_error = (() => {
|
|
8032
8430
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8033
8431
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8060,7 +8458,7 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8060
8458
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8061
8459
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8062
8460
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8063
|
-
const referencepath_baseModels_itemValidationError = validate
|
|
8461
|
+
const referencepath_baseModels_itemValidationError = validate$$(obj_baseModels_item, path_baseModels_item);
|
|
8064
8462
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8065
8463
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8066
8464
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8068,6 +8466,13 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8068
8466
|
}
|
|
8069
8467
|
}
|
|
8070
8468
|
}
|
|
8469
|
+
if (obj.cacheKey !== undefined) {
|
|
8470
|
+
const obj_cacheKey = obj.cacheKey;
|
|
8471
|
+
const path_cacheKey = path + '.cacheKey';
|
|
8472
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
8473
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
8474
|
+
}
|
|
8475
|
+
}
|
|
8071
8476
|
if (obj.categories !== undefined) {
|
|
8072
8477
|
const obj_categories = obj.categories;
|
|
8073
8478
|
const path_categories = path + '.categories';
|
|
@@ -8109,10 +8514,12 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8109
8514
|
if (typeof obj_id !== 'string') {
|
|
8110
8515
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8111
8516
|
}
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8517
|
+
if (obj.isLocked !== undefined) {
|
|
8518
|
+
const obj_isLocked = obj.isLocked;
|
|
8519
|
+
const path_isLocked = path + '.isLocked';
|
|
8520
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
8521
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
8522
|
+
}
|
|
8116
8523
|
}
|
|
8117
8524
|
if (obj.label !== undefined) {
|
|
8118
8525
|
const obj_label = obj.label;
|
|
@@ -8519,6 +8926,11 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8519
8926
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
8520
8927
|
required: false
|
|
8521
8928
|
},
|
|
8929
|
+
{
|
|
8930
|
+
name: 'cacheKey',
|
|
8931
|
+
kind: 'Scalar',
|
|
8932
|
+
required: false
|
|
8933
|
+
},
|
|
8522
8934
|
{
|
|
8523
8935
|
name: 'categories',
|
|
8524
8936
|
kind: 'Scalar',
|
|
@@ -8548,7 +8960,8 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8548
8960
|
},
|
|
8549
8961
|
{
|
|
8550
8962
|
name: 'isLocked',
|
|
8551
|
-
kind: 'Scalar'
|
|
8963
|
+
kind: 'Scalar',
|
|
8964
|
+
required: false
|
|
8552
8965
|
},
|
|
8553
8966
|
{
|
|
8554
8967
|
name: 'label',
|
|
@@ -8672,8 +9085,16 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8672
9085
|
function equals$5(existing, incoming) {
|
|
8673
9086
|
const existing_isLocked = existing.isLocked;
|
|
8674
9087
|
const incoming_isLocked = incoming.isLocked;
|
|
8675
|
-
if
|
|
8676
|
-
|
|
9088
|
+
// if at least one of these optionals is defined
|
|
9089
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
9090
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9091
|
+
// not equal
|
|
9092
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
9093
|
+
return false;
|
|
9094
|
+
}
|
|
9095
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
9096
|
+
return false;
|
|
9097
|
+
}
|
|
8677
9098
|
}
|
|
8678
9099
|
const existing_apiName = existing.apiName;
|
|
8679
9100
|
const incoming_apiName = incoming.apiName;
|
|
@@ -8706,6 +9127,19 @@ function equals$5(existing, incoming) {
|
|
|
8706
9127
|
return false;
|
|
8707
9128
|
}
|
|
8708
9129
|
}
|
|
9130
|
+
const existing_cacheKey = existing.cacheKey;
|
|
9131
|
+
const incoming_cacheKey = incoming.cacheKey;
|
|
9132
|
+
// if at least one of these optionals is defined
|
|
9133
|
+
if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
|
|
9134
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
9135
|
+
// not equal
|
|
9136
|
+
if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
|
|
9137
|
+
return false;
|
|
9138
|
+
}
|
|
9139
|
+
if (!(existing_cacheKey === incoming_cacheKey)) {
|
|
9140
|
+
return false;
|
|
9141
|
+
}
|
|
9142
|
+
}
|
|
8709
9143
|
const existing_createdBy = existing.createdBy;
|
|
8710
9144
|
const incoming_createdBy = incoming.createdBy;
|
|
8711
9145
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -9079,7 +9513,7 @@ function equals$5(existing, incoming) {
|
|
|
9079
9513
|
}
|
|
9080
9514
|
const ingest$5 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9081
9515
|
if (process.env.NODE_ENV !== 'production') {
|
|
9082
|
-
const validateError = validate$
|
|
9516
|
+
const validateError = validate$d(input);
|
|
9083
9517
|
if (validateError !== null) {
|
|
9084
9518
|
throw validateError;
|
|
9085
9519
|
}
|
|
@@ -9215,7 +9649,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9215
9649
|
const untrustedConfig_baseModels_array = [];
|
|
9216
9650
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9217
9651
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9218
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
9652
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Y(untrustedConfig_baseModels_item);
|
|
9219
9653
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9220
9654
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9221
9655
|
}
|
|
@@ -9227,7 +9661,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9227
9661
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9228
9662
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9229
9663
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9230
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
9664
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9231
9665
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9232
9666
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9233
9667
|
}
|
|
@@ -9239,7 +9673,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9239
9673
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9240
9674
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9241
9675
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9242
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
9676
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9243
9677
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9244
9678
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9245
9679
|
}
|
|
@@ -9251,7 +9685,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9251
9685
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9252
9686
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9253
9687
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9254
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
9688
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
9255
9689
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9256
9690
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9257
9691
|
}
|
|
@@ -9263,7 +9697,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9263
9697
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9264
9698
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9265
9699
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9266
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
9700
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
9267
9701
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9268
9702
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9269
9703
|
}
|
|
@@ -9275,7 +9709,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9275
9709
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9276
9710
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9277
9711
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9278
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
9712
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
9279
9713
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9280
9714
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9281
9715
|
}
|
|
@@ -9287,7 +9721,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9287
9721
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9288
9722
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9289
9723
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9290
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
9724
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
9291
9725
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9292
9726
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9293
9727
|
}
|
|
@@ -9299,7 +9733,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9299
9733
|
const untrustedConfig_semanticParameters_array = [];
|
|
9300
9734
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9301
9735
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9302
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
9736
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
9303
9737
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9304
9738
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9305
9739
|
}
|
|
@@ -9311,7 +9745,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9311
9745
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9312
9746
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9313
9747
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9314
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
9748
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
9315
9749
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9316
9750
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9317
9751
|
}
|
|
@@ -9415,6 +9849,7 @@ const getSemanticModel_ConfigPropertyMetadata = [
|
|
|
9415
9849
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9416
9850
|
generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9417
9851
|
generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9852
|
+
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9418
9853
|
];
|
|
9419
9854
|
const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticModel_ConfigPropertyMetadata);
|
|
9420
9855
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(getSemanticModel_ConfigPropertyMetadata);
|
|
@@ -9567,7 +10002,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9567
10002
|
const untrustedConfig_baseModels_array = [];
|
|
9568
10003
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9569
10004
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9570
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10005
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Y(untrustedConfig_baseModels_item);
|
|
9571
10006
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9572
10007
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9573
10008
|
}
|
|
@@ -9579,7 +10014,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9579
10014
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9580
10015
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9581
10016
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9582
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10017
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9583
10018
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9584
10019
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9585
10020
|
}
|
|
@@ -9591,7 +10026,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9591
10026
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9592
10027
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9593
10028
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9594
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10029
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9595
10030
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9596
10031
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9597
10032
|
}
|
|
@@ -9603,7 +10038,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9603
10038
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9604
10039
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9605
10040
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9606
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10041
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
9607
10042
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9608
10043
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9609
10044
|
}
|
|
@@ -9615,7 +10050,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9615
10050
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9616
10051
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9617
10052
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9618
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10053
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
9619
10054
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9620
10055
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9621
10056
|
}
|
|
@@ -9627,7 +10062,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9627
10062
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9628
10063
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9629
10064
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9630
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10065
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
9631
10066
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9632
10067
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9633
10068
|
}
|
|
@@ -9639,7 +10074,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9639
10074
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9640
10075
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9641
10076
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9642
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10077
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
9643
10078
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9644
10079
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9645
10080
|
}
|
|
@@ -9651,7 +10086,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9651
10086
|
const untrustedConfig_semanticParameters_array = [];
|
|
9652
10087
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9653
10088
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9654
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10089
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
9655
10090
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9656
10091
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9657
10092
|
}
|
|
@@ -9663,7 +10098,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9663
10098
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9664
10099
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9665
10100
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9666
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10101
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
9667
10102
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9668
10103
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9669
10104
|
}
|
|
@@ -9714,23 +10149,88 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
9714
10149
|
};
|
|
9715
10150
|
};
|
|
9716
10151
|
|
|
9717
|
-
function validate$
|
|
10152
|
+
function validate$c(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
|
|
10153
|
+
const v_error = (() => {
|
|
10154
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10155
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10156
|
+
}
|
|
10157
|
+
if (obj.endDate !== undefined) {
|
|
10158
|
+
const obj_endDate = obj.endDate;
|
|
10159
|
+
const path_endDate = path + '.endDate';
|
|
10160
|
+
if (typeof obj_endDate !== 'string') {
|
|
10161
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
10162
|
+
}
|
|
10163
|
+
}
|
|
10164
|
+
if (obj.startDate !== undefined) {
|
|
10165
|
+
const obj_startDate = obj.startDate;
|
|
10166
|
+
const path_startDate = path + '.startDate';
|
|
10167
|
+
if (typeof obj_startDate !== 'string') {
|
|
10168
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
10169
|
+
}
|
|
10170
|
+
}
|
|
10171
|
+
})();
|
|
10172
|
+
return v_error === undefined ? null : v_error;
|
|
10173
|
+
}
|
|
10174
|
+
|
|
10175
|
+
function validate$b(obj, path = 'SemanticGoalValueOutputRepresentation') {
|
|
10176
|
+
const v_error = (() => {
|
|
10177
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10178
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10179
|
+
}
|
|
10180
|
+
if (obj.staticValue !== undefined) {
|
|
10181
|
+
obj.staticValue;
|
|
10182
|
+
}
|
|
10183
|
+
})();
|
|
10184
|
+
return v_error === undefined ? null : v_error;
|
|
10185
|
+
}
|
|
10186
|
+
|
|
10187
|
+
function validate$a(obj, path = 'SemanticMetricGoalOutputRepresentation') {
|
|
10188
|
+
const v_error = (() => {
|
|
10189
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10190
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10191
|
+
}
|
|
10192
|
+
const obj_date = obj.date;
|
|
10193
|
+
const path_date = path + '.date';
|
|
10194
|
+
const referencepath_dateValidationError = validate$c(obj_date, path_date);
|
|
10195
|
+
if (referencepath_dateValidationError !== null) {
|
|
10196
|
+
let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_date + '")\n';
|
|
10197
|
+
message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10198
|
+
return new TypeError(message);
|
|
10199
|
+
}
|
|
10200
|
+
const obj_goalType = obj.goalType;
|
|
10201
|
+
const path_goalType = path + '.goalType';
|
|
10202
|
+
if (typeof obj_goalType !== 'string') {
|
|
10203
|
+
return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
|
|
10204
|
+
}
|
|
10205
|
+
const obj_value = obj.value;
|
|
10206
|
+
const path_value = path + '.value';
|
|
10207
|
+
const referencepath_valueValidationError = validate$b(obj_value, path_value);
|
|
10208
|
+
if (referencepath_valueValidationError !== null) {
|
|
10209
|
+
let message = 'Object doesn\'t match SemanticGoalValueOutputRepresentation (at "' + path_value + '")\n';
|
|
10210
|
+
message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10211
|
+
return new TypeError(message);
|
|
10212
|
+
}
|
|
10213
|
+
})();
|
|
10214
|
+
return v_error === undefined ? null : v_error;
|
|
10215
|
+
}
|
|
10216
|
+
|
|
10217
|
+
function validate$9(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
9718
10218
|
const v_error = (() => {
|
|
9719
10219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9720
10220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9721
10221
|
}
|
|
9722
|
-
if (obj.
|
|
9723
|
-
const
|
|
9724
|
-
const
|
|
9725
|
-
if (typeof
|
|
9726
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
10222
|
+
if (obj.customEndDate !== undefined) {
|
|
10223
|
+
const obj_customEndDate = obj.customEndDate;
|
|
10224
|
+
const path_customEndDate = path + '.customEndDate';
|
|
10225
|
+
if (typeof obj_customEndDate !== 'string') {
|
|
10226
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
|
|
9727
10227
|
}
|
|
9728
10228
|
}
|
|
9729
|
-
if (obj.
|
|
9730
|
-
const
|
|
9731
|
-
const
|
|
9732
|
-
if (typeof
|
|
9733
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
10229
|
+
if (obj.customStartDate !== undefined) {
|
|
10230
|
+
const obj_customStartDate = obj.customStartDate;
|
|
10231
|
+
const path_customStartDate = path + '.customStartDate';
|
|
10232
|
+
if (typeof obj_customStartDate !== 'string') {
|
|
10233
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
|
|
9734
10234
|
}
|
|
9735
10235
|
}
|
|
9736
10236
|
if (obj.timeRangeType !== undefined) {
|
|
@@ -9744,8 +10244,8 @@ function validate$6(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
9744
10244
|
return v_error === undefined ? null : v_error;
|
|
9745
10245
|
}
|
|
9746
10246
|
|
|
9747
|
-
const VERSION$4 = "
|
|
9748
|
-
function validate$
|
|
10247
|
+
const VERSION$4 = "34ece37408ddd80874097c87b829ae97";
|
|
10248
|
+
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
9749
10249
|
const v_error = (() => {
|
|
9750
10250
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9751
10251
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9762,6 +10262,13 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9762
10262
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
9763
10263
|
}
|
|
9764
10264
|
}
|
|
10265
|
+
if (obj.cacheKey !== undefined) {
|
|
10266
|
+
const obj_cacheKey = obj.cacheKey;
|
|
10267
|
+
const path_cacheKey = path + '.cacheKey';
|
|
10268
|
+
if (typeof obj_cacheKey !== 'string') {
|
|
10269
|
+
return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
|
|
10270
|
+
}
|
|
10271
|
+
}
|
|
9765
10272
|
const obj_createdBy = obj.createdBy;
|
|
9766
10273
|
const path_createdBy = path + '.createdBy';
|
|
9767
10274
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -9795,7 +10302,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9795
10302
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9796
10303
|
const obj_filters_item = obj_filters[i];
|
|
9797
10304
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9798
|
-
const referencepath_filters_itemValidationError = validate$
|
|
10305
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
9799
10306
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9800
10307
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9801
10308
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9803,6 +10310,16 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9803
10310
|
}
|
|
9804
10311
|
}
|
|
9805
10312
|
}
|
|
10313
|
+
if (obj.goal !== undefined) {
|
|
10314
|
+
const obj_goal = obj.goal;
|
|
10315
|
+
const path_goal = path + '.goal';
|
|
10316
|
+
const referencepath_goalValidationError = validate$a(obj_goal, path_goal);
|
|
10317
|
+
if (referencepath_goalValidationError !== null) {
|
|
10318
|
+
let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
|
|
10319
|
+
message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10320
|
+
return new TypeError(message);
|
|
10321
|
+
}
|
|
10322
|
+
}
|
|
9806
10323
|
const obj_id = obj.id;
|
|
9807
10324
|
const path_id = path + '.id';
|
|
9808
10325
|
if (typeof obj_id !== 'string') {
|
|
@@ -9839,7 +10356,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9839
10356
|
if (obj.semanticMetric !== undefined) {
|
|
9840
10357
|
const obj_semanticMetric = obj.semanticMetric;
|
|
9841
10358
|
const path_semanticMetric = path + '.semanticMetric';
|
|
9842
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
10359
|
+
const referencepath_semanticMetricValidationError = validate$f(obj_semanticMetric, path_semanticMetric);
|
|
9843
10360
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
9844
10361
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
9845
10362
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9849,7 +10366,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9849
10366
|
if (obj.timeRange !== undefined) {
|
|
9850
10367
|
const obj_timeRange = obj.timeRange;
|
|
9851
10368
|
const path_timeRange = path + '.timeRange';
|
|
9852
|
-
const referencepath_timeRangeValidationError = validate$
|
|
10369
|
+
const referencepath_timeRangeValidationError = validate$9(obj_timeRange, path_timeRange);
|
|
9853
10370
|
if (referencepath_timeRangeValidationError !== null) {
|
|
9854
10371
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
9855
10372
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9888,7 +10405,7 @@ function equals$4(existing, incoming) {
|
|
|
9888
10405
|
}
|
|
9889
10406
|
const ingest$4 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9890
10407
|
if (process.env.NODE_ENV !== 'production') {
|
|
9891
|
-
const validateError = validate$
|
|
10408
|
+
const validateError = validate$8(input);
|
|
9892
10409
|
if (validateError !== null) {
|
|
9893
10410
|
throw validateError;
|
|
9894
10411
|
}
|
|
@@ -9909,7 +10426,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9909
10426
|
}
|
|
9910
10427
|
|
|
9911
10428
|
const VERSION$3 = "2980e56b9b4f8b3773f2554f67834745";
|
|
9912
|
-
function validate$
|
|
10429
|
+
function validate$7(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
|
|
9913
10430
|
const v_error = (() => {
|
|
9914
10431
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9915
10432
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10017,7 +10534,7 @@ function equals$3(existing, incoming) {
|
|
|
10017
10534
|
}
|
|
10018
10535
|
const ingest$3 = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10019
10536
|
if (process.env.NODE_ENV !== 'production') {
|
|
10020
|
-
const validateError = validate$
|
|
10537
|
+
const validateError = validate$7(input);
|
|
10021
10538
|
if (validateError !== null) {
|
|
10022
10539
|
throw validateError;
|
|
10023
10540
|
}
|
|
@@ -10044,7 +10561,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10044
10561
|
}
|
|
10045
10562
|
|
|
10046
10563
|
const VERSION$2 = "6fbd75e1a154b08c14ba6560c06488db";
|
|
10047
|
-
function validate$
|
|
10564
|
+
function validate$6(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
|
|
10048
10565
|
const v_error = (() => {
|
|
10049
10566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10050
10567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10127,7 +10644,7 @@ function equals$2(existing, incoming) {
|
|
|
10127
10644
|
}
|
|
10128
10645
|
const ingest$2 = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10129
10646
|
if (process.env.NODE_ENV !== 'production') {
|
|
10130
|
-
const validateError = validate$
|
|
10647
|
+
const validateError = validate$6(input);
|
|
10131
10648
|
if (validateError !== null) {
|
|
10132
10649
|
throw validateError;
|
|
10133
10650
|
}
|
|
@@ -10287,7 +10804,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
10287
10804
|
};
|
|
10288
10805
|
|
|
10289
10806
|
const VERSION$1 = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
10290
|
-
function validate$
|
|
10807
|
+
function validate$5(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
10291
10808
|
const v_error = (() => {
|
|
10292
10809
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10293
10810
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10370,7 +10887,7 @@ function equals$1(existing, incoming) {
|
|
|
10370
10887
|
}
|
|
10371
10888
|
const ingest$1 = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10372
10889
|
if (process.env.NODE_ENV !== 'production') {
|
|
10373
|
-
const validateError = validate$
|
|
10890
|
+
const validateError = validate$5(input);
|
|
10374
10891
|
if (validateError !== null) {
|
|
10375
10892
|
throw validateError;
|
|
10376
10893
|
}
|
|
@@ -10664,7 +11181,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
10664
11181
|
};
|
|
10665
11182
|
|
|
10666
11183
|
const VERSION = "542f239a7dc422c67d6cdffb0ff866eb";
|
|
10667
|
-
function validate$
|
|
11184
|
+
function validate$4(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
|
|
10668
11185
|
const v_error = (() => {
|
|
10669
11186
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10670
11187
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10747,7 +11264,7 @@ function equals(existing, incoming) {
|
|
|
10747
11264
|
}
|
|
10748
11265
|
const ingest = function SemanticSubMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10749
11266
|
if (process.env.NODE_ENV !== 'production') {
|
|
10750
|
-
const validateError = validate$
|
|
11267
|
+
const validateError = validate$4(input);
|
|
10751
11268
|
if (validateError !== null) {
|
|
10752
11269
|
throw validateError;
|
|
10753
11270
|
}
|
|
@@ -10905,23 +11422,94 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
|
|
|
10905
11422
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
10906
11423
|
};
|
|
10907
11424
|
|
|
11425
|
+
function validate$3(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
|
|
11426
|
+
const v_error = (() => {
|
|
11427
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11428
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11429
|
+
}
|
|
11430
|
+
if (obj.endDate !== undefined) {
|
|
11431
|
+
const obj_endDate = obj.endDate;
|
|
11432
|
+
const path_endDate = path + '.endDate';
|
|
11433
|
+
if (typeof obj_endDate !== 'string') {
|
|
11434
|
+
return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
|
|
11435
|
+
}
|
|
11436
|
+
}
|
|
11437
|
+
if (obj.startDate !== undefined) {
|
|
11438
|
+
const obj_startDate = obj.startDate;
|
|
11439
|
+
const path_startDate = path + '.startDate';
|
|
11440
|
+
if (typeof obj_startDate !== 'string') {
|
|
11441
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
11442
|
+
}
|
|
11443
|
+
}
|
|
11444
|
+
})();
|
|
11445
|
+
return v_error === undefined ? null : v_error;
|
|
11446
|
+
}
|
|
11447
|
+
|
|
11448
|
+
function validate$2(obj, path = 'SemanticGoalValueInputRepresentation') {
|
|
11449
|
+
const v_error = (() => {
|
|
11450
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11451
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11452
|
+
}
|
|
11453
|
+
if (obj.staticValue !== undefined) {
|
|
11454
|
+
obj.staticValue;
|
|
11455
|
+
}
|
|
11456
|
+
})();
|
|
11457
|
+
return v_error === undefined ? null : v_error;
|
|
11458
|
+
}
|
|
11459
|
+
|
|
11460
|
+
function validate$1(obj, path = 'SemanticMetricGoalInputRepresentation') {
|
|
11461
|
+
const v_error = (() => {
|
|
11462
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11463
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11464
|
+
}
|
|
11465
|
+
if (obj.date !== undefined) {
|
|
11466
|
+
const obj_date = obj.date;
|
|
11467
|
+
const path_date = path + '.date';
|
|
11468
|
+
const referencepath_dateValidationError = validate$3(obj_date, path_date);
|
|
11469
|
+
if (referencepath_dateValidationError !== null) {
|
|
11470
|
+
let message = 'Object doesn\'t match SemanticGoalDateRangeInputRepresentation (at "' + path_date + '")\n';
|
|
11471
|
+
message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11472
|
+
return new TypeError(message);
|
|
11473
|
+
}
|
|
11474
|
+
}
|
|
11475
|
+
if (obj.goalType !== undefined) {
|
|
11476
|
+
const obj_goalType = obj.goalType;
|
|
11477
|
+
const path_goalType = path + '.goalType';
|
|
11478
|
+
if (typeof obj_goalType !== 'string') {
|
|
11479
|
+
return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
|
|
11480
|
+
}
|
|
11481
|
+
}
|
|
11482
|
+
if (obj.value !== undefined) {
|
|
11483
|
+
const obj_value = obj.value;
|
|
11484
|
+
const path_value = path + '.value';
|
|
11485
|
+
const referencepath_valueValidationError = validate$2(obj_value, path_value);
|
|
11486
|
+
if (referencepath_valueValidationError !== null) {
|
|
11487
|
+
let message = 'Object doesn\'t match SemanticGoalValueInputRepresentation (at "' + path_value + '")\n';
|
|
11488
|
+
message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11489
|
+
return new TypeError(message);
|
|
11490
|
+
}
|
|
11491
|
+
}
|
|
11492
|
+
})();
|
|
11493
|
+
return v_error === undefined ? null : v_error;
|
|
11494
|
+
}
|
|
11495
|
+
|
|
10908
11496
|
function validate(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
10909
11497
|
const v_error = (() => {
|
|
10910
11498
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10911
11499
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10912
11500
|
}
|
|
10913
|
-
if (obj.
|
|
10914
|
-
const
|
|
10915
|
-
const
|
|
10916
|
-
if (typeof
|
|
10917
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
11501
|
+
if (obj.customEndDate !== undefined) {
|
|
11502
|
+
const obj_customEndDate = obj.customEndDate;
|
|
11503
|
+
const path_customEndDate = path + '.customEndDate';
|
|
11504
|
+
if (typeof obj_customEndDate !== 'string') {
|
|
11505
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
|
|
10918
11506
|
}
|
|
10919
11507
|
}
|
|
10920
|
-
if (obj.
|
|
10921
|
-
const
|
|
10922
|
-
const
|
|
10923
|
-
if (typeof
|
|
10924
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
11508
|
+
if (obj.customStartDate !== undefined) {
|
|
11509
|
+
const obj_customStartDate = obj.customStartDate;
|
|
11510
|
+
const path_customStartDate = path + '.customStartDate';
|
|
11511
|
+
if (typeof obj_customStartDate !== 'string') {
|
|
11512
|
+
return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
|
|
10925
11513
|
}
|
|
10926
11514
|
}
|
|
10927
11515
|
if (obj.timeRangeType !== undefined) {
|
|
@@ -10980,6 +11568,7 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
10980
11568
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
10981
11569
|
generateParamConfigMetadata('filterLogic', false, 2 /* Body */, 0 /* String */),
|
|
10982
11570
|
generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11571
|
+
generateParamConfigMetadata('goal', false, 2 /* Body */, 4 /* Unsupported */),
|
|
10983
11572
|
generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
|
|
10984
11573
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
10985
11574
|
];
|
|
@@ -10993,13 +11582,18 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
10993
11582
|
const untrustedConfig_filters_array = [];
|
|
10994
11583
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
10995
11584
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
10996
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
11585
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$X(untrustedConfig_filters_item);
|
|
10997
11586
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
10998
11587
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
10999
11588
|
}
|
|
11000
11589
|
}
|
|
11001
11590
|
config.filters = untrustedConfig_filters_array;
|
|
11002
11591
|
}
|
|
11592
|
+
const untrustedConfig_goal = untrustedConfig.goal;
|
|
11593
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$1(untrustedConfig_goal);
|
|
11594
|
+
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
11595
|
+
config.goal = untrustedConfig_goal;
|
|
11596
|
+
}
|
|
11003
11597
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
11004
11598
|
const referenceSemanticTimeRangeInputRepresentationValidationError = validate(untrustedConfig_timeRange);
|
|
11005
11599
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|