@salesforce/lds-adapters-cdp-semantic-authoring 1.309.0-dev14 → 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 +808 -203
- 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 +6 -3
- 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 +795 -190
- package/src/raml/api.raml +521 -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';
|
|
@@ -236,10 +243,12 @@ function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
236
243
|
if (typeof obj_id !== 'string') {
|
|
237
244
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
238
245
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
246
|
+
if (obj.isLocked !== undefined) {
|
|
247
|
+
const obj_isLocked = obj.isLocked;
|
|
248
|
+
const path_isLocked = path + '.isLocked';
|
|
249
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
250
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
251
|
+
}
|
|
243
252
|
}
|
|
244
253
|
if (obj.label !== undefined) {
|
|
245
254
|
const obj_label = obj.label;
|
|
@@ -377,6 +386,11 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
377
386
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
378
387
|
required: false
|
|
379
388
|
},
|
|
389
|
+
{
|
|
390
|
+
name: 'cacheKey',
|
|
391
|
+
kind: 'Scalar',
|
|
392
|
+
required: false
|
|
393
|
+
},
|
|
380
394
|
{
|
|
381
395
|
name: 'categories',
|
|
382
396
|
kind: 'Scalar',
|
|
@@ -406,7 +420,8 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
406
420
|
},
|
|
407
421
|
{
|
|
408
422
|
name: 'isLocked',
|
|
409
|
-
kind: 'Scalar'
|
|
423
|
+
kind: 'Scalar',
|
|
424
|
+
required: false
|
|
410
425
|
},
|
|
411
426
|
{
|
|
412
427
|
name: 'label',
|
|
@@ -474,8 +489,16 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
474
489
|
function equals$s(existing, incoming) {
|
|
475
490
|
const existing_isLocked = existing.isLocked;
|
|
476
491
|
const incoming_isLocked = incoming.isLocked;
|
|
477
|
-
if
|
|
478
|
-
|
|
492
|
+
// if at least one of these optionals is defined
|
|
493
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
494
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
495
|
+
// not equal
|
|
496
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
497
|
+
return false;
|
|
498
|
+
}
|
|
499
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
500
|
+
return false;
|
|
501
|
+
}
|
|
479
502
|
}
|
|
480
503
|
const existing_apiName = existing.apiName;
|
|
481
504
|
const incoming_apiName = incoming.apiName;
|
|
@@ -508,6 +531,19 @@ function equals$s(existing, incoming) {
|
|
|
508
531
|
return false;
|
|
509
532
|
}
|
|
510
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
|
+
}
|
|
511
547
|
const existing_createdBy = existing.createdBy;
|
|
512
548
|
const incoming_createdBy = incoming.createdBy;
|
|
513
549
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -737,7 +773,7 @@ function equals$s(existing, incoming) {
|
|
|
737
773
|
}
|
|
738
774
|
|
|
739
775
|
const VERSION$r = "198423ec58354256cc7ea6f4661ef669";
|
|
740
|
-
function validate$
|
|
776
|
+
function validate$Z(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
741
777
|
const v_error = (() => {
|
|
742
778
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
743
779
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -784,7 +820,7 @@ function validate$T(obj, path = 'SemanticModelCollectionOutputRepresentation') {
|
|
|
784
820
|
for (let i = 0; i < obj_items.length; i++) {
|
|
785
821
|
const obj_items_item = obj_items[i];
|
|
786
822
|
const path_items_item = path_items + '[' + i + ']';
|
|
787
|
-
const referencepath_items_itemValidationError = validate$
|
|
823
|
+
const referencepath_items_itemValidationError = validate$_(obj_items_item, path_items_item);
|
|
788
824
|
if (referencepath_items_itemValidationError !== null) {
|
|
789
825
|
let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
|
|
790
826
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -972,7 +1008,7 @@ function equals$r(existing, incoming) {
|
|
|
972
1008
|
}
|
|
973
1009
|
const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
974
1010
|
if (process.env.NODE_ENV !== 'production') {
|
|
975
|
-
const validateError = validate$
|
|
1011
|
+
const validateError = validate$Z(input);
|
|
976
1012
|
if (validateError !== null) {
|
|
977
1013
|
throw validateError;
|
|
978
1014
|
}
|
|
@@ -1132,7 +1168,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
1132
1168
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
1133
1169
|
};
|
|
1134
1170
|
|
|
1135
|
-
function validate$
|
|
1171
|
+
function validate$Y(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
1136
1172
|
const v_error = (() => {
|
|
1137
1173
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1138
1174
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1148,7 +1184,7 @@ function validate$S(obj, path = 'SemanticBaseModelInputRepresentation') {
|
|
|
1148
1184
|
return v_error === undefined ? null : v_error;
|
|
1149
1185
|
}
|
|
1150
1186
|
|
|
1151
|
-
function validate$
|
|
1187
|
+
function validate$X(obj, path = 'SemanticFilterInputRepresentation') {
|
|
1152
1188
|
const v_error = (() => {
|
|
1153
1189
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1154
1190
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1178,7 +1214,7 @@ function validate$R(obj, path = 'SemanticFilterInputRepresentation') {
|
|
|
1178
1214
|
return v_error === undefined ? null : v_error;
|
|
1179
1215
|
}
|
|
1180
1216
|
|
|
1181
|
-
function validate$
|
|
1217
|
+
function validate$W(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
|
|
1182
1218
|
const v_error = (() => {
|
|
1183
1219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1184
1220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1241,7 +1277,7 @@ function validate$Q(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
1241
1277
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1242
1278
|
const obj_filters_item = obj_filters[i];
|
|
1243
1279
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1244
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1280
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
1245
1281
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1246
1282
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1247
1283
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1288,7 +1324,7 @@ function validate$Q(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
|
|
|
1288
1324
|
return v_error === undefined ? null : v_error;
|
|
1289
1325
|
}
|
|
1290
1326
|
|
|
1291
|
-
function validate$
|
|
1327
|
+
function validate$V(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
|
|
1292
1328
|
const v_error = (() => {
|
|
1293
1329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1294
1330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1365,7 +1401,7 @@ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
1365
1401
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1366
1402
|
const obj_filters_item = obj_filters[i];
|
|
1367
1403
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1368
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1404
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
1369
1405
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1370
1406
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1371
1407
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1394,6 +1430,13 @@ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
1394
1430
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
1395
1431
|
}
|
|
1396
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
|
+
}
|
|
1397
1440
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
1398
1441
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
1399
1442
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -1426,7 +1469,7 @@ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
|
|
|
1426
1469
|
return v_error === undefined ? null : v_error;
|
|
1427
1470
|
}
|
|
1428
1471
|
|
|
1429
|
-
function validate$
|
|
1472
|
+
function validate$U(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
1430
1473
|
const v_error = (() => {
|
|
1431
1474
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1432
1475
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1505,7 +1548,7 @@ function validate$O(obj, path = 'SemanticDimensionInputRepresentation') {
|
|
|
1505
1548
|
return v_error === undefined ? null : v_error;
|
|
1506
1549
|
}
|
|
1507
1550
|
|
|
1508
|
-
function validate$
|
|
1551
|
+
function validate$T(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
1509
1552
|
const v_error = (() => {
|
|
1510
1553
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1511
1554
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1587,6 +1630,13 @@ function validate$N(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1587
1630
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
1588
1631
|
}
|
|
1589
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
|
+
}
|
|
1590
1640
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
1591
1641
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
1592
1642
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -1605,7 +1655,7 @@ function validate$N(obj, path = 'SemanticMeasurementInputRepresentation') {
|
|
|
1605
1655
|
return v_error === undefined ? null : v_error;
|
|
1606
1656
|
}
|
|
1607
1657
|
|
|
1608
|
-
function validate$
|
|
1658
|
+
function validate$S(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
1609
1659
|
const v_error = (() => {
|
|
1610
1660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1611
1661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1654,7 +1704,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1654
1704
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
1655
1705
|
const obj_filters_item = obj_filters[i];
|
|
1656
1706
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
1657
|
-
const referencepath_filters_itemValidationError = validate$
|
|
1707
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
1658
1708
|
if (referencepath_filters_itemValidationError !== null) {
|
|
1659
1709
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
1660
1710
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1685,7 +1735,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1685
1735
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
1686
1736
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
1687
1737
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
1688
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
1738
|
+
const referencepath_semanticDimensions_itemValidationError = validate$U(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
1689
1739
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
1690
1740
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
1691
1741
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1702,7 +1752,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1702
1752
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
1703
1753
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
1704
1754
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
1705
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
1755
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$T(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
1706
1756
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
1707
1757
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
1708
1758
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1721,7 +1771,7 @@ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
|
|
|
1721
1771
|
return v_error === undefined ? null : v_error;
|
|
1722
1772
|
}
|
|
1723
1773
|
|
|
1724
|
-
function validate$
|
|
1774
|
+
function validate$R(obj, path = 'BinDimensionConfigurationInputRepresentation') {
|
|
1725
1775
|
const v_error = (() => {
|
|
1726
1776
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1727
1777
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1733,7 +1783,7 @@ function validate$L(obj, path = 'BinDimensionConfigurationInputRepresentation')
|
|
|
1733
1783
|
return v_error === undefined ? null : v_error;
|
|
1734
1784
|
}
|
|
1735
1785
|
|
|
1736
|
-
function validate$
|
|
1786
|
+
function validate$Q(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
1737
1787
|
const v_error = (() => {
|
|
1738
1788
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1739
1789
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1763,7 +1813,7 @@ function validate$K(obj, path = 'GroupDimensionGroupInputRepresentation') {
|
|
|
1763
1813
|
return v_error === undefined ? null : v_error;
|
|
1764
1814
|
}
|
|
1765
1815
|
|
|
1766
|
-
function validate$
|
|
1816
|
+
function validate$P(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
|
|
1767
1817
|
const v_error = (() => {
|
|
1768
1818
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1769
1819
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1777,7 +1827,7 @@ function validate$J(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1777
1827
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
1778
1828
|
const obj_groups_item = obj_groups[i];
|
|
1779
1829
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
1780
|
-
const referencepath_groups_itemValidationError = validate$
|
|
1830
|
+
const referencepath_groups_itemValidationError = validate$Q(obj_groups_item, path_groups_item);
|
|
1781
1831
|
if (referencepath_groups_itemValidationError !== null) {
|
|
1782
1832
|
let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
|
|
1783
1833
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1796,7 +1846,7 @@ function validate$J(obj, path = 'GroupDimensionConfigurationInputRepresentation'
|
|
|
1796
1846
|
return v_error === undefined ? null : v_error;
|
|
1797
1847
|
}
|
|
1798
1848
|
|
|
1799
|
-
function validate$
|
|
1849
|
+
function validate$O(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
|
|
1800
1850
|
const v_error = (() => {
|
|
1801
1851
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1802
1852
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1804,7 +1854,7 @@ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1804
1854
|
if (obj.binDimension !== undefined) {
|
|
1805
1855
|
const obj_binDimension = obj.binDimension;
|
|
1806
1856
|
const path_binDimension = path + '.binDimension';
|
|
1807
|
-
const referencepath_binDimensionValidationError = validate$
|
|
1857
|
+
const referencepath_binDimensionValidationError = validate$R(obj_binDimension, path_binDimension);
|
|
1808
1858
|
if (referencepath_binDimensionValidationError !== null) {
|
|
1809
1859
|
let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
|
|
1810
1860
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1814,7 +1864,7 @@ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1814
1864
|
if (obj.groupDimension !== undefined) {
|
|
1815
1865
|
const obj_groupDimension = obj.groupDimension;
|
|
1816
1866
|
const path_groupDimension = path + '.groupDimension';
|
|
1817
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
1867
|
+
const referencepath_groupDimensionValidationError = validate$P(obj_groupDimension, path_groupDimension);
|
|
1818
1868
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
1819
1869
|
let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
|
|
1820
1870
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1825,7 +1875,7 @@ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
|
|
|
1825
1875
|
return v_error === undefined ? null : v_error;
|
|
1826
1876
|
}
|
|
1827
1877
|
|
|
1828
|
-
function validate$
|
|
1878
|
+
function validate$N(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
|
|
1829
1879
|
const v_error = (() => {
|
|
1830
1880
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1831
1881
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1848,7 +1898,7 @@ function validate$H(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
|
|
|
1848
1898
|
return v_error === undefined ? null : v_error;
|
|
1849
1899
|
}
|
|
1850
1900
|
|
|
1851
|
-
function validate$
|
|
1901
|
+
function validate$M(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
1852
1902
|
const v_error = (() => {
|
|
1853
1903
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1854
1904
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1863,7 +1913,7 @@ function validate$G(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1863
1913
|
if (obj.tableFieldReference !== undefined) {
|
|
1864
1914
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
1865
1915
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
1866
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
1916
|
+
const referencepath_tableFieldReferenceValidationError = validate$N(obj_tableFieldReference, path_tableFieldReference);
|
|
1867
1917
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
1868
1918
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
1869
1919
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1874,7 +1924,7 @@ function validate$G(obj, path = 'SemanticFieldReferenceInputRepresentation') {
|
|
|
1874
1924
|
return v_error === undefined ? null : v_error;
|
|
1875
1925
|
}
|
|
1876
1926
|
|
|
1877
|
-
function validate$
|
|
1927
|
+
function validate$L(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
1878
1928
|
const v_error = (() => {
|
|
1879
1929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1880
1930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1889,7 +1939,7 @@ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1889
1939
|
if (obj.configuration !== undefined) {
|
|
1890
1940
|
const obj_configuration = obj.configuration;
|
|
1891
1941
|
const path_configuration = path + '.configuration';
|
|
1892
|
-
const referencepath_configurationValidationError = validate$
|
|
1942
|
+
const referencepath_configurationValidationError = validate$O(obj_configuration, path_configuration);
|
|
1893
1943
|
if (referencepath_configurationValidationError !== null) {
|
|
1894
1944
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
|
|
1895
1945
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1906,7 +1956,7 @@ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1906
1956
|
if (obj.fieldReference !== undefined) {
|
|
1907
1957
|
const obj_fieldReference = obj.fieldReference;
|
|
1908
1958
|
const path_fieldReference = path + '.fieldReference';
|
|
1909
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
1959
|
+
const referencepath_fieldReferenceValidationError = validate$M(obj_fieldReference, path_fieldReference);
|
|
1910
1960
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
1911
1961
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
|
|
1912
1962
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1931,7 +1981,7 @@ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
|
|
|
1931
1981
|
return v_error === undefined ? null : v_error;
|
|
1932
1982
|
}
|
|
1933
1983
|
|
|
1934
|
-
function validate$
|
|
1984
|
+
function validate$K(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
|
|
1935
1985
|
const v_error = (() => {
|
|
1936
1986
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1937
1987
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1975,7 +2025,7 @@ function validate$E(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
|
|
|
1975
2025
|
return v_error === undefined ? null : v_error;
|
|
1976
2026
|
}
|
|
1977
2027
|
|
|
1978
|
-
function validate$
|
|
2028
|
+
function validate$J(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
1979
2029
|
const v_error = (() => {
|
|
1980
2030
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1981
2031
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2003,7 +2053,7 @@ function validate$D(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
2003
2053
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
2004
2054
|
const obj_criteria_item = obj_criteria[i];
|
|
2005
2055
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
2006
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
2056
|
+
const referencepath_criteria_itemValidationError = validate$K(obj_criteria_item, path_criteria_item);
|
|
2007
2057
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
2008
2058
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
2009
2059
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2064,7 +2114,7 @@ function validate$D(obj, path = 'SemanticRelationshipInputRepresentation') {
|
|
|
2064
2114
|
return v_error === undefined ? null : v_error;
|
|
2065
2115
|
}
|
|
2066
2116
|
|
|
2067
|
-
function validate$
|
|
2117
|
+
function validate$I(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
2068
2118
|
const v_error = (() => {
|
|
2069
2119
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2070
2120
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2092,7 +2142,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2092
2142
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
2093
2143
|
const obj_fields_item = obj_fields[i];
|
|
2094
2144
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
2095
|
-
const referencepath_fields_itemValidationError = validate$
|
|
2145
|
+
const referencepath_fields_itemValidationError = validate$N(obj_fields_item, path_fields_item);
|
|
2096
2146
|
if (referencepath_fields_itemValidationError !== null) {
|
|
2097
2147
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
|
|
2098
2148
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2117,7 +2167,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2117
2167
|
if (obj.semanticDimension !== undefined) {
|
|
2118
2168
|
const obj_semanticDimension = obj.semanticDimension;
|
|
2119
2169
|
const path_semanticDimension = path + '.semanticDimension';
|
|
2120
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
2170
|
+
const referencepath_semanticDimensionValidationError = validate$U(obj_semanticDimension, path_semanticDimension);
|
|
2121
2171
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
2122
2172
|
let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
2123
2173
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2127,7 +2177,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2127
2177
|
if (obj.semanticMeasurement !== undefined) {
|
|
2128
2178
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
2129
2179
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
2130
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
2180
|
+
const referencepath_semanticMeasurementValidationError = validate$T(obj_semanticMeasurement, path_semanticMeasurement);
|
|
2131
2181
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
2132
2182
|
let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
2133
2183
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2138,7 +2188,7 @@ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
|
|
|
2138
2188
|
return v_error === undefined ? null : v_error;
|
|
2139
2189
|
}
|
|
2140
2190
|
|
|
2141
|
-
function validate$
|
|
2191
|
+
function validate$H(obj, path = 'SemanticUnionInputRepresentation') {
|
|
2142
2192
|
const v_error = (() => {
|
|
2143
2193
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2144
2194
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2173,7 +2223,7 @@ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
2173
2223
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
2174
2224
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
2175
2225
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
2176
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
2226
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
2177
2227
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
2178
2228
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
2179
2229
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2190,7 +2240,7 @@ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
2190
2240
|
for (let i = 0; i < obj_semanticMappedFields.length; i++) {
|
|
2191
2241
|
const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
|
|
2192
2242
|
const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
|
|
2193
|
-
const referencepath_semanticMappedFields_itemValidationError = validate$
|
|
2243
|
+
const referencepath_semanticMappedFields_itemValidationError = validate$I(obj_semanticMappedFields_item, path_semanticMappedFields_item);
|
|
2194
2244
|
if (referencepath_semanticMappedFields_itemValidationError !== null) {
|
|
2195
2245
|
let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
|
|
2196
2246
|
message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2202,7 +2252,7 @@ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
|
|
|
2202
2252
|
return v_error === undefined ? null : v_error;
|
|
2203
2253
|
}
|
|
2204
2254
|
|
|
2205
|
-
function validate$
|
|
2255
|
+
function validate$G(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
2206
2256
|
const v_error = (() => {
|
|
2207
2257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2208
2258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2214,6 +2264,13 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2214
2264
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
2215
2265
|
}
|
|
2216
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
|
+
}
|
|
2217
2274
|
if (obj.description !== undefined) {
|
|
2218
2275
|
const obj_description = obj.description;
|
|
2219
2276
|
const path_description = path + '.description';
|
|
@@ -2237,7 +2294,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2237
2294
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2238
2295
|
const obj_filters_item = obj_filters[i];
|
|
2239
2296
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2240
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2297
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2241
2298
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2242
2299
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2243
2300
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2261,7 +2318,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2261
2318
|
for (let i = 0; i < obj_semanticDataObjects.length; i++) {
|
|
2262
2319
|
const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
|
|
2263
2320
|
const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
|
|
2264
|
-
const referencepath_semanticDataObjects_itemValidationError = validate$
|
|
2321
|
+
const referencepath_semanticDataObjects_itemValidationError = validate$S(obj_semanticDataObjects_item, path_semanticDataObjects_item);
|
|
2265
2322
|
if (referencepath_semanticDataObjects_itemValidationError !== null) {
|
|
2266
2323
|
let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
|
|
2267
2324
|
message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2278,7 +2335,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2278
2335
|
for (let i = 0; i < obj_semanticRelationships.length; i++) {
|
|
2279
2336
|
const obj_semanticRelationships_item = obj_semanticRelationships[i];
|
|
2280
2337
|
const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
|
|
2281
|
-
const referencepath_semanticRelationships_itemValidationError = validate$
|
|
2338
|
+
const referencepath_semanticRelationships_itemValidationError = validate$J(obj_semanticRelationships_item, path_semanticRelationships_item);
|
|
2282
2339
|
if (referencepath_semanticRelationships_itemValidationError !== null) {
|
|
2283
2340
|
let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
|
|
2284
2341
|
message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2295,7 +2352,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2295
2352
|
for (let i = 0; i < obj_semanticUnions.length; i++) {
|
|
2296
2353
|
const obj_semanticUnions_item = obj_semanticUnions[i];
|
|
2297
2354
|
const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
|
|
2298
|
-
const referencepath_semanticUnions_itemValidationError = validate$
|
|
2355
|
+
const referencepath_semanticUnions_itemValidationError = validate$H(obj_semanticUnions_item, path_semanticUnions_item);
|
|
2299
2356
|
if (referencepath_semanticUnions_itemValidationError !== null) {
|
|
2300
2357
|
let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
|
|
2301
2358
|
message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2307,7 +2364,7 @@ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
|
|
|
2307
2364
|
return v_error === undefined ? null : v_error;
|
|
2308
2365
|
}
|
|
2309
2366
|
|
|
2310
|
-
function validate$
|
|
2367
|
+
function validate$F(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
|
|
2311
2368
|
const v_error = (() => {
|
|
2312
2369
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2313
2370
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2315,7 +2372,7 @@ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
2315
2372
|
if (obj.identifierDimensionReference !== undefined) {
|
|
2316
2373
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
2317
2374
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
2318
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
2375
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$M(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
2319
2376
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
2320
2377
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
2321
2378
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2325,7 +2382,7 @@ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
2325
2382
|
if (obj.namingDimensionReference !== undefined) {
|
|
2326
2383
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
2327
2384
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
2328
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
2385
|
+
const referencepath_namingDimensionReferenceValidationError = validate$M(obj_namingDimensionReference, path_namingDimensionReference);
|
|
2329
2386
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
2330
2387
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
2331
2388
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2336,7 +2393,7 @@ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
|
|
|
2336
2393
|
return v_error === undefined ? null : v_error;
|
|
2337
2394
|
}
|
|
2338
2395
|
|
|
2339
|
-
function validate$
|
|
2396
|
+
function validate$E(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
2340
2397
|
const v_error = (() => {
|
|
2341
2398
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2342
2399
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2359,7 +2416,7 @@ function validate$y(obj, path = 'SemanticInsightTypeInputRepresentation') {
|
|
|
2359
2416
|
return v_error === undefined ? null : v_error;
|
|
2360
2417
|
}
|
|
2361
2418
|
|
|
2362
|
-
function validate$
|
|
2419
|
+
function validate$D(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
2363
2420
|
const v_error = (() => {
|
|
2364
2421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2365
2422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2367,7 +2424,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2367
2424
|
if (obj.identifyingDimension !== undefined) {
|
|
2368
2425
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
2369
2426
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
2370
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
2427
|
+
const referencepath_identifyingDimensionValidationError = validate$F(obj_identifyingDimension, path_identifyingDimension);
|
|
2371
2428
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
2372
2429
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
2373
2430
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2383,7 +2440,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2383
2440
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
2384
2441
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
2385
2442
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
2386
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
2443
|
+
const referencepath_insightTypes_itemValidationError = validate$E(obj_insightTypes_item, path_insightTypes_item);
|
|
2387
2444
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
2388
2445
|
let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
2389
2446
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2400,7 +2457,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2400
2457
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
2401
2458
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
2402
2459
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
2403
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
2460
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$M(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
2404
2461
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
2405
2462
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
2406
2463
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2433,7 +2490,7 @@ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
|
|
|
2433
2490
|
return v_error === undefined ? null : v_error;
|
|
2434
2491
|
}
|
|
2435
2492
|
|
|
2436
|
-
function validate$
|
|
2493
|
+
function validate$C(obj, path = 'SemanticMetricInputRepresentation') {
|
|
2437
2494
|
const v_error = (() => {
|
|
2438
2495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2439
2496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2447,7 +2504,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2447
2504
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
2448
2505
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
2449
2506
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
2450
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
2507
|
+
const referencepath_additionalDimensions_itemValidationError = validate$M(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
2451
2508
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
2452
2509
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
2453
2510
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2492,7 +2549,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2492
2549
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2493
2550
|
const obj_filters_item = obj_filters[i];
|
|
2494
2551
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2495
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2552
|
+
const referencepath_filters_itemValidationError = validate$X(obj_filters_item, path_filters_item);
|
|
2496
2553
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2497
2554
|
let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
2498
2555
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2503,7 +2560,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2503
2560
|
if (obj.insightsSettings !== undefined) {
|
|
2504
2561
|
const obj_insightsSettings = obj.insightsSettings;
|
|
2505
2562
|
const path_insightsSettings = path + '.insightsSettings';
|
|
2506
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
2563
|
+
const referencepath_insightsSettingsValidationError = validate$D(obj_insightsSettings, path_insightsSettings);
|
|
2507
2564
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
2508
2565
|
let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
2509
2566
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2527,7 +2584,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2527
2584
|
if (obj.measurementReference !== undefined) {
|
|
2528
2585
|
const obj_measurementReference = obj.measurementReference;
|
|
2529
2586
|
const path_measurementReference = path + '.measurementReference';
|
|
2530
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
2587
|
+
const referencepath_measurementReferenceValidationError = validate$M(obj_measurementReference, path_measurementReference);
|
|
2531
2588
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
2532
2589
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
|
|
2533
2590
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2537,7 +2594,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2537
2594
|
if (obj.timeDimensionReference !== undefined) {
|
|
2538
2595
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
2539
2596
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
2540
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
2597
|
+
const referencepath_timeDimensionReferenceValidationError = validate$M(obj_timeDimensionReference, path_timeDimensionReference);
|
|
2541
2598
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
2542
2599
|
let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
2543
2600
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2562,7 +2619,7 @@ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
|
|
|
2562
2619
|
return v_error === undefined ? null : v_error;
|
|
2563
2620
|
}
|
|
2564
2621
|
|
|
2565
|
-
function validate$
|
|
2622
|
+
function validate$B(obj, path = 'SemanticParameterInputRepresentation') {
|
|
2566
2623
|
const v_error = (() => {
|
|
2567
2624
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2568
2625
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2649,7 +2706,7 @@ function validate$v(obj, path = 'SemanticParameterInputRepresentation') {
|
|
|
2649
2706
|
}
|
|
2650
2707
|
|
|
2651
2708
|
const VERSION$q = "9b5a0e85af6a943c95625e2dfe81ab96";
|
|
2652
|
-
function validate$
|
|
2709
|
+
function validate$A(obj, path = 'SemanticFilterOutputRepresentation') {
|
|
2653
2710
|
const v_error = (() => {
|
|
2654
2711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2655
2712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2745,8 +2802,8 @@ function equals$q(existing, incoming) {
|
|
|
2745
2802
|
return true;
|
|
2746
2803
|
}
|
|
2747
2804
|
|
|
2748
|
-
const VERSION$p = "
|
|
2749
|
-
function validate$
|
|
2805
|
+
const VERSION$p = "51514a172af5e420504a2143725b4528";
|
|
2806
|
+
function validate$z(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
|
|
2750
2807
|
const v_error = (() => {
|
|
2751
2808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2752
2809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2763,6 +2820,13 @@ function validate$t(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2763
2820
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
2764
2821
|
}
|
|
2765
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
|
+
}
|
|
2766
2830
|
const obj_createdBy = obj.createdBy;
|
|
2767
2831
|
const path_createdBy = path + '.createdBy';
|
|
2768
2832
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -2824,7 +2888,7 @@ function validate$t(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
|
|
|
2824
2888
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
2825
2889
|
const obj_filters_item = obj_filters[i];
|
|
2826
2890
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
2827
|
-
const referencepath_filters_itemValidationError = validate$
|
|
2891
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
2828
2892
|
if (referencepath_filters_itemValidationError !== null) {
|
|
2829
2893
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
2830
2894
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2918,6 +2982,11 @@ const select$z = function SemanticCalculatedDimensionOutputRepresentationSelect(
|
|
|
2918
2982
|
kind: 'Scalar',
|
|
2919
2983
|
required: false
|
|
2920
2984
|
},
|
|
2985
|
+
{
|
|
2986
|
+
name: 'cacheKey',
|
|
2987
|
+
kind: 'Scalar',
|
|
2988
|
+
required: false
|
|
2989
|
+
},
|
|
2921
2990
|
{
|
|
2922
2991
|
name: 'createdBy',
|
|
2923
2992
|
kind: 'Scalar'
|
|
@@ -3050,6 +3119,19 @@ function equals$p(existing, incoming) {
|
|
|
3050
3119
|
return false;
|
|
3051
3120
|
}
|
|
3052
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
|
+
}
|
|
3053
3135
|
const existing_createdBy = existing.createdBy;
|
|
3054
3136
|
const incoming_createdBy = incoming.createdBy;
|
|
3055
3137
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -3230,7 +3312,7 @@ function equals$p(existing, incoming) {
|
|
|
3230
3312
|
}
|
|
3231
3313
|
const ingest$f = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3232
3314
|
if (process.env.NODE_ENV !== 'production') {
|
|
3233
|
-
const validateError = validate$
|
|
3315
|
+
const validateError = validate$z(input);
|
|
3234
3316
|
if (validateError !== null) {
|
|
3235
3317
|
throw validateError;
|
|
3236
3318
|
}
|
|
@@ -3250,8 +3332,8 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3250
3332
|
});
|
|
3251
3333
|
}
|
|
3252
3334
|
|
|
3253
|
-
const VERSION$o = "
|
|
3254
|
-
function validate$
|
|
3335
|
+
const VERSION$o = "6c8d910667cf399d3aa6e5a57e1fdd61";
|
|
3336
|
+
function validate$y(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
|
|
3255
3337
|
const v_error = (() => {
|
|
3256
3338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3257
3339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3275,6 +3357,13 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3275
3357
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
3276
3358
|
}
|
|
3277
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
|
+
}
|
|
3278
3367
|
const obj_createdBy = obj.createdBy;
|
|
3279
3368
|
const path_createdBy = path + '.createdBy';
|
|
3280
3369
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -3343,7 +3432,7 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3343
3432
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
3344
3433
|
const obj_filters_item = obj_filters[i];
|
|
3345
3434
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
3346
|
-
const referencepath_filters_itemValidationError = validate$
|
|
3435
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
3347
3436
|
if (referencepath_filters_itemValidationError !== null) {
|
|
3348
3437
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
3349
3438
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3398,6 +3487,13 @@ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
|
|
|
3398
3487
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
3399
3488
|
}
|
|
3400
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
|
+
}
|
|
3401
3497
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
3402
3498
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
3403
3499
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -3463,6 +3559,11 @@ const select$y = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3463
3559
|
kind: 'Scalar',
|
|
3464
3560
|
required: false
|
|
3465
3561
|
},
|
|
3562
|
+
{
|
|
3563
|
+
name: 'cacheKey',
|
|
3564
|
+
kind: 'Scalar',
|
|
3565
|
+
required: false
|
|
3566
|
+
},
|
|
3466
3567
|
{
|
|
3467
3568
|
name: 'createdBy',
|
|
3468
3569
|
kind: 'Scalar'
|
|
@@ -3547,6 +3648,11 @@ const select$y = function SemanticCalculatedMeasurementOutputRepresentationSelec
|
|
|
3547
3648
|
kind: 'Scalar',
|
|
3548
3649
|
required: false
|
|
3549
3650
|
},
|
|
3651
|
+
{
|
|
3652
|
+
name: 'sentiment',
|
|
3653
|
+
kind: 'Scalar',
|
|
3654
|
+
required: false
|
|
3655
|
+
},
|
|
3550
3656
|
{
|
|
3551
3657
|
name: 'shouldTreatNullsAsZeros',
|
|
3552
3658
|
kind: 'Scalar',
|
|
@@ -3654,6 +3760,19 @@ function equals$o(existing, incoming) {
|
|
|
3654
3760
|
return false;
|
|
3655
3761
|
}
|
|
3656
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
|
+
}
|
|
3657
3776
|
const existing_createdBy = existing.createdBy;
|
|
3658
3777
|
const incoming_createdBy = incoming.createdBy;
|
|
3659
3778
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -3799,6 +3918,19 @@ function equals$o(existing, incoming) {
|
|
|
3799
3918
|
return false;
|
|
3800
3919
|
}
|
|
3801
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
|
+
}
|
|
3802
3934
|
const existing_sortOrder = existing.sortOrder;
|
|
3803
3935
|
const incoming_sortOrder = incoming.sortOrder;
|
|
3804
3936
|
// if at least one of these optionals is defined
|
|
@@ -3860,7 +3992,7 @@ function equals$o(existing, incoming) {
|
|
|
3860
3992
|
}
|
|
3861
3993
|
const ingest$e = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3862
3994
|
if (process.env.NODE_ENV !== 'production') {
|
|
3863
|
-
const validateError = validate$
|
|
3995
|
+
const validateError = validate$y(input);
|
|
3864
3996
|
if (validateError !== null) {
|
|
3865
3997
|
throw validateError;
|
|
3866
3998
|
}
|
|
@@ -3880,7 +4012,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3880
4012
|
});
|
|
3881
4013
|
}
|
|
3882
4014
|
|
|
3883
|
-
function validate$
|
|
4015
|
+
function validate$x(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
3884
4016
|
const v_error = (() => {
|
|
3885
4017
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3886
4018
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3897,6 +4029,13 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3897
4029
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
3898
4030
|
}
|
|
3899
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
|
+
}
|
|
3900
4039
|
const obj_createdBy = obj.createdBy;
|
|
3901
4040
|
const path_createdBy = path + '.createdBy';
|
|
3902
4041
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -3947,6 +4086,20 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3947
4086
|
if (typeof obj_id !== 'string') {
|
|
3948
4087
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3949
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
|
+
}
|
|
3950
4103
|
if (obj.isVisible !== undefined) {
|
|
3951
4104
|
const obj_isVisible = obj.isVisible;
|
|
3952
4105
|
const path_isVisible = path + '.isVisible';
|
|
@@ -3954,6 +4107,13 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3954
4107
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
3955
4108
|
}
|
|
3956
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
|
+
}
|
|
3957
4117
|
if (obj.label !== undefined) {
|
|
3958
4118
|
const obj_label = obj.label;
|
|
3959
4119
|
const path_label = path + '.label';
|
|
@@ -3993,7 +4153,7 @@ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
|
|
|
3993
4153
|
return v_error === undefined ? null : v_error;
|
|
3994
4154
|
}
|
|
3995
4155
|
|
|
3996
|
-
function validate$
|
|
4156
|
+
function validate$w(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
3997
4157
|
const v_error = (() => {
|
|
3998
4158
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3999
4159
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4017,6 +4177,13 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4017
4177
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4018
4178
|
}
|
|
4019
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
|
+
}
|
|
4020
4187
|
const obj_createdBy = obj.createdBy;
|
|
4021
4188
|
const path_createdBy = path + '.createdBy';
|
|
4022
4189
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -4081,6 +4248,20 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4081
4248
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
|
|
4082
4249
|
}
|
|
4083
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
|
+
}
|
|
4084
4265
|
if (obj.isVisible !== undefined) {
|
|
4085
4266
|
const obj_isVisible = obj.isVisible;
|
|
4086
4267
|
const path_isVisible = path + '.isVisible';
|
|
@@ -4088,6 +4269,13 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4088
4269
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
|
|
4089
4270
|
}
|
|
4090
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
|
+
}
|
|
4091
4279
|
if (obj.label !== undefined) {
|
|
4092
4280
|
const obj_label = obj.label;
|
|
4093
4281
|
const path_label = path + '.label';
|
|
@@ -4116,6 +4304,13 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4116
4304
|
return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
|
|
4117
4305
|
}
|
|
4118
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
|
+
}
|
|
4119
4314
|
if (obj.shouldTreatNullsAsZeros !== undefined) {
|
|
4120
4315
|
const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
|
|
4121
4316
|
const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
|
|
@@ -4134,8 +4329,8 @@ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
|
|
|
4134
4329
|
return v_error === undefined ? null : v_error;
|
|
4135
4330
|
}
|
|
4136
4331
|
|
|
4137
|
-
const VERSION$n = "
|
|
4138
|
-
function validate$
|
|
4332
|
+
const VERSION$n = "4f111b93807b811179eb310384efdc35";
|
|
4333
|
+
function validate$v(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
4139
4334
|
const v_error = (() => {
|
|
4140
4335
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4141
4336
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4152,6 +4347,13 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4152
4347
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4153
4348
|
}
|
|
4154
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
|
+
}
|
|
4155
4357
|
const obj_createdBy = obj.createdBy;
|
|
4156
4358
|
const path_createdBy = path + '.createdBy';
|
|
4157
4359
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -4199,7 +4401,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4199
4401
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
4200
4402
|
const obj_filters_item = obj_filters[i];
|
|
4201
4403
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
4202
|
-
const referencepath_filters_itemValidationError = validate$
|
|
4404
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
4203
4405
|
if (referencepath_filters_itemValidationError !== null) {
|
|
4204
4406
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
4205
4407
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4249,7 +4451,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4249
4451
|
for (let i = 0; i < obj_semanticDimensions.length; i++) {
|
|
4250
4452
|
const obj_semanticDimensions_item = obj_semanticDimensions[i];
|
|
4251
4453
|
const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
|
|
4252
|
-
const referencepath_semanticDimensions_itemValidationError = validate$
|
|
4454
|
+
const referencepath_semanticDimensions_itemValidationError = validate$x(obj_semanticDimensions_item, path_semanticDimensions_item);
|
|
4253
4455
|
if (referencepath_semanticDimensions_itemValidationError !== null) {
|
|
4254
4456
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
|
|
4255
4457
|
message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4273,7 +4475,7 @@ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
|
|
|
4273
4475
|
for (let i = 0; i < obj_semanticMeasurements.length; i++) {
|
|
4274
4476
|
const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
|
|
4275
4477
|
const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
|
|
4276
|
-
const referencepath_semanticMeasurements_itemValidationError = validate$
|
|
4478
|
+
const referencepath_semanticMeasurements_itemValidationError = validate$w(obj_semanticMeasurements_item, path_semanticMeasurements_item);
|
|
4277
4479
|
if (referencepath_semanticMeasurements_itemValidationError !== null) {
|
|
4278
4480
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
|
|
4279
4481
|
message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4327,7 +4529,7 @@ function equals$n(existing, incoming) {
|
|
|
4327
4529
|
}
|
|
4328
4530
|
const ingest$d = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4329
4531
|
if (process.env.NODE_ENV !== 'production') {
|
|
4330
|
-
const validateError = validate$
|
|
4532
|
+
const validateError = validate$v(input);
|
|
4331
4533
|
if (validateError !== null) {
|
|
4332
4534
|
throw validateError;
|
|
4333
4535
|
}
|
|
@@ -4348,7 +4550,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4348
4550
|
}
|
|
4349
4551
|
|
|
4350
4552
|
const VERSION$m = "ed64ca1a99171ace8b53aff11746cc2a";
|
|
4351
|
-
function validate$
|
|
4553
|
+
function validate$u(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
|
|
4352
4554
|
const v_error = (() => {
|
|
4353
4555
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4354
4556
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4380,7 +4582,7 @@ function equals$m(existing, incoming) {
|
|
|
4380
4582
|
}
|
|
4381
4583
|
|
|
4382
4584
|
const VERSION$l = "2cdadcd630abb7b981b2d131880a68c0";
|
|
4383
|
-
function validate$
|
|
4585
|
+
function validate$t(obj, path = 'GroupDimensionGroupOutputRepresentation') {
|
|
4384
4586
|
const v_error = (() => {
|
|
4385
4587
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4386
4588
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4454,7 +4656,7 @@ function equals$l(existing, incoming) {
|
|
|
4454
4656
|
}
|
|
4455
4657
|
|
|
4456
4658
|
const VERSION$k = "55c60b6207985632192cb4e419822a86";
|
|
4457
|
-
function validate$
|
|
4659
|
+
function validate$s(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
|
|
4458
4660
|
const v_error = (() => {
|
|
4459
4661
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4460
4662
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4468,7 +4670,7 @@ function validate$m(obj, path = 'GroupDimensionConfigurationOutputRepresentation
|
|
|
4468
4670
|
for (let i = 0; i < obj_groups.length; i++) {
|
|
4469
4671
|
const obj_groups_item = obj_groups[i];
|
|
4470
4672
|
const path_groups_item = path_groups + '[' + i + ']';
|
|
4471
|
-
const referencepath_groups_itemValidationError = validate$
|
|
4673
|
+
const referencepath_groups_itemValidationError = validate$t(obj_groups_item, path_groups_item);
|
|
4472
4674
|
if (referencepath_groups_itemValidationError !== null) {
|
|
4473
4675
|
let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
|
|
4474
4676
|
message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4544,7 +4746,7 @@ function equals$k(existing, incoming) {
|
|
|
4544
4746
|
}
|
|
4545
4747
|
|
|
4546
4748
|
const VERSION$j = "50dc390b159159afb1945b9a811c9f80";
|
|
4547
|
-
function validate$
|
|
4749
|
+
function validate$r(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
|
|
4548
4750
|
const v_error = (() => {
|
|
4549
4751
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4550
4752
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4552,7 +4754,7 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4552
4754
|
if (obj.binDimension !== undefined) {
|
|
4553
4755
|
const obj_binDimension = obj.binDimension;
|
|
4554
4756
|
const path_binDimension = path + '.binDimension';
|
|
4555
|
-
const referencepath_binDimensionValidationError = validate$
|
|
4757
|
+
const referencepath_binDimensionValidationError = validate$u(obj_binDimension, path_binDimension);
|
|
4556
4758
|
if (referencepath_binDimensionValidationError !== null) {
|
|
4557
4759
|
let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
|
|
4558
4760
|
message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4562,7 +4764,7 @@ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
|
|
|
4562
4764
|
if (obj.groupDimension !== undefined) {
|
|
4563
4765
|
const obj_groupDimension = obj.groupDimension;
|
|
4564
4766
|
const path_groupDimension = path + '.groupDimension';
|
|
4565
|
-
const referencepath_groupDimensionValidationError = validate$
|
|
4767
|
+
const referencepath_groupDimensionValidationError = validate$s(obj_groupDimension, path_groupDimension);
|
|
4566
4768
|
if (referencepath_groupDimensionValidationError !== null) {
|
|
4567
4769
|
let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
|
|
4568
4770
|
message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4626,7 +4828,7 @@ function equals$j(existing, incoming) {
|
|
|
4626
4828
|
}
|
|
4627
4829
|
|
|
4628
4830
|
const VERSION$i = "a2976cd68e629a917463a3b690cf2527";
|
|
4629
|
-
function validate$
|
|
4831
|
+
function validate$q(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
|
|
4630
4832
|
const v_error = (() => {
|
|
4631
4833
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4632
4834
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4698,7 +4900,7 @@ function equals$i(existing, incoming) {
|
|
|
4698
4900
|
}
|
|
4699
4901
|
|
|
4700
4902
|
const VERSION$h = "f49a2cbbe308f6f74cda3e2144fa66cd";
|
|
4701
|
-
function validate$
|
|
4903
|
+
function validate$p(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
4702
4904
|
const v_error = (() => {
|
|
4703
4905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4704
4906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4713,7 +4915,7 @@ function validate$j(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
|
|
|
4713
4915
|
if (obj.tableFieldReference !== undefined) {
|
|
4714
4916
|
const obj_tableFieldReference = obj.tableFieldReference;
|
|
4715
4917
|
const path_tableFieldReference = path + '.tableFieldReference';
|
|
4716
|
-
const referencepath_tableFieldReferenceValidationError = validate$
|
|
4918
|
+
const referencepath_tableFieldReferenceValidationError = validate$q(obj_tableFieldReference, path_tableFieldReference);
|
|
4717
4919
|
if (referencepath_tableFieldReferenceValidationError !== null) {
|
|
4718
4920
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
|
|
4719
4921
|
message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4774,8 +4976,8 @@ function equals$h(existing, incoming) {
|
|
|
4774
4976
|
return true;
|
|
4775
4977
|
}
|
|
4776
4978
|
|
|
4777
|
-
const VERSION$g = "
|
|
4778
|
-
function validate$
|
|
4979
|
+
const VERSION$g = "1daec40706bf767c719fa58831fad462";
|
|
4980
|
+
function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
4779
4981
|
const v_error = (() => {
|
|
4780
4982
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4781
4983
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4792,9 +4994,16 @@ function validate$i(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4792
4994
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
4793
4995
|
}
|
|
4794
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
|
+
}
|
|
4795
5004
|
const obj_configuration = obj.configuration;
|
|
4796
5005
|
const path_configuration = path + '.configuration';
|
|
4797
|
-
const referencepath_configurationValidationError = validate$
|
|
5006
|
+
const referencepath_configurationValidationError = validate$r(obj_configuration, path_configuration);
|
|
4798
5007
|
if (referencepath_configurationValidationError !== null) {
|
|
4799
5008
|
let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
|
|
4800
5009
|
message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4819,7 +5028,7 @@ function validate$i(obj, path = 'SemanticGroupingOutputRepresentation') {
|
|
|
4819
5028
|
}
|
|
4820
5029
|
const obj_fieldReference = obj.fieldReference;
|
|
4821
5030
|
const path_fieldReference = path + '.fieldReference';
|
|
4822
|
-
const referencepath_fieldReferenceValidationError = validate$
|
|
5031
|
+
const referencepath_fieldReferenceValidationError = validate$p(obj_fieldReference, path_fieldReference);
|
|
4823
5032
|
if (referencepath_fieldReferenceValidationError !== null) {
|
|
4824
5033
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
|
|
4825
5034
|
message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4889,6 +5098,11 @@ const select$q = function SemanticGroupingOutputRepresentationSelect() {
|
|
|
4889
5098
|
kind: 'Scalar',
|
|
4890
5099
|
required: false
|
|
4891
5100
|
},
|
|
5101
|
+
{
|
|
5102
|
+
name: 'cacheKey',
|
|
5103
|
+
kind: 'Scalar',
|
|
5104
|
+
required: false
|
|
5105
|
+
},
|
|
4892
5106
|
{
|
|
4893
5107
|
name: 'configuration',
|
|
4894
5108
|
kind: 'Object',
|
|
@@ -4957,6 +5171,19 @@ function equals$g(existing, incoming) {
|
|
|
4957
5171
|
return false;
|
|
4958
5172
|
}
|
|
4959
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
|
+
}
|
|
4960
5187
|
const existing_createdBy = existing.createdBy;
|
|
4961
5188
|
const incoming_createdBy = incoming.createdBy;
|
|
4962
5189
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -5043,7 +5270,7 @@ function equals$g(existing, incoming) {
|
|
|
5043
5270
|
}
|
|
5044
5271
|
const ingest$c = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5045
5272
|
if (process.env.NODE_ENV !== 'production') {
|
|
5046
|
-
const validateError = validate$
|
|
5273
|
+
const validateError = validate$o(input);
|
|
5047
5274
|
if (validateError !== null) {
|
|
5048
5275
|
throw validateError;
|
|
5049
5276
|
}
|
|
@@ -5064,7 +5291,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5064
5291
|
}
|
|
5065
5292
|
|
|
5066
5293
|
const VERSION$f = "c5144c317ac72b60d580cab803514b8d";
|
|
5067
|
-
function validate$
|
|
5294
|
+
function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
|
|
5068
5295
|
const v_error = (() => {
|
|
5069
5296
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5070
5297
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5210,8 +5437,8 @@ function equals$f(existing, incoming) {
|
|
|
5210
5437
|
return true;
|
|
5211
5438
|
}
|
|
5212
5439
|
|
|
5213
|
-
const VERSION$e = "
|
|
5214
|
-
function validate$
|
|
5440
|
+
const VERSION$e = "b9778dace5726fcb57804d3afd529246";
|
|
5441
|
+
function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
5215
5442
|
const v_error = (() => {
|
|
5216
5443
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5217
5444
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5228,6 +5455,13 @@ function validate$g(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5228
5455
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5229
5456
|
}
|
|
5230
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
|
+
}
|
|
5231
5465
|
if (obj.cardinality !== undefined) {
|
|
5232
5466
|
const obj_cardinality = obj.cardinality;
|
|
5233
5467
|
const path_cardinality = path + '.cardinality';
|
|
@@ -5254,7 +5488,7 @@ function validate$g(obj, path = 'SemanticRelationshipOutputRepresentation') {
|
|
|
5254
5488
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
5255
5489
|
const obj_criteria_item = obj_criteria[i];
|
|
5256
5490
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
5257
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
5491
|
+
const referencepath_criteria_itemValidationError = validate$n(obj_criteria_item, path_criteria_item);
|
|
5258
5492
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
5259
5493
|
let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
5260
5494
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5362,6 +5596,11 @@ const select$o = function SemanticRelationshipOutputRepresentationSelect() {
|
|
|
5362
5596
|
kind: 'Scalar',
|
|
5363
5597
|
required: false
|
|
5364
5598
|
},
|
|
5599
|
+
{
|
|
5600
|
+
name: 'cacheKey',
|
|
5601
|
+
kind: 'Scalar',
|
|
5602
|
+
required: false
|
|
5603
|
+
},
|
|
5365
5604
|
{
|
|
5366
5605
|
name: 'cardinality',
|
|
5367
5606
|
kind: 'Scalar',
|
|
@@ -5466,6 +5705,19 @@ function equals$e(existing, incoming) {
|
|
|
5466
5705
|
return false;
|
|
5467
5706
|
}
|
|
5468
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
|
+
}
|
|
5469
5721
|
const existing_cardinality = existing.cardinality;
|
|
5470
5722
|
const incoming_cardinality = incoming.cardinality;
|
|
5471
5723
|
// if at least one of these optionals is defined
|
|
@@ -5620,7 +5872,7 @@ function equals$e(existing, incoming) {
|
|
|
5620
5872
|
}
|
|
5621
5873
|
const ingest$b = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5622
5874
|
if (process.env.NODE_ENV !== 'production') {
|
|
5623
|
-
const validateError = validate$
|
|
5875
|
+
const validateError = validate$m(input);
|
|
5624
5876
|
if (validateError !== null) {
|
|
5625
5877
|
throw validateError;
|
|
5626
5878
|
}
|
|
@@ -5640,8 +5892,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5640
5892
|
});
|
|
5641
5893
|
}
|
|
5642
5894
|
|
|
5643
|
-
const VERSION$d = "
|
|
5644
|
-
function validate$
|
|
5895
|
+
const VERSION$d = "eaf9b57a92e764fb2b5c27b6e031cfe1";
|
|
5896
|
+
function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
5645
5897
|
const v_error = (() => {
|
|
5646
5898
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5647
5899
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5658,6 +5910,13 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5658
5910
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5659
5911
|
}
|
|
5660
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
|
+
}
|
|
5661
5920
|
const obj_createdBy = obj.createdBy;
|
|
5662
5921
|
const path_createdBy = path + '.createdBy';
|
|
5663
5922
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5684,7 +5943,7 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5684
5943
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
5685
5944
|
const obj_fields_item = obj_fields[i];
|
|
5686
5945
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
5687
|
-
const referencepath_fields_itemValidationError = validate$
|
|
5946
|
+
const referencepath_fields_itemValidationError = validate$q(obj_fields_item, path_fields_item);
|
|
5688
5947
|
if (referencepath_fields_itemValidationError !== null) {
|
|
5689
5948
|
let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
5690
5949
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5728,7 +5987,7 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5728
5987
|
if (obj.semanticDimension !== undefined) {
|
|
5729
5988
|
const obj_semanticDimension = obj.semanticDimension;
|
|
5730
5989
|
const path_semanticDimension = path + '.semanticDimension';
|
|
5731
|
-
const referencepath_semanticDimensionValidationError = validate$
|
|
5990
|
+
const referencepath_semanticDimensionValidationError = validate$x(obj_semanticDimension, path_semanticDimension);
|
|
5732
5991
|
if (referencepath_semanticDimensionValidationError !== null) {
|
|
5733
5992
|
let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
|
|
5734
5993
|
message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5738,7 +5997,7 @@ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
|
|
|
5738
5997
|
if (obj.semanticMeasurement !== undefined) {
|
|
5739
5998
|
const obj_semanticMeasurement = obj.semanticMeasurement;
|
|
5740
5999
|
const path_semanticMeasurement = path + '.semanticMeasurement';
|
|
5741
|
-
const referencepath_semanticMeasurementValidationError = validate$
|
|
6000
|
+
const referencepath_semanticMeasurementValidationError = validate$w(obj_semanticMeasurement, path_semanticMeasurement);
|
|
5742
6001
|
if (referencepath_semanticMeasurementValidationError !== null) {
|
|
5743
6002
|
let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
|
|
5744
6003
|
message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5777,7 +6036,7 @@ function equals$d(existing, incoming) {
|
|
|
5777
6036
|
}
|
|
5778
6037
|
const ingest$a = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5779
6038
|
if (process.env.NODE_ENV !== 'production') {
|
|
5780
|
-
const validateError = validate$
|
|
6039
|
+
const validateError = validate$l(input);
|
|
5781
6040
|
if (validateError !== null) {
|
|
5782
6041
|
throw validateError;
|
|
5783
6042
|
}
|
|
@@ -5797,8 +6056,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5797
6056
|
});
|
|
5798
6057
|
}
|
|
5799
6058
|
|
|
5800
|
-
const VERSION$c = "
|
|
5801
|
-
function validate$
|
|
6059
|
+
const VERSION$c = "69fe23112140e9fae50135dcb15c24c2";
|
|
6060
|
+
function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
5802
6061
|
const v_error = (() => {
|
|
5803
6062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5804
6063
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5815,6 +6074,13 @@ function validate$e(obj, path = 'SemanticUnionOutputRepresentation') {
|
|
|
5815
6074
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
5816
6075
|
}
|
|
5817
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
|
+
}
|
|
5818
6084
|
const obj_createdBy = obj.createdBy;
|
|
5819
6085
|
const path_createdBy = path + '.createdBy';
|
|
5820
6086
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -5981,6 +6247,11 @@ const select$m = function SemanticUnionOutputRepresentationSelect() {
|
|
|
5981
6247
|
kind: 'Scalar',
|
|
5982
6248
|
required: false
|
|
5983
6249
|
},
|
|
6250
|
+
{
|
|
6251
|
+
name: 'cacheKey',
|
|
6252
|
+
kind: 'Scalar',
|
|
6253
|
+
required: false
|
|
6254
|
+
},
|
|
5984
6255
|
{
|
|
5985
6256
|
name: 'createdBy',
|
|
5986
6257
|
kind: 'Scalar'
|
|
@@ -6054,6 +6325,19 @@ function equals$c(existing, incoming) {
|
|
|
6054
6325
|
return false;
|
|
6055
6326
|
}
|
|
6056
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
|
+
}
|
|
6057
6341
|
const existing_createdBy = existing.createdBy;
|
|
6058
6342
|
const incoming_createdBy = incoming.createdBy;
|
|
6059
6343
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -6174,7 +6458,7 @@ function equals$c(existing, incoming) {
|
|
|
6174
6458
|
}
|
|
6175
6459
|
const ingest$9 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6176
6460
|
if (process.env.NODE_ENV !== 'production') {
|
|
6177
|
-
const validateError = validate$
|
|
6461
|
+
const validateError = validate$k(input);
|
|
6178
6462
|
if (validateError !== null) {
|
|
6179
6463
|
throw validateError;
|
|
6180
6464
|
}
|
|
@@ -6206,8 +6490,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6206
6490
|
}
|
|
6207
6491
|
}
|
|
6208
6492
|
|
|
6209
|
-
const VERSION$b = "
|
|
6210
|
-
function validate$
|
|
6493
|
+
const VERSION$b = "281e0163ea1fc7d956974394f5310216";
|
|
6494
|
+
function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
6211
6495
|
const v_error = (() => {
|
|
6212
6496
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6213
6497
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6224,6 +6508,13 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6224
6508
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
6225
6509
|
}
|
|
6226
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
|
+
}
|
|
6227
6518
|
const obj_createdBy = obj.createdBy;
|
|
6228
6519
|
const path_createdBy = path + '.createdBy';
|
|
6229
6520
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -6234,6 +6525,13 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6234
6525
|
if (typeof obj_createdDate !== 'string') {
|
|
6235
6526
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
6236
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
|
+
}
|
|
6237
6535
|
if (obj.description !== undefined) {
|
|
6238
6536
|
const obj_description = obj.description;
|
|
6239
6537
|
const path_description = path + '.description';
|
|
@@ -6257,7 +6555,7 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6257
6555
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
6258
6556
|
const obj_filters_item = obj_filters[i];
|
|
6259
6557
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
6260
|
-
const referencepath_filters_itemValidationError = validate$
|
|
6558
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
6261
6559
|
if (referencepath_filters_itemValidationError !== null) {
|
|
6262
6560
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
6263
6561
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6333,6 +6631,13 @@ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
|
|
|
6333
6631
|
}
|
|
6334
6632
|
}
|
|
6335
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
|
+
}
|
|
6336
6641
|
})();
|
|
6337
6642
|
return v_error === undefined ? null : v_error;
|
|
6338
6643
|
}
|
|
@@ -6419,6 +6724,11 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6419
6724
|
kind: 'Scalar',
|
|
6420
6725
|
required: false
|
|
6421
6726
|
},
|
|
6727
|
+
{
|
|
6728
|
+
name: 'cacheKey',
|
|
6729
|
+
kind: 'Scalar',
|
|
6730
|
+
required: false
|
|
6731
|
+
},
|
|
6422
6732
|
{
|
|
6423
6733
|
name: 'createdBy',
|
|
6424
6734
|
kind: 'Scalar'
|
|
@@ -6427,6 +6737,11 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6427
6737
|
name: 'createdDate',
|
|
6428
6738
|
kind: 'Scalar'
|
|
6429
6739
|
},
|
|
6740
|
+
{
|
|
6741
|
+
name: 'customSql',
|
|
6742
|
+
kind: 'Scalar',
|
|
6743
|
+
required: false
|
|
6744
|
+
},
|
|
6430
6745
|
{
|
|
6431
6746
|
name: 'description',
|
|
6432
6747
|
kind: 'Scalar',
|
|
@@ -6483,6 +6798,11 @@ const select$l = function SemanticLogicalViewOutputRepresentationSelect() {
|
|
|
6483
6798
|
plural: true,
|
|
6484
6799
|
required: false,
|
|
6485
6800
|
fragment: select$m()
|
|
6801
|
+
},
|
|
6802
|
+
{
|
|
6803
|
+
name: 'semanticViewTypeEnum',
|
|
6804
|
+
kind: 'Scalar',
|
|
6805
|
+
required: false
|
|
6486
6806
|
}
|
|
6487
6807
|
]
|
|
6488
6808
|
};
|
|
@@ -6506,6 +6826,19 @@ function equals$b(existing, incoming) {
|
|
|
6506
6826
|
return false;
|
|
6507
6827
|
}
|
|
6508
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
|
+
}
|
|
6509
6842
|
const existing_createdBy = existing.createdBy;
|
|
6510
6843
|
const incoming_createdBy = incoming.createdBy;
|
|
6511
6844
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -6516,6 +6849,19 @@ function equals$b(existing, incoming) {
|
|
|
6516
6849
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
6517
6850
|
return false;
|
|
6518
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
|
+
}
|
|
6519
6865
|
const existing_description = existing.description;
|
|
6520
6866
|
const incoming_description = incoming.description;
|
|
6521
6867
|
// if at least one of these optionals is defined
|
|
@@ -6586,6 +6932,19 @@ function equals$b(existing, incoming) {
|
|
|
6586
6932
|
return false;
|
|
6587
6933
|
}
|
|
6588
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
|
+
}
|
|
6589
6948
|
const existing_filters = existing.filters;
|
|
6590
6949
|
const incoming_filters = incoming.filters;
|
|
6591
6950
|
// if at least one of these optionals is defined
|
|
@@ -6662,7 +7021,7 @@ function equals$b(existing, incoming) {
|
|
|
6662
7021
|
}
|
|
6663
7022
|
const ingest$8 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6664
7023
|
if (process.env.NODE_ENV !== 'production') {
|
|
6665
|
-
const validateError = validate$
|
|
7024
|
+
const validateError = validate$j(input);
|
|
6666
7025
|
if (validateError !== null) {
|
|
6667
7026
|
throw validateError;
|
|
6668
7027
|
}
|
|
@@ -6701,7 +7060,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6701
7060
|
}
|
|
6702
7061
|
|
|
6703
7062
|
const VERSION$a = "a50848c632bb205d5e910bb726d9219e";
|
|
6704
|
-
function validate$
|
|
7063
|
+
function validate$i(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
|
|
6705
7064
|
const v_error = (() => {
|
|
6706
7065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6707
7066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6709,7 +7068,7 @@ function validate$c(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6709
7068
|
if (obj.identifierDimensionReference !== undefined) {
|
|
6710
7069
|
const obj_identifierDimensionReference = obj.identifierDimensionReference;
|
|
6711
7070
|
const path_identifierDimensionReference = path + '.identifierDimensionReference';
|
|
6712
|
-
const referencepath_identifierDimensionReferenceValidationError = validate$
|
|
7071
|
+
const referencepath_identifierDimensionReferenceValidationError = validate$p(obj_identifierDimensionReference, path_identifierDimensionReference);
|
|
6713
7072
|
if (referencepath_identifierDimensionReferenceValidationError !== null) {
|
|
6714
7073
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
|
|
6715
7074
|
message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6719,7 +7078,7 @@ function validate$c(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
|
|
|
6719
7078
|
if (obj.namingDimensionReference !== undefined) {
|
|
6720
7079
|
const obj_namingDimensionReference = obj.namingDimensionReference;
|
|
6721
7080
|
const path_namingDimensionReference = path + '.namingDimensionReference';
|
|
6722
|
-
const referencepath_namingDimensionReferenceValidationError = validate$
|
|
7081
|
+
const referencepath_namingDimensionReferenceValidationError = validate$p(obj_namingDimensionReference, path_namingDimensionReference);
|
|
6723
7082
|
if (referencepath_namingDimensionReferenceValidationError !== null) {
|
|
6724
7083
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
|
|
6725
7084
|
message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6782,7 +7141,7 @@ function equals$a(existing, incoming) {
|
|
|
6782
7141
|
}
|
|
6783
7142
|
|
|
6784
7143
|
const VERSION$9 = "1b8cf2283d5d5c480459506274f0604c";
|
|
6785
|
-
function validate$
|
|
7144
|
+
function validate$h(obj, path = 'SemanticInsightTypeOutputRepresentation') {
|
|
6786
7145
|
const v_error = (() => {
|
|
6787
7146
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6788
7147
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6854,7 +7213,7 @@ function equals$9(existing, incoming) {
|
|
|
6854
7213
|
}
|
|
6855
7214
|
|
|
6856
7215
|
const VERSION$8 = "a3f5972287be7bcf9ca205af56046a58";
|
|
6857
|
-
function validate$
|
|
7216
|
+
function validate$g(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
|
|
6858
7217
|
const v_error = (() => {
|
|
6859
7218
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6860
7219
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6862,7 +7221,7 @@ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6862
7221
|
if (obj.identifyingDimension !== undefined) {
|
|
6863
7222
|
const obj_identifyingDimension = obj.identifyingDimension;
|
|
6864
7223
|
const path_identifyingDimension = path + '.identifyingDimension';
|
|
6865
|
-
const referencepath_identifyingDimensionValidationError = validate$
|
|
7224
|
+
const referencepath_identifyingDimensionValidationError = validate$i(obj_identifyingDimension, path_identifyingDimension);
|
|
6866
7225
|
if (referencepath_identifyingDimensionValidationError !== null) {
|
|
6867
7226
|
let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
|
|
6868
7227
|
message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6878,7 +7237,7 @@ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6878
7237
|
for (let i = 0; i < obj_insightTypes.length; i++) {
|
|
6879
7238
|
const obj_insightTypes_item = obj_insightTypes[i];
|
|
6880
7239
|
const path_insightTypes_item = path_insightTypes + '[' + i + ']';
|
|
6881
|
-
const referencepath_insightTypes_itemValidationError = validate$
|
|
7240
|
+
const referencepath_insightTypes_itemValidationError = validate$h(obj_insightTypes_item, path_insightTypes_item);
|
|
6882
7241
|
if (referencepath_insightTypes_itemValidationError !== null) {
|
|
6883
7242
|
let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
|
|
6884
7243
|
message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6895,7 +7254,7 @@ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
|
|
|
6895
7254
|
for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
|
|
6896
7255
|
const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
|
|
6897
7256
|
const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
|
|
6898
|
-
const referencepath_insightsDimensionsReferences_itemValidationError = validate$
|
|
7257
|
+
const referencepath_insightsDimensionsReferences_itemValidationError = validate$p(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
|
|
6899
7258
|
if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
|
|
6900
7259
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
|
|
6901
7260
|
message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7066,8 +7425,8 @@ function equals$8(existing, incoming) {
|
|
|
7066
7425
|
return true;
|
|
7067
7426
|
}
|
|
7068
7427
|
|
|
7069
|
-
const VERSION$7 = "
|
|
7070
|
-
function validate$
|
|
7428
|
+
const VERSION$7 = "0873ccd85b32d14c753931243d20ac8b";
|
|
7429
|
+
function validate$f(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
7071
7430
|
const v_error = (() => {
|
|
7072
7431
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7073
7432
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7081,7 +7440,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7081
7440
|
for (let i = 0; i < obj_additionalDimensions.length; i++) {
|
|
7082
7441
|
const obj_additionalDimensions_item = obj_additionalDimensions[i];
|
|
7083
7442
|
const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
|
|
7084
|
-
const referencepath_additionalDimensions_itemValidationError = validate$
|
|
7443
|
+
const referencepath_additionalDimensions_itemValidationError = validate$p(obj_additionalDimensions_item, path_additionalDimensions_item);
|
|
7085
7444
|
if (referencepath_additionalDimensions_itemValidationError !== null) {
|
|
7086
7445
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
|
|
7087
7446
|
message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7108,6 +7467,13 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7108
7467
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
7109
7468
|
}
|
|
7110
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
|
+
}
|
|
7111
7477
|
const obj_createdBy = obj.createdBy;
|
|
7112
7478
|
const path_createdBy = path + '.createdBy';
|
|
7113
7479
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7141,7 +7507,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7141
7507
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
7142
7508
|
const obj_filters_item = obj_filters[i];
|
|
7143
7509
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
7144
|
-
const referencepath_filters_itemValidationError = validate$
|
|
7510
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
7145
7511
|
if (referencepath_filters_itemValidationError !== null) {
|
|
7146
7512
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
7147
7513
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7157,7 +7523,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7157
7523
|
if (obj.insightsSettings !== undefined) {
|
|
7158
7524
|
const obj_insightsSettings = obj.insightsSettings;
|
|
7159
7525
|
const path_insightsSettings = path + '.insightsSettings';
|
|
7160
|
-
const referencepath_insightsSettingsValidationError = validate$
|
|
7526
|
+
const referencepath_insightsSettingsValidationError = validate$g(obj_insightsSettings, path_insightsSettings);
|
|
7161
7527
|
if (referencepath_insightsSettingsValidationError !== null) {
|
|
7162
7528
|
let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
|
|
7163
7529
|
message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7195,7 +7561,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7195
7561
|
if (obj.measurementReference !== undefined) {
|
|
7196
7562
|
const obj_measurementReference = obj.measurementReference;
|
|
7197
7563
|
const path_measurementReference = path + '.measurementReference';
|
|
7198
|
-
const referencepath_measurementReferenceValidationError = validate$
|
|
7564
|
+
const referencepath_measurementReferenceValidationError = validate$p(obj_measurementReference, path_measurementReference);
|
|
7199
7565
|
if (referencepath_measurementReferenceValidationError !== null) {
|
|
7200
7566
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
|
|
7201
7567
|
message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7205,7 +7571,7 @@ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
|
|
|
7205
7571
|
if (obj.timeDimensionReference !== undefined) {
|
|
7206
7572
|
const obj_timeDimensionReference = obj.timeDimensionReference;
|
|
7207
7573
|
const path_timeDimensionReference = path + '.timeDimensionReference';
|
|
7208
|
-
const referencepath_timeDimensionReferenceValidationError = validate$
|
|
7574
|
+
const referencepath_timeDimensionReferenceValidationError = validate$p(obj_timeDimensionReference, path_timeDimensionReference);
|
|
7209
7575
|
if (referencepath_timeDimensionReferenceValidationError !== null) {
|
|
7210
7576
|
let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
|
|
7211
7577
|
message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7272,6 +7638,11 @@ const select$h = function SemanticMetricOutputRepresentationSelect() {
|
|
|
7272
7638
|
kind: 'Scalar',
|
|
7273
7639
|
required: false
|
|
7274
7640
|
},
|
|
7641
|
+
{
|
|
7642
|
+
name: 'cacheKey',
|
|
7643
|
+
kind: 'Scalar',
|
|
7644
|
+
required: false
|
|
7645
|
+
},
|
|
7275
7646
|
{
|
|
7276
7647
|
name: 'createdBy',
|
|
7277
7648
|
kind: 'Scalar'
|
|
@@ -7393,6 +7764,19 @@ function equals$7(existing, incoming) {
|
|
|
7393
7764
|
return false;
|
|
7394
7765
|
}
|
|
7395
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
|
+
}
|
|
7396
7780
|
const existing_createdBy = existing.createdBy;
|
|
7397
7781
|
const incoming_createdBy = incoming.createdBy;
|
|
7398
7782
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -7570,7 +7954,7 @@ function equals$7(existing, incoming) {
|
|
|
7570
7954
|
}
|
|
7571
7955
|
const ingest$7 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7572
7956
|
if (process.env.NODE_ENV !== 'production') {
|
|
7573
|
-
const validateError = validate$
|
|
7957
|
+
const validateError = validate$f(input);
|
|
7574
7958
|
if (validateError !== null) {
|
|
7575
7959
|
throw validateError;
|
|
7576
7960
|
}
|
|
@@ -7590,8 +7974,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7590
7974
|
});
|
|
7591
7975
|
}
|
|
7592
7976
|
|
|
7593
|
-
const VERSION$6 = "
|
|
7594
|
-
function validate$
|
|
7977
|
+
const VERSION$6 = "562f9618d0de907973cf252f01ea567d";
|
|
7978
|
+
function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
7595
7979
|
const v_error = (() => {
|
|
7596
7980
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7597
7981
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7608,6 +7992,13 @@ function validate$8(obj, path = 'SemanticParameterOutputRepresentation') {
|
|
|
7608
7992
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
7609
7993
|
}
|
|
7610
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
|
+
}
|
|
7611
8002
|
const obj_createdBy = obj.createdBy;
|
|
7612
8003
|
const path_createdBy = path + '.createdBy';
|
|
7613
8004
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -7738,6 +8129,11 @@ const select$g = function SemanticParameterOutputRepresentationSelect() {
|
|
|
7738
8129
|
kind: 'Scalar',
|
|
7739
8130
|
required: false
|
|
7740
8131
|
},
|
|
8132
|
+
{
|
|
8133
|
+
name: 'cacheKey',
|
|
8134
|
+
kind: 'Scalar',
|
|
8135
|
+
required: false
|
|
8136
|
+
},
|
|
7741
8137
|
{
|
|
7742
8138
|
name: 'createdBy',
|
|
7743
8139
|
kind: 'Scalar'
|
|
@@ -7828,6 +8224,19 @@ function equals$6(existing, incoming) {
|
|
|
7828
8224
|
return false;
|
|
7829
8225
|
}
|
|
7830
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
|
+
}
|
|
7831
8240
|
const existing_createdBy = existing.createdBy;
|
|
7832
8241
|
const incoming_createdBy = incoming.createdBy;
|
|
7833
8242
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -7995,7 +8404,7 @@ function equals$6(existing, incoming) {
|
|
|
7995
8404
|
}
|
|
7996
8405
|
const ingest$6 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7997
8406
|
if (process.env.NODE_ENV !== 'production') {
|
|
7998
|
-
const validateError = validate$
|
|
8407
|
+
const validateError = validate$e(input);
|
|
7999
8408
|
if (validateError !== null) {
|
|
8000
8409
|
throw validateError;
|
|
8001
8410
|
}
|
|
@@ -8015,8 +8424,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8015
8424
|
});
|
|
8016
8425
|
}
|
|
8017
8426
|
|
|
8018
|
-
const VERSION$5 = "
|
|
8019
|
-
function validate$
|
|
8427
|
+
const VERSION$5 = "5cda82e85d7322d459ba16b10b81ee96";
|
|
8428
|
+
function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8020
8429
|
const v_error = (() => {
|
|
8021
8430
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8022
8431
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8049,7 +8458,7 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8049
8458
|
for (let i = 0; i < obj_baseModels.length; i++) {
|
|
8050
8459
|
const obj_baseModels_item = obj_baseModels[i];
|
|
8051
8460
|
const path_baseModels_item = path_baseModels + '[' + i + ']';
|
|
8052
|
-
const referencepath_baseModels_itemValidationError = validate
|
|
8461
|
+
const referencepath_baseModels_itemValidationError = validate$$(obj_baseModels_item, path_baseModels_item);
|
|
8053
8462
|
if (referencepath_baseModels_itemValidationError !== null) {
|
|
8054
8463
|
let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
|
|
8055
8464
|
message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8057,6 +8466,13 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8057
8466
|
}
|
|
8058
8467
|
}
|
|
8059
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
|
+
}
|
|
8060
8476
|
if (obj.categories !== undefined) {
|
|
8061
8477
|
const obj_categories = obj.categories;
|
|
8062
8478
|
const path_categories = path + '.categories';
|
|
@@ -8098,10 +8514,12 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8098
8514
|
if (typeof obj_id !== 'string') {
|
|
8099
8515
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8100
8516
|
}
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
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
|
+
}
|
|
8105
8523
|
}
|
|
8106
8524
|
if (obj.label !== undefined) {
|
|
8107
8525
|
const obj_label = obj.label;
|
|
@@ -8508,6 +8926,11 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8508
8926
|
selections: SemanticBaseModelOutputRepresentation__selections,
|
|
8509
8927
|
required: false
|
|
8510
8928
|
},
|
|
8929
|
+
{
|
|
8930
|
+
name: 'cacheKey',
|
|
8931
|
+
kind: 'Scalar',
|
|
8932
|
+
required: false
|
|
8933
|
+
},
|
|
8511
8934
|
{
|
|
8512
8935
|
name: 'categories',
|
|
8513
8936
|
kind: 'Scalar',
|
|
@@ -8537,7 +8960,8 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8537
8960
|
},
|
|
8538
8961
|
{
|
|
8539
8962
|
name: 'isLocked',
|
|
8540
|
-
kind: 'Scalar'
|
|
8963
|
+
kind: 'Scalar',
|
|
8964
|
+
required: false
|
|
8541
8965
|
},
|
|
8542
8966
|
{
|
|
8543
8967
|
name: 'label',
|
|
@@ -8661,8 +9085,16 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8661
9085
|
function equals$5(existing, incoming) {
|
|
8662
9086
|
const existing_isLocked = existing.isLocked;
|
|
8663
9087
|
const incoming_isLocked = incoming.isLocked;
|
|
8664
|
-
if
|
|
8665
|
-
|
|
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
|
+
}
|
|
8666
9098
|
}
|
|
8667
9099
|
const existing_apiName = existing.apiName;
|
|
8668
9100
|
const incoming_apiName = incoming.apiName;
|
|
@@ -8695,6 +9127,19 @@ function equals$5(existing, incoming) {
|
|
|
8695
9127
|
return false;
|
|
8696
9128
|
}
|
|
8697
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
|
+
}
|
|
8698
9143
|
const existing_createdBy = existing.createdBy;
|
|
8699
9144
|
const incoming_createdBy = incoming.createdBy;
|
|
8700
9145
|
if (!(existing_createdBy === incoming_createdBy)) {
|
|
@@ -9068,7 +9513,7 @@ function equals$5(existing, incoming) {
|
|
|
9068
9513
|
}
|
|
9069
9514
|
const ingest$5 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9070
9515
|
if (process.env.NODE_ENV !== 'production') {
|
|
9071
|
-
const validateError = validate$
|
|
9516
|
+
const validateError = validate$d(input);
|
|
9072
9517
|
if (validateError !== null) {
|
|
9073
9518
|
throw validateError;
|
|
9074
9519
|
}
|
|
@@ -9204,7 +9649,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9204
9649
|
const untrustedConfig_baseModels_array = [];
|
|
9205
9650
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9206
9651
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9207
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
9652
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Y(untrustedConfig_baseModels_item);
|
|
9208
9653
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9209
9654
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9210
9655
|
}
|
|
@@ -9216,7 +9661,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9216
9661
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9217
9662
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9218
9663
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9219
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
9664
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9220
9665
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9221
9666
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9222
9667
|
}
|
|
@@ -9228,7 +9673,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9228
9673
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9229
9674
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9230
9675
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9231
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
9676
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9232
9677
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9233
9678
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9234
9679
|
}
|
|
@@ -9240,7 +9685,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9240
9685
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9241
9686
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9242
9687
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9243
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
9688
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
9244
9689
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9245
9690
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9246
9691
|
}
|
|
@@ -9252,7 +9697,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9252
9697
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9253
9698
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9254
9699
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9255
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
9700
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
9256
9701
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9257
9702
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9258
9703
|
}
|
|
@@ -9264,7 +9709,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9264
9709
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9265
9710
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9266
9711
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9267
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
9712
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
9268
9713
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9269
9714
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9270
9715
|
}
|
|
@@ -9276,7 +9721,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9276
9721
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9277
9722
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9278
9723
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9279
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
9724
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
9280
9725
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9281
9726
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9282
9727
|
}
|
|
@@ -9288,7 +9733,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9288
9733
|
const untrustedConfig_semanticParameters_array = [];
|
|
9289
9734
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9290
9735
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9291
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
9736
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
9292
9737
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9293
9738
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9294
9739
|
}
|
|
@@ -9300,7 +9745,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
9300
9745
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9301
9746
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9302
9747
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9303
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
9748
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
9304
9749
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9305
9750
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9306
9751
|
}
|
|
@@ -9404,6 +9849,7 @@ const getSemanticModel_ConfigPropertyMetadata = [
|
|
|
9404
9849
|
generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9405
9850
|
generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9406
9851
|
generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9852
|
+
generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9407
9853
|
];
|
|
9408
9854
|
const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticModel_ConfigPropertyMetadata);
|
|
9409
9855
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(getSemanticModel_ConfigPropertyMetadata);
|
|
@@ -9556,7 +10002,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9556
10002
|
const untrustedConfig_baseModels_array = [];
|
|
9557
10003
|
for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
|
|
9558
10004
|
const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
|
|
9559
|
-
const referenceSemanticBaseModelInputRepresentationValidationError = validate$
|
|
10005
|
+
const referenceSemanticBaseModelInputRepresentationValidationError = validate$Y(untrustedConfig_baseModels_item);
|
|
9560
10006
|
if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
|
|
9561
10007
|
untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
|
|
9562
10008
|
}
|
|
@@ -9568,7 +10014,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9568
10014
|
const untrustedConfig_semanticCalculatedDimensions_array = [];
|
|
9569
10015
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
|
|
9570
10016
|
const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
|
|
9571
|
-
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$
|
|
10017
|
+
const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9572
10018
|
if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
|
|
9573
10019
|
untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
|
|
9574
10020
|
}
|
|
@@ -9580,7 +10026,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9580
10026
|
const untrustedConfig_semanticCalculatedMeasurements_array = [];
|
|
9581
10027
|
for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
|
|
9582
10028
|
const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
|
|
9583
|
-
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$
|
|
10029
|
+
const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$V(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9584
10030
|
if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
|
|
9585
10031
|
untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
|
|
9586
10032
|
}
|
|
@@ -9592,7 +10038,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9592
10038
|
const untrustedConfig_semanticDataObjects_array = [];
|
|
9593
10039
|
for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
|
|
9594
10040
|
const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
|
|
9595
|
-
const referenceSemanticDataObjectInputRepresentationValidationError = validate$
|
|
10041
|
+
const referenceSemanticDataObjectInputRepresentationValidationError = validate$S(untrustedConfig_semanticDataObjects_item);
|
|
9596
10042
|
if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
|
|
9597
10043
|
untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
|
|
9598
10044
|
}
|
|
@@ -9604,7 +10050,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9604
10050
|
const untrustedConfig_semanticGroupings_array = [];
|
|
9605
10051
|
for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
|
|
9606
10052
|
const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
|
|
9607
|
-
const referenceSemanticGroupingInputRepresentationValidationError = validate$
|
|
10053
|
+
const referenceSemanticGroupingInputRepresentationValidationError = validate$L(untrustedConfig_semanticGroupings_item);
|
|
9608
10054
|
if (referenceSemanticGroupingInputRepresentationValidationError === null) {
|
|
9609
10055
|
untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
|
|
9610
10056
|
}
|
|
@@ -9616,7 +10062,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9616
10062
|
const untrustedConfig_semanticLogicalViews_array = [];
|
|
9617
10063
|
for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
|
|
9618
10064
|
const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
|
|
9619
|
-
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$
|
|
10065
|
+
const referenceSemanticLogicalViewInputRepresentationValidationError = validate$G(untrustedConfig_semanticLogicalViews_item);
|
|
9620
10066
|
if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
|
|
9621
10067
|
untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
|
|
9622
10068
|
}
|
|
@@ -9628,7 +10074,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9628
10074
|
const untrustedConfig_semanticMetrics_array = [];
|
|
9629
10075
|
for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
|
|
9630
10076
|
const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
|
|
9631
|
-
const referenceSemanticMetricInputRepresentationValidationError = validate$
|
|
10077
|
+
const referenceSemanticMetricInputRepresentationValidationError = validate$C(untrustedConfig_semanticMetrics_item);
|
|
9632
10078
|
if (referenceSemanticMetricInputRepresentationValidationError === null) {
|
|
9633
10079
|
untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
|
|
9634
10080
|
}
|
|
@@ -9640,7 +10086,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9640
10086
|
const untrustedConfig_semanticParameters_array = [];
|
|
9641
10087
|
for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
|
|
9642
10088
|
const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
|
|
9643
|
-
const referenceSemanticParameterInputRepresentationValidationError = validate$
|
|
10089
|
+
const referenceSemanticParameterInputRepresentationValidationError = validate$B(untrustedConfig_semanticParameters_item);
|
|
9644
10090
|
if (referenceSemanticParameterInputRepresentationValidationError === null) {
|
|
9645
10091
|
untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
|
|
9646
10092
|
}
|
|
@@ -9652,7 +10098,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9652
10098
|
const untrustedConfig_semanticRelationships_array = [];
|
|
9653
10099
|
for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
|
|
9654
10100
|
const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
|
|
9655
|
-
const referenceSemanticRelationshipInputRepresentationValidationError = validate$
|
|
10101
|
+
const referenceSemanticRelationshipInputRepresentationValidationError = validate$J(untrustedConfig_semanticRelationships_item);
|
|
9656
10102
|
if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
|
|
9657
10103
|
untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
|
|
9658
10104
|
}
|
|
@@ -9703,23 +10149,88 @@ const patchSemanticModelAdapterFactory = (luvio) => {
|
|
|
9703
10149
|
};
|
|
9704
10150
|
};
|
|
9705
10151
|
|
|
9706
|
-
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') {
|
|
9707
10218
|
const v_error = (() => {
|
|
9708
10219
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9709
10220
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9710
10221
|
}
|
|
9711
|
-
if (obj.
|
|
9712
|
-
const
|
|
9713
|
-
const
|
|
9714
|
-
if (typeof
|
|
9715
|
-
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 + '")');
|
|
9716
10227
|
}
|
|
9717
10228
|
}
|
|
9718
|
-
if (obj.
|
|
9719
|
-
const
|
|
9720
|
-
const
|
|
9721
|
-
if (typeof
|
|
9722
|
-
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 + '")');
|
|
9723
10234
|
}
|
|
9724
10235
|
}
|
|
9725
10236
|
if (obj.timeRangeType !== undefined) {
|
|
@@ -9733,8 +10244,8 @@ function validate$6(obj, path = 'SemanticTimeRangeOutputRepresentation') {
|
|
|
9733
10244
|
return v_error === undefined ? null : v_error;
|
|
9734
10245
|
}
|
|
9735
10246
|
|
|
9736
|
-
const VERSION$4 = "
|
|
9737
|
-
function validate$
|
|
10247
|
+
const VERSION$4 = "34ece37408ddd80874097c87b829ae97";
|
|
10248
|
+
function validate$8(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
9738
10249
|
const v_error = (() => {
|
|
9739
10250
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9740
10251
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9751,6 +10262,13 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9751
10262
|
return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
|
|
9752
10263
|
}
|
|
9753
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
|
+
}
|
|
9754
10272
|
const obj_createdBy = obj.createdBy;
|
|
9755
10273
|
const path_createdBy = path + '.createdBy';
|
|
9756
10274
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -9784,7 +10302,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9784
10302
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
9785
10303
|
const obj_filters_item = obj_filters[i];
|
|
9786
10304
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
9787
|
-
const referencepath_filters_itemValidationError = validate$
|
|
10305
|
+
const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
|
|
9788
10306
|
if (referencepath_filters_itemValidationError !== null) {
|
|
9789
10307
|
let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
|
|
9790
10308
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9792,6 +10310,16 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9792
10310
|
}
|
|
9793
10311
|
}
|
|
9794
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
|
+
}
|
|
9795
10323
|
const obj_id = obj.id;
|
|
9796
10324
|
const path_id = path + '.id';
|
|
9797
10325
|
if (typeof obj_id !== 'string') {
|
|
@@ -9828,7 +10356,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9828
10356
|
if (obj.semanticMetric !== undefined) {
|
|
9829
10357
|
const obj_semanticMetric = obj.semanticMetric;
|
|
9830
10358
|
const path_semanticMetric = path + '.semanticMetric';
|
|
9831
|
-
const referencepath_semanticMetricValidationError = validate$
|
|
10359
|
+
const referencepath_semanticMetricValidationError = validate$f(obj_semanticMetric, path_semanticMetric);
|
|
9832
10360
|
if (referencepath_semanticMetricValidationError !== null) {
|
|
9833
10361
|
let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
|
|
9834
10362
|
message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9838,7 +10366,7 @@ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
|
|
|
9838
10366
|
if (obj.timeRange !== undefined) {
|
|
9839
10367
|
const obj_timeRange = obj.timeRange;
|
|
9840
10368
|
const path_timeRange = path + '.timeRange';
|
|
9841
|
-
const referencepath_timeRangeValidationError = validate$
|
|
10369
|
+
const referencepath_timeRangeValidationError = validate$9(obj_timeRange, path_timeRange);
|
|
9842
10370
|
if (referencepath_timeRangeValidationError !== null) {
|
|
9843
10371
|
let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
|
|
9844
10372
|
message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9877,7 +10405,7 @@ function equals$4(existing, incoming) {
|
|
|
9877
10405
|
}
|
|
9878
10406
|
const ingest$4 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9879
10407
|
if (process.env.NODE_ENV !== 'production') {
|
|
9880
|
-
const validateError = validate$
|
|
10408
|
+
const validateError = validate$8(input);
|
|
9881
10409
|
if (validateError !== null) {
|
|
9882
10410
|
throw validateError;
|
|
9883
10411
|
}
|
|
@@ -9898,7 +10426,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9898
10426
|
}
|
|
9899
10427
|
|
|
9900
10428
|
const VERSION$3 = "2980e56b9b4f8b3773f2554f67834745";
|
|
9901
|
-
function validate$
|
|
10429
|
+
function validate$7(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
|
|
9902
10430
|
const v_error = (() => {
|
|
9903
10431
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9904
10432
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10006,7 +10534,7 @@ function equals$3(existing, incoming) {
|
|
|
10006
10534
|
}
|
|
10007
10535
|
const ingest$3 = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10008
10536
|
if (process.env.NODE_ENV !== 'production') {
|
|
10009
|
-
const validateError = validate$
|
|
10537
|
+
const validateError = validate$7(input);
|
|
10010
10538
|
if (validateError !== null) {
|
|
10011
10539
|
throw validateError;
|
|
10012
10540
|
}
|
|
@@ -10033,7 +10561,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10033
10561
|
}
|
|
10034
10562
|
|
|
10035
10563
|
const VERSION$2 = "6fbd75e1a154b08c14ba6560c06488db";
|
|
10036
|
-
function validate$
|
|
10564
|
+
function validate$6(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
|
|
10037
10565
|
const v_error = (() => {
|
|
10038
10566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10039
10567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10116,7 +10644,7 @@ function equals$2(existing, incoming) {
|
|
|
10116
10644
|
}
|
|
10117
10645
|
const ingest$2 = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10118
10646
|
if (process.env.NODE_ENV !== 'production') {
|
|
10119
|
-
const validateError = validate$
|
|
10647
|
+
const validateError = validate$6(input);
|
|
10120
10648
|
if (validateError !== null) {
|
|
10121
10649
|
throw validateError;
|
|
10122
10650
|
}
|
|
@@ -10276,7 +10804,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
|
|
|
10276
10804
|
};
|
|
10277
10805
|
|
|
10278
10806
|
const VERSION$1 = "a6709a9f16e02d0d8e3d8423ebc79c2b";
|
|
10279
|
-
function validate$
|
|
10807
|
+
function validate$5(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
|
|
10280
10808
|
const v_error = (() => {
|
|
10281
10809
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10282
10810
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10359,7 +10887,7 @@ function equals$1(existing, incoming) {
|
|
|
10359
10887
|
}
|
|
10360
10888
|
const ingest$1 = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10361
10889
|
if (process.env.NODE_ENV !== 'production') {
|
|
10362
|
-
const validateError = validate$
|
|
10890
|
+
const validateError = validate$5(input);
|
|
10363
10891
|
if (validateError !== null) {
|
|
10364
10892
|
throw validateError;
|
|
10365
10893
|
}
|
|
@@ -10653,7 +11181,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
|
|
|
10653
11181
|
};
|
|
10654
11182
|
|
|
10655
11183
|
const VERSION = "542f239a7dc422c67d6cdffb0ff866eb";
|
|
10656
|
-
function validate$
|
|
11184
|
+
function validate$4(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
|
|
10657
11185
|
const v_error = (() => {
|
|
10658
11186
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10659
11187
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10736,7 +11264,7 @@ function equals(existing, incoming) {
|
|
|
10736
11264
|
}
|
|
10737
11265
|
const ingest = function SemanticSubMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10738
11266
|
if (process.env.NODE_ENV !== 'production') {
|
|
10739
|
-
const validateError = validate$
|
|
11267
|
+
const validateError = validate$4(input);
|
|
10740
11268
|
if (validateError !== null) {
|
|
10741
11269
|
throw validateError;
|
|
10742
11270
|
}
|
|
@@ -10894,23 +11422,94 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
|
|
|
10894
11422
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
10895
11423
|
};
|
|
10896
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
|
+
|
|
10897
11496
|
function validate(obj, path = 'SemanticTimeRangeInputRepresentation') {
|
|
10898
11497
|
const v_error = (() => {
|
|
10899
11498
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10900
11499
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10901
11500
|
}
|
|
10902
|
-
if (obj.
|
|
10903
|
-
const
|
|
10904
|
-
const
|
|
10905
|
-
if (typeof
|
|
10906
|
-
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 + '")');
|
|
10907
11506
|
}
|
|
10908
11507
|
}
|
|
10909
|
-
if (obj.
|
|
10910
|
-
const
|
|
10911
|
-
const
|
|
10912
|
-
if (typeof
|
|
10913
|
-
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 + '")');
|
|
10914
11513
|
}
|
|
10915
11514
|
}
|
|
10916
11515
|
if (obj.timeRangeType !== undefined) {
|
|
@@ -10969,6 +11568,7 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
|
|
|
10969
11568
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
10970
11569
|
generateParamConfigMetadata('filterLogic', false, 2 /* Body */, 0 /* String */),
|
|
10971
11570
|
generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11571
|
+
generateParamConfigMetadata('goal', false, 2 /* Body */, 4 /* Unsupported */),
|
|
10972
11572
|
generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
|
|
10973
11573
|
generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
|
|
10974
11574
|
];
|
|
@@ -10982,13 +11582,18 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
10982
11582
|
const untrustedConfig_filters_array = [];
|
|
10983
11583
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
10984
11584
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
10985
|
-
const referenceSemanticFilterInputRepresentationValidationError = validate$
|
|
11585
|
+
const referenceSemanticFilterInputRepresentationValidationError = validate$X(untrustedConfig_filters_item);
|
|
10986
11586
|
if (referenceSemanticFilterInputRepresentationValidationError === null) {
|
|
10987
11587
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
10988
11588
|
}
|
|
10989
11589
|
}
|
|
10990
11590
|
config.filters = untrustedConfig_filters_array;
|
|
10991
11591
|
}
|
|
11592
|
+
const untrustedConfig_goal = untrustedConfig.goal;
|
|
11593
|
+
const referenceSemanticMetricGoalInputRepresentationValidationError = validate$1(untrustedConfig_goal);
|
|
11594
|
+
if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
|
|
11595
|
+
config.goal = untrustedConfig_goal;
|
|
11596
|
+
}
|
|
10992
11597
|
const untrustedConfig_timeRange = untrustedConfig.timeRange;
|
|
10993
11598
|
const referenceSemanticTimeRangeInputRepresentationValidationError = validate(untrustedConfig_timeRange);
|
|
10994
11599
|
if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
|