@salesforce/lds-adapters-industries-cpq 1.461.0 → 1.463.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-cpq.js +278 -144
- package/dist/es/es2018/types/src/generated/types/ConfiguratorConflictResolutionDeletedNodeOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorConflictResolutionDeltaNodeOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorConflictResolutionUpdatedNodeOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorOptionsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ConfiguratorOutputRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +215 -81
- package/src/raml/api.raml +64 -0
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$1r(obj, path = 'PreviewInputRepresentation') {
|
|
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 + '")');
|
|
@@ -154,7 +154,7 @@ function validate$1o(obj, path = 'PreviewInputRepresentation') {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
const VERSION$t = "16ee7e6452adaa7a1a8e36a1238a4b85";
|
|
157
|
-
function validate$
|
|
157
|
+
function validate$1q(obj, path = 'CpqMessageOutputRepresentation') {
|
|
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 + '")');
|
|
@@ -276,7 +276,7 @@ function equals$t(existing, incoming) {
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
const VERSION$s = "2927abd89d0e76012000aa604b583b6d";
|
|
279
|
-
function validate$
|
|
279
|
+
function validate$1p(obj, path = 'ApiStatusOutputRepresentation') {
|
|
280
280
|
const v_error = (() => {
|
|
281
281
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
282
282
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -290,7 +290,7 @@ function validate$1m(obj, path = 'ApiStatusOutputRepresentation') {
|
|
|
290
290
|
for (let i = 0; i < obj_messages.length; i++) {
|
|
291
291
|
const obj_messages_item = obj_messages[i];
|
|
292
292
|
const path_messages_item = path_messages + '[' + i + ']';
|
|
293
|
-
const referencepath_messages_itemValidationError = validate$
|
|
293
|
+
const referencepath_messages_itemValidationError = validate$1q(obj_messages_item, path_messages_item);
|
|
294
294
|
if (referencepath_messages_itemValidationError !== null) {
|
|
295
295
|
let message = 'Object doesn\'t match CpqMessageOutputRepresentation (at "' + path_messages_item + '")\n';
|
|
296
296
|
message += referencepath_messages_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -379,7 +379,7 @@ function equals$s(existing, incoming) {
|
|
|
379
379
|
return true;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
function validate$
|
|
382
|
+
function validate$1o(obj, path = 'FacetValueRepresentation') {
|
|
383
383
|
const v_error = (() => {
|
|
384
384
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
385
385
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -402,7 +402,7 @@ function validate$1l(obj, path = 'FacetValueRepresentation') {
|
|
|
402
402
|
return v_error === undefined ? null : v_error;
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
function validate$
|
|
405
|
+
function validate$1n(obj, path = 'SearchProductsFacetRepresentation') {
|
|
406
406
|
const v_error = (() => {
|
|
407
407
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
408
408
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -444,7 +444,7 @@ function validate$1k(obj, path = 'SearchProductsFacetRepresentation') {
|
|
|
444
444
|
for (let i = 0; i < obj_values.length; i++) {
|
|
445
445
|
const obj_values_item = obj_values[i];
|
|
446
446
|
const path_values_item = path_values + '[' + i + ']';
|
|
447
|
-
const referencepath_values_itemValidationError = validate$
|
|
447
|
+
const referencepath_values_itemValidationError = validate$1o(obj_values_item, path_values_item);
|
|
448
448
|
if (referencepath_values_itemValidationError !== null) {
|
|
449
449
|
let message = 'Object doesn\'t match FacetValueRepresentation (at "' + path_values_item + '")\n';
|
|
450
450
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -458,14 +458,14 @@ function validate$1k(obj, path = 'SearchProductsFacetRepresentation') {
|
|
|
458
458
|
|
|
459
459
|
const TTL$j = 1000;
|
|
460
460
|
const VERSION$r = "4b7b85fac2d5af69b24fafa7375618f8";
|
|
461
|
-
function validate$
|
|
461
|
+
function validate$1m(obj, path = 'CpqBaseListOutputRepresentation') {
|
|
462
462
|
const v_error = (() => {
|
|
463
463
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
464
464
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
465
465
|
}
|
|
466
466
|
const obj_apiStatus = obj.apiStatus;
|
|
467
467
|
const path_apiStatus = path + '.apiStatus';
|
|
468
|
-
const referencepath_apiStatusValidationError = validate$
|
|
468
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
469
469
|
if (referencepath_apiStatusValidationError !== null) {
|
|
470
470
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
471
471
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -486,7 +486,7 @@ function validate$1j(obj, path = 'CpqBaseListOutputRepresentation') {
|
|
|
486
486
|
for (let i = 0; i < obj_facets.length; i++) {
|
|
487
487
|
const obj_facets_item = obj_facets[i];
|
|
488
488
|
const path_facets_item = path_facets + '[' + i + ']';
|
|
489
|
-
const referencepath_facets_itemValidationError = validate$
|
|
489
|
+
const referencepath_facets_itemValidationError = validate$1n(obj_facets_item, path_facets_item);
|
|
490
490
|
if (referencepath_facets_itemValidationError !== null) {
|
|
491
491
|
let message = 'Object doesn\'t match SearchProductsFacetRepresentation (at "' + path_facets_item + '")\n';
|
|
492
492
|
message += referencepath_facets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -565,7 +565,7 @@ function equals$r(existing, incoming) {
|
|
|
565
565
|
}
|
|
566
566
|
const ingest$k = function CpqBaseListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
567
567
|
if (process.env.NODE_ENV !== 'production') {
|
|
568
|
-
const validateError = validate$
|
|
568
|
+
const validateError = validate$1m(input);
|
|
569
569
|
if (validateError !== null) {
|
|
570
570
|
throw validateError;
|
|
571
571
|
}
|
|
@@ -631,7 +631,7 @@ const createResourceParams$q = /*#__PURE__*/ createResourceParams$r(preview_Conf
|
|
|
631
631
|
function typeCheckConfig$q(untrustedConfig) {
|
|
632
632
|
const config = {};
|
|
633
633
|
const untrustedConfig_previewInput = untrustedConfig.previewInput;
|
|
634
|
-
const referencePreviewInputRepresentationValidationError = validate$
|
|
634
|
+
const referencePreviewInputRepresentationValidationError = validate$1r(untrustedConfig_previewInput);
|
|
635
635
|
if (referencePreviewInputRepresentationValidationError === null) {
|
|
636
636
|
config.previewInput = untrustedConfig_previewInput;
|
|
637
637
|
}
|
|
@@ -679,7 +679,7 @@ const previewAdapterFactory = (luvio) => {
|
|
|
679
679
|
};
|
|
680
680
|
};
|
|
681
681
|
|
|
682
|
-
function validate$
|
|
682
|
+
function validate$1l(obj, path = 'ProductListInputRepresentation') {
|
|
683
683
|
const v_error = (() => {
|
|
684
684
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
685
685
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -846,7 +846,7 @@ const createResourceParams$p = /*#__PURE__*/ createResourceParams$r(productList_
|
|
|
846
846
|
function typeCheckConfig$p(untrustedConfig) {
|
|
847
847
|
const config = {};
|
|
848
848
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
849
|
-
const referenceProductListInputRepresentationValidationError = validate$
|
|
849
|
+
const referenceProductListInputRepresentationValidationError = validate$1l(untrustedConfig_requestBody);
|
|
850
850
|
if (referenceProductListInputRepresentationValidationError === null) {
|
|
851
851
|
config.requestBody = untrustedConfig_requestBody;
|
|
852
852
|
}
|
|
@@ -894,7 +894,7 @@ const productListAdapterFactory = (luvio) => {
|
|
|
894
894
|
};
|
|
895
895
|
};
|
|
896
896
|
|
|
897
|
-
function validate$
|
|
897
|
+
function validate$1k(obj, path = 'FilterCriteriaInputRepresentation') {
|
|
898
898
|
const v_error = (() => {
|
|
899
899
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
900
900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -925,7 +925,7 @@ function validate$1h(obj, path = 'FilterCriteriaInputRepresentation') {
|
|
|
925
925
|
return v_error === undefined ? null : v_error;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
function validate$
|
|
928
|
+
function validate$1j(obj, path = 'FilterInputRepresentation') {
|
|
929
929
|
const v_error = (() => {
|
|
930
930
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
931
931
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -938,7 +938,7 @@ function validate$1g(obj, path = 'FilterInputRepresentation') {
|
|
|
938
938
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
939
939
|
const obj_criteria_item = obj_criteria[i];
|
|
940
940
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
941
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
941
|
+
const referencepath_criteria_itemValidationError = validate$1k(obj_criteria_item, path_criteria_item);
|
|
942
942
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
943
943
|
let message = 'Object doesn\'t match FilterCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
944
944
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -949,7 +949,7 @@ function validate$1g(obj, path = 'FilterInputRepresentation') {
|
|
|
949
949
|
return v_error === undefined ? null : v_error;
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
-
function validate$
|
|
952
|
+
function validate$1i(obj, path = 'RelatedObjectFilterInputRepresentation') {
|
|
953
953
|
const v_error = (() => {
|
|
954
954
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
955
955
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -962,7 +962,7 @@ function validate$1f(obj, path = 'RelatedObjectFilterInputRepresentation') {
|
|
|
962
962
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
963
963
|
const obj_criteria_item = obj_criteria[i];
|
|
964
964
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
965
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
965
|
+
const referencepath_criteria_itemValidationError = validate$1k(obj_criteria_item, path_criteria_item);
|
|
966
966
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
967
967
|
let message = 'Object doesn\'t match FilterCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
968
968
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -978,7 +978,7 @@ function validate$1f(obj, path = 'RelatedObjectFilterInputRepresentation') {
|
|
|
978
978
|
return v_error === undefined ? null : v_error;
|
|
979
979
|
}
|
|
980
980
|
|
|
981
|
-
function validate$
|
|
981
|
+
function validate$1h(obj, path = 'GuidedSelectionSearchTermInputRepresentation') {
|
|
982
982
|
const v_error = (() => {
|
|
983
983
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
984
984
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1008,7 +1008,7 @@ function validate$1e(obj, path = 'GuidedSelectionSearchTermInputRepresentation')
|
|
|
1008
1008
|
return v_error === undefined ? null : v_error;
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
|
-
function validate$
|
|
1011
|
+
function validate$1g(obj, path = 'GuidedSelectionSearchTermOutputRepresentation') {
|
|
1012
1012
|
const v_error = (() => {
|
|
1013
1013
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1014
1014
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1036,14 +1036,14 @@ function validate$1d(obj, path = 'GuidedSelectionSearchTermOutputRepresentation'
|
|
|
1036
1036
|
|
|
1037
1037
|
const TTL$i = 1000;
|
|
1038
1038
|
const VERSION$q = "59b55511c24a0471c3f3a7aa8c21c5c1";
|
|
1039
|
-
function validate$
|
|
1039
|
+
function validate$1f(obj, path = 'GuidedSelectionOutputRepresentation') {
|
|
1040
1040
|
const v_error = (() => {
|
|
1041
1041
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1042
1042
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1043
1043
|
}
|
|
1044
1044
|
const obj_apiStatus = obj.apiStatus;
|
|
1045
1045
|
const path_apiStatus = path + '.apiStatus';
|
|
1046
|
-
const referencepath_apiStatusValidationError = validate$
|
|
1046
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
1047
1047
|
if (referencepath_apiStatusValidationError !== null) {
|
|
1048
1048
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
1049
1049
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1105,7 +1105,7 @@ function validate$1c(obj, path = 'GuidedSelectionOutputRepresentation') {
|
|
|
1105
1105
|
for (let i = 0; i < obj_searchTerms.length; i++) {
|
|
1106
1106
|
const obj_searchTerms_item = obj_searchTerms[i];
|
|
1107
1107
|
const path_searchTerms_item = path_searchTerms + '[' + i + ']';
|
|
1108
|
-
const referencepath_searchTerms_itemValidationError = validate$
|
|
1108
|
+
const referencepath_searchTerms_itemValidationError = validate$1g(obj_searchTerms_item, path_searchTerms_item);
|
|
1109
1109
|
if (referencepath_searchTerms_itemValidationError !== null) {
|
|
1110
1110
|
let message = 'Object doesn\'t match GuidedSelectionSearchTermOutputRepresentation (at "' + path_searchTerms_item + '")\n';
|
|
1111
1111
|
message += referencepath_searchTerms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1159,7 +1159,7 @@ function equals$q(existing, incoming) {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
const ingest$j = function GuidedSelectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1161
1161
|
if (process.env.NODE_ENV !== 'production') {
|
|
1162
|
-
const validateError = validate$
|
|
1162
|
+
const validateError = validate$1f(input);
|
|
1163
1163
|
if (validateError !== null) {
|
|
1164
1164
|
throw validateError;
|
|
1165
1165
|
}
|
|
@@ -1262,7 +1262,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
}
|
|
1264
1264
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
1265
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
1265
|
+
const referenceFilterInputRepresentationValidationError = validate$1j(untrustedConfig_filter);
|
|
1266
1266
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
1267
1267
|
config.filter = untrustedConfig_filter;
|
|
1268
1268
|
}
|
|
@@ -1271,7 +1271,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
1271
1271
|
const untrustedConfig_relatedObjectFilters_array = [];
|
|
1272
1272
|
for (let i = 0, arrayLength = untrustedConfig_relatedObjectFilters.length; i < arrayLength; i++) {
|
|
1273
1273
|
const untrustedConfig_relatedObjectFilters_item = untrustedConfig_relatedObjectFilters[i];
|
|
1274
|
-
const referenceRelatedObjectFilterInputRepresentationValidationError = validate$
|
|
1274
|
+
const referenceRelatedObjectFilterInputRepresentationValidationError = validate$1i(untrustedConfig_relatedObjectFilters_item);
|
|
1275
1275
|
if (referenceRelatedObjectFilterInputRepresentationValidationError === null) {
|
|
1276
1276
|
untrustedConfig_relatedObjectFilters_array.push(untrustedConfig_relatedObjectFilters_item);
|
|
1277
1277
|
}
|
|
@@ -1283,7 +1283,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
1283
1283
|
const untrustedConfig_searchTerms_array = [];
|
|
1284
1284
|
for (let i = 0, arrayLength = untrustedConfig_searchTerms.length; i < arrayLength; i++) {
|
|
1285
1285
|
const untrustedConfig_searchTerms_item = untrustedConfig_searchTerms[i];
|
|
1286
|
-
const referenceGuidedSelectionSearchTermInputRepresentationValidationError = validate$
|
|
1286
|
+
const referenceGuidedSelectionSearchTermInputRepresentationValidationError = validate$1h(untrustedConfig_searchTerms_item);
|
|
1287
1287
|
if (referenceGuidedSelectionSearchTermInputRepresentationValidationError === null) {
|
|
1288
1288
|
untrustedConfig_searchTerms_array.push(untrustedConfig_searchTerms_item);
|
|
1289
1289
|
}
|
|
@@ -1349,7 +1349,7 @@ const guidedSelectionProductListAdapterFactory = (luvio) => {
|
|
|
1349
1349
|
};
|
|
1350
1350
|
};
|
|
1351
1351
|
|
|
1352
|
-
function validate$
|
|
1352
|
+
function validate$1e(obj, path = 'SearchProductsInputRepresentation') {
|
|
1353
1353
|
const v_error = (() => {
|
|
1354
1354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1355
1355
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1523,7 +1523,7 @@ const createResourceParams$n = /*#__PURE__*/ createResourceParams$r(searchProduc
|
|
|
1523
1523
|
function typeCheckConfig$n(untrustedConfig) {
|
|
1524
1524
|
const config = {};
|
|
1525
1525
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
1526
|
-
const referenceSearchProductsInputRepresentationValidationError = validate$
|
|
1526
|
+
const referenceSearchProductsInputRepresentationValidationError = validate$1e(untrustedConfig_requestBody);
|
|
1527
1527
|
if (referenceSearchProductsInputRepresentationValidationError === null) {
|
|
1528
1528
|
config.requestBody = untrustedConfig_requestBody;
|
|
1529
1529
|
}
|
|
@@ -1571,7 +1571,7 @@ const searchProductListAdapterFactory = (luvio) => {
|
|
|
1571
1571
|
};
|
|
1572
1572
|
};
|
|
1573
1573
|
|
|
1574
|
-
function validate$
|
|
1574
|
+
function validate$1d(obj, path = 'SmartSelectionSearchInputRepresentation') {
|
|
1575
1575
|
const v_error = (() => {
|
|
1576
1576
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1577
1577
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1636,14 +1636,14 @@ function validate$1a(obj, path = 'SmartSelectionSearchInputRepresentation') {
|
|
|
1636
1636
|
|
|
1637
1637
|
const TTL$h = 1000;
|
|
1638
1638
|
const VERSION$p = "e87e2b76b6416343fc10adaad3180935";
|
|
1639
|
-
function validate$
|
|
1639
|
+
function validate$1c(obj, path = 'SmartSelectionOutputRepresentation') {
|
|
1640
1640
|
const v_error = (() => {
|
|
1641
1641
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1642
1642
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1643
1643
|
}
|
|
1644
1644
|
const obj_apiStatus = obj.apiStatus;
|
|
1645
1645
|
const path_apiStatus = path + '.apiStatus';
|
|
1646
|
-
const referencepath_apiStatusValidationError = validate$
|
|
1646
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
1647
1647
|
if (referencepath_apiStatusValidationError !== null) {
|
|
1648
1648
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
1649
1649
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1707,7 +1707,7 @@ function equals$p(existing, incoming) {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
const ingest$i = function SmartSelectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1709
1709
|
if (process.env.NODE_ENV !== 'production') {
|
|
1710
|
-
const validateError = validate$
|
|
1710
|
+
const validateError = validate$1c(input);
|
|
1711
1711
|
if (validateError !== null) {
|
|
1712
1712
|
throw validateError;
|
|
1713
1713
|
}
|
|
@@ -1777,7 +1777,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
1777
1777
|
const config = {};
|
|
1778
1778
|
typeCheckConfig$r(untrustedConfig, config, smartProductSelection_ConfigPropertyMetadata);
|
|
1779
1779
|
const untrustedConfig_searchParams = untrustedConfig.searchParams;
|
|
1780
|
-
const referenceSmartSelectionSearchInputRepresentationValidationError = validate$
|
|
1780
|
+
const referenceSmartSelectionSearchInputRepresentationValidationError = validate$1d(untrustedConfig_searchParams);
|
|
1781
1781
|
if (referenceSmartSelectionSearchInputRepresentationValidationError === null) {
|
|
1782
1782
|
config.searchParams = untrustedConfig_searchParams;
|
|
1783
1783
|
}
|
|
@@ -1825,7 +1825,7 @@ const smartProductSelectionAdapterFactory = (luvio) => {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
|
-
function validate$
|
|
1828
|
+
function validate$1b(obj, path = 'ProductDataInput') {
|
|
1829
1829
|
const v_error = (() => {
|
|
1830
1830
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1831
1831
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1848,14 +1848,14 @@ function validate$18(obj, path = 'ProductDataInput') {
|
|
|
1848
1848
|
|
|
1849
1849
|
const TTL$g = 1000;
|
|
1850
1850
|
const VERSION$o = "7d789beb75307985bad3ddf01d82b242";
|
|
1851
|
-
function validate$
|
|
1851
|
+
function validate$1a(obj, path = 'CpqBaseBulkDetailsOutput') {
|
|
1852
1852
|
const v_error = (() => {
|
|
1853
1853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1854
1854
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1855
1855
|
}
|
|
1856
1856
|
const obj_apiStatus = obj.apiStatus;
|
|
1857
1857
|
const path_apiStatus = path + '.apiStatus';
|
|
1858
|
-
const referencepath_apiStatusValidationError = validate$
|
|
1858
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
1859
1859
|
if (referencepath_apiStatusValidationError !== null) {
|
|
1860
1860
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
1861
1861
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1926,7 +1926,7 @@ function equals$o(existing, incoming) {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
const ingest$h = function CpqBaseBulkDetailsOutputIngest(input, path, luvio, store, timestamp) {
|
|
1928
1928
|
if (process.env.NODE_ENV !== 'production') {
|
|
1929
|
-
const validateError = validate$
|
|
1929
|
+
const validateError = validate$1a(input);
|
|
1930
1930
|
if (validateError !== null) {
|
|
1931
1931
|
throw validateError;
|
|
1932
1932
|
}
|
|
@@ -2024,7 +2024,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
2024
2024
|
const untrustedConfig_productData_array = [];
|
|
2025
2025
|
for (let i = 0, arrayLength = untrustedConfig_productData.length; i < arrayLength; i++) {
|
|
2026
2026
|
const untrustedConfig_productData_item = untrustedConfig_productData[i];
|
|
2027
|
-
const referenceProductDataInputValidationError = validate$
|
|
2027
|
+
const referenceProductDataInputValidationError = validate$1b(untrustedConfig_productData_item);
|
|
2028
2028
|
if (referenceProductDataInputValidationError === null) {
|
|
2029
2029
|
untrustedConfig_productData_array.push(untrustedConfig_productData_item);
|
|
2030
2030
|
}
|
|
@@ -2090,7 +2090,7 @@ const bulkProductDetailsAdapterFactory = (luvio) => {
|
|
|
2090
2090
|
};
|
|
2091
2091
|
};
|
|
2092
2092
|
|
|
2093
|
-
function validate$
|
|
2093
|
+
function validate$19(obj, path = 'ProductDetailsInputRepresentation') {
|
|
2094
2094
|
const v_error = (() => {
|
|
2095
2095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2096
2096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2141,14 +2141,14 @@ function validate$16(obj, path = 'ProductDetailsInputRepresentation') {
|
|
|
2141
2141
|
|
|
2142
2142
|
const TTL$f = 1000;
|
|
2143
2143
|
const VERSION$n = "2f20f99218d11f5ad756aff76b7a815e";
|
|
2144
|
-
function validate$
|
|
2144
|
+
function validate$18(obj, path = 'CpqBaseDetailsOutputRepresentation') {
|
|
2145
2145
|
const v_error = (() => {
|
|
2146
2146
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2147
2147
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2148
2148
|
}
|
|
2149
2149
|
const obj_apiStatus = obj.apiStatus;
|
|
2150
2150
|
const path_apiStatus = path + '.apiStatus';
|
|
2151
|
-
const referencepath_apiStatusValidationError = validate$
|
|
2151
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
2152
2152
|
if (referencepath_apiStatusValidationError !== null) {
|
|
2153
2153
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
2154
2154
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2198,7 +2198,7 @@ function equals$n(existing, incoming) {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
const ingest$g = function CpqBaseDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2200
2200
|
if (process.env.NODE_ENV !== 'production') {
|
|
2201
|
-
const validateError = validate$
|
|
2201
|
+
const validateError = validate$18(input);
|
|
2202
2202
|
if (validateError !== null) {
|
|
2203
2203
|
throw validateError;
|
|
2204
2204
|
}
|
|
@@ -2266,7 +2266,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
2266
2266
|
const config = {};
|
|
2267
2267
|
typeCheckConfig$r(untrustedConfig, config, productDetails_ConfigPropertyMetadata);
|
|
2268
2268
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
2269
|
-
const referenceProductDetailsInputRepresentationValidationError = validate$
|
|
2269
|
+
const referenceProductDetailsInputRepresentationValidationError = validate$19(untrustedConfig_requestBody);
|
|
2270
2270
|
if (referenceProductDetailsInputRepresentationValidationError === null) {
|
|
2271
2271
|
config.requestBody = untrustedConfig_requestBody;
|
|
2272
2272
|
}
|
|
@@ -2375,7 +2375,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
2375
2375
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
2376
2376
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
2377
2377
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2378
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
2378
|
+
const referenceFilterInputRepresentationValidationError = validate$1j(untrustedConfig_filter);
|
|
2379
2379
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
2380
2380
|
config.filter = untrustedConfig_filter;
|
|
2381
2381
|
}
|
|
@@ -2498,7 +2498,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
2498
2498
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
2499
2499
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
2500
2500
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2501
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
2501
|
+
const referenceFilterInputRepresentationValidationError = validate$1j(untrustedConfig_filter);
|
|
2502
2502
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
2503
2503
|
config.filter = untrustedConfig_filter;
|
|
2504
2504
|
}
|
|
@@ -2561,7 +2561,7 @@ const categoryDetailsAdapterFactory = (luvio) => {
|
|
|
2561
2561
|
};
|
|
2562
2562
|
};
|
|
2563
2563
|
|
|
2564
|
-
function validate$
|
|
2564
|
+
function validate$17(obj, path = 'CreateCartInputRepresentation') {
|
|
2565
2565
|
const v_error = (() => {
|
|
2566
2566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2567
2567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2632,14 +2632,14 @@ function validate$14(obj, path = 'CreateCartInputRepresentation') {
|
|
|
2632
2632
|
|
|
2633
2633
|
const TTL$e = 1000;
|
|
2634
2634
|
const VERSION$m = "1f730145ab6b9f6b4d070b5eade57b4c";
|
|
2635
|
-
function validate$
|
|
2635
|
+
function validate$16(obj, path = 'CreateCartOutputRepresentation') {
|
|
2636
2636
|
const v_error = (() => {
|
|
2637
2637
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2638
2638
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2639
2639
|
}
|
|
2640
2640
|
const obj_apiStatus = obj.apiStatus;
|
|
2641
2641
|
const path_apiStatus = path + '.apiStatus';
|
|
2642
|
-
const referencepath_apiStatusValidationError = validate$
|
|
2642
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
2643
2643
|
if (referencepath_apiStatusValidationError !== null) {
|
|
2644
2644
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
2645
2645
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2684,7 +2684,7 @@ function equals$m(existing, incoming) {
|
|
|
2684
2684
|
}
|
|
2685
2685
|
const ingest$f = function CreateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2686
2686
|
if (process.env.NODE_ENV !== 'production') {
|
|
2687
|
-
const validateError = validate$
|
|
2687
|
+
const validateError = validate$16(input);
|
|
2688
2688
|
if (validateError !== null) {
|
|
2689
2689
|
throw validateError;
|
|
2690
2690
|
}
|
|
@@ -2750,7 +2750,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$r(createCart_C
|
|
|
2750
2750
|
function typeCheckConfig$h(untrustedConfig) {
|
|
2751
2751
|
const config = {};
|
|
2752
2752
|
const untrustedConfig_createCartRequestPayload = untrustedConfig.createCartRequestPayload;
|
|
2753
|
-
const referenceCreateCartInputRepresentationValidationError = validate$
|
|
2753
|
+
const referenceCreateCartInputRepresentationValidationError = validate$17(untrustedConfig_createCartRequestPayload);
|
|
2754
2754
|
if (referenceCreateCartInputRepresentationValidationError === null) {
|
|
2755
2755
|
config.createCartRequestPayload = untrustedConfig_createCartRequestPayload;
|
|
2756
2756
|
}
|
|
@@ -2799,7 +2799,7 @@ const createCartAdapterFactory = (luvio) => {
|
|
|
2799
2799
|
};
|
|
2800
2800
|
|
|
2801
2801
|
const VERSION$l = "c49b7c37c117b93f62b9696af8a68cdc";
|
|
2802
|
-
function validate$
|
|
2802
|
+
function validate$15(obj, path = 'AttributePickListValueOutputRepresentation') {
|
|
2803
2803
|
const v_error = (() => {
|
|
2804
2804
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2805
2805
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3071,7 +3071,7 @@ function equals$l(existing, incoming) {
|
|
|
3071
3071
|
}
|
|
3072
3072
|
|
|
3073
3073
|
const VERSION$k = "cef4f713a2e486855d50324a822053ff";
|
|
3074
|
-
function validate$
|
|
3074
|
+
function validate$14(obj, path = 'AttributePickListOutputRepresentation') {
|
|
3075
3075
|
const v_error = (() => {
|
|
3076
3076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3077
3077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3127,7 +3127,7 @@ function validate$11(obj, path = 'AttributePickListOutputRepresentation') {
|
|
|
3127
3127
|
for (let i = 0; i < obj_values.length; i++) {
|
|
3128
3128
|
const obj_values_item = obj_values[i];
|
|
3129
3129
|
const path_values_item = path_values + '[' + i + ']';
|
|
3130
|
-
const referencepath_values_itemValidationError = validate$
|
|
3130
|
+
const referencepath_values_itemValidationError = validate$15(obj_values_item, path_values_item);
|
|
3131
3131
|
if (referencepath_values_itemValidationError !== null) {
|
|
3132
3132
|
let message = 'Object doesn\'t match AttributePickListValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
3133
3133
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3286,7 +3286,7 @@ function equals$k(existing, incoming) {
|
|
|
3286
3286
|
}
|
|
3287
3287
|
|
|
3288
3288
|
const VERSION$j = "a721b7658e0e47f6255b519635c8e0d4";
|
|
3289
|
-
function validate$
|
|
3289
|
+
function validate$13(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
3290
3290
|
const v_error = (() => {
|
|
3291
3291
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3292
3292
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3315,7 +3315,7 @@ function validate$10(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
|
3315
3315
|
if (obj.attributePickList !== undefined) {
|
|
3316
3316
|
const obj_attributePickList = obj.attributePickList;
|
|
3317
3317
|
const path_attributePickList = path + '.attributePickList';
|
|
3318
|
-
const referencepath_attributePickListValidationError = validate$
|
|
3318
|
+
const referencepath_attributePickListValidationError = validate$14(obj_attributePickList, path_attributePickList);
|
|
3319
3319
|
if (referencepath_attributePickListValidationError !== null) {
|
|
3320
3320
|
let message = 'Object doesn\'t match AttributePickListOutputRepresentation (at "' + path_attributePickList + '")\n';
|
|
3321
3321
|
message += referencepath_attributePickListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4030,7 +4030,7 @@ function equals$j(existing, incoming) {
|
|
|
4030
4030
|
}
|
|
4031
4031
|
|
|
4032
4032
|
const VERSION$i = "919370ec73ce3590adac3f8547724ea3";
|
|
4033
|
-
function validate
|
|
4033
|
+
function validate$12(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
4034
4034
|
const v_error = (() => {
|
|
4035
4035
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4036
4036
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4072,7 +4072,7 @@ function validate$$(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
4072
4072
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4073
4073
|
const obj_records_item = obj_records[i];
|
|
4074
4074
|
const path_records_item = path_records + '[' + i + ']';
|
|
4075
|
-
const referencepath_records_itemValidationError = validate$
|
|
4075
|
+
const referencepath_records_itemValidationError = validate$13(obj_records_item, path_records_item);
|
|
4076
4076
|
if (referencepath_records_itemValidationError !== null) {
|
|
4077
4077
|
let message = 'Object doesn\'t match ProductAttributeOutputRepresentation (at "' + path_records_item + '")\n';
|
|
4078
4078
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4295,7 +4295,7 @@ function equals$i(existing, incoming) {
|
|
|
4295
4295
|
}
|
|
4296
4296
|
|
|
4297
4297
|
const VERSION$h = "a59ef129f333de8bbfe140f39144b415";
|
|
4298
|
-
function validate$
|
|
4298
|
+
function validate$11(obj, path = 'CartItemOutputRepresentation') {
|
|
4299
4299
|
const v_error = (() => {
|
|
4300
4300
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4301
4301
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4309,7 +4309,7 @@ function validate$_(obj, path = 'CartItemOutputRepresentation') {
|
|
|
4309
4309
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
4310
4310
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
4311
4311
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
4312
|
-
const referencepath_attributeCategories_itemValidationError = validate
|
|
4312
|
+
const referencepath_attributeCategories_itemValidationError = validate$12(obj_attributeCategories_item, path_attributeCategories_item);
|
|
4313
4313
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
4314
4314
|
let message = 'Object doesn\'t match AttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
4315
4315
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4326,7 +4326,7 @@ function validate$_(obj, path = 'CartItemOutputRepresentation') {
|
|
|
4326
4326
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
4327
4327
|
const obj_attributes_item = obj_attributes[i];
|
|
4328
4328
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
4329
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
4329
|
+
const referencepath_attributes_itemValidationError = validate$13(obj_attributes_item, path_attributes_item);
|
|
4330
4330
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
4331
4331
|
let message = 'Object doesn\'t match ProductAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
4332
4332
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4616,7 +4616,7 @@ function equals$h(existing, incoming) {
|
|
|
4616
4616
|
}
|
|
4617
4617
|
|
|
4618
4618
|
const VERSION$g = "dbbe0e43dcf8f1d5334798bb12acca37";
|
|
4619
|
-
function validate$
|
|
4619
|
+
function validate$10(obj, path = 'CartItemsOutputRepresentation') {
|
|
4620
4620
|
const v_error = (() => {
|
|
4621
4621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4622
4622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4630,7 +4630,7 @@ function validate$Z(obj, path = 'CartItemsOutputRepresentation') {
|
|
|
4630
4630
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4631
4631
|
const obj_records_item = obj_records[i];
|
|
4632
4632
|
const path_records_item = path_records + '[' + i + ']';
|
|
4633
|
-
const referencepath_records_itemValidationError = validate$
|
|
4633
|
+
const referencepath_records_itemValidationError = validate$11(obj_records_item, path_records_item);
|
|
4634
4634
|
if (referencepath_records_itemValidationError !== null) {
|
|
4635
4635
|
let message = 'Object doesn\'t match CartItemOutputRepresentation (at "' + path_records_item + '")\n';
|
|
4636
4636
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4706,7 +4706,7 @@ function equals$g(existing, incoming) {
|
|
|
4706
4706
|
}
|
|
4707
4707
|
|
|
4708
4708
|
const VERSION$f = "ce1e52694d8508b2f5239ba28287dc1e";
|
|
4709
|
-
function validate
|
|
4709
|
+
function validate$$(obj, path = 'PricingTotalOutputRepresentation') {
|
|
4710
4710
|
const v_error = (() => {
|
|
4711
4711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4712
4712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4824,14 +4824,14 @@ function equals$f(existing, incoming) {
|
|
|
4824
4824
|
}
|
|
4825
4825
|
|
|
4826
4826
|
const VERSION$e = "db83704358e5d7a3f3f3622cdd0a5114";
|
|
4827
|
-
function validate$
|
|
4827
|
+
function validate$_(obj, path = 'GetCartOutputRepresentation') {
|
|
4828
4828
|
const v_error = (() => {
|
|
4829
4829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4830
4830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4831
4831
|
}
|
|
4832
4832
|
const obj_apiStatus = obj.apiStatus;
|
|
4833
4833
|
const path_apiStatus = path + '.apiStatus';
|
|
4834
|
-
const referencepath_apiStatusValidationError = validate$
|
|
4834
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
4835
4835
|
if (referencepath_apiStatusValidationError !== null) {
|
|
4836
4836
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
4837
4837
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4847,7 +4847,7 @@ function validate$X(obj, path = 'GetCartOutputRepresentation') {
|
|
|
4847
4847
|
if (obj.cartItems !== undefined) {
|
|
4848
4848
|
const obj_cartItems = obj.cartItems;
|
|
4849
4849
|
const path_cartItems = path + '.cartItems';
|
|
4850
|
-
const referencepath_cartItemsValidationError = validate$
|
|
4850
|
+
const referencepath_cartItemsValidationError = validate$10(obj_cartItems, path_cartItems);
|
|
4851
4851
|
if (referencepath_cartItemsValidationError !== null) {
|
|
4852
4852
|
let message = 'Object doesn\'t match CartItemsOutputRepresentation (at "' + path_cartItems + '")\n';
|
|
4853
4853
|
message += referencepath_cartItemsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4863,7 +4863,7 @@ function validate$X(obj, path = 'GetCartOutputRepresentation') {
|
|
|
4863
4863
|
for (let i = 0; i < obj_totals.length; i++) {
|
|
4864
4864
|
const obj_totals_item = obj_totals[i];
|
|
4865
4865
|
const path_totals_item = path_totals + '[' + i + ']';
|
|
4866
|
-
const referencepath_totals_itemValidationError = validate
|
|
4866
|
+
const referencepath_totals_itemValidationError = validate$$(obj_totals_item, path_totals_item);
|
|
4867
4867
|
if (referencepath_totals_itemValidationError !== null) {
|
|
4868
4868
|
let message = 'Object doesn\'t match PricingTotalOutputRepresentation (at "' + path_totals_item + '")\n';
|
|
4869
4869
|
message += referencepath_totals_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4967,7 +4967,7 @@ function equals$e(existing, incoming) {
|
|
|
4967
4967
|
}
|
|
4968
4968
|
const ingest$e = function GetCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4969
4969
|
if (process.env.NODE_ENV !== 'production') {
|
|
4970
|
-
const validateError = validate$
|
|
4970
|
+
const validateError = validate$_(input);
|
|
4971
4971
|
if (validateError !== null) {
|
|
4972
4972
|
throw validateError;
|
|
4973
4973
|
}
|
|
@@ -5119,7 +5119,7 @@ const getCartAdapterFactory = (luvio) => function cpq__getCart(untrustedConfig,
|
|
|
5119
5119
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
5120
5120
|
};
|
|
5121
5121
|
|
|
5122
|
-
function validate$
|
|
5122
|
+
function validate$Z(obj, path = 'UpdateCartInputRepresentation') {
|
|
5123
5123
|
const v_error = (() => {
|
|
5124
5124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5125
5125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5154,7 +5154,7 @@ function validate$W(obj, path = 'UpdateCartInputRepresentation') {
|
|
|
5154
5154
|
return v_error === undefined ? null : v_error;
|
|
5155
5155
|
}
|
|
5156
5156
|
|
|
5157
|
-
function validate$
|
|
5157
|
+
function validate$Y(obj, path = 'ValidationResultOutputRepresentation') {
|
|
5158
5158
|
const v_error = (() => {
|
|
5159
5159
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5160
5160
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5198,7 +5198,7 @@ function validate$V(obj, path = 'ValidationResultOutputRepresentation') {
|
|
|
5198
5198
|
return v_error === undefined ? null : v_error;
|
|
5199
5199
|
}
|
|
5200
5200
|
|
|
5201
|
-
function validate$
|
|
5201
|
+
function validate$X(obj, path = 'ValidateCartOutputRepresentation') {
|
|
5202
5202
|
const v_error = (() => {
|
|
5203
5203
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5204
5204
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5212,7 +5212,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5212
5212
|
for (let i = 0; i < obj_attributeErrors.length; i++) {
|
|
5213
5213
|
const obj_attributeErrors_item = obj_attributeErrors[i];
|
|
5214
5214
|
const path_attributeErrors_item = path_attributeErrors + '[' + i + ']';
|
|
5215
|
-
const referencepath_attributeErrors_itemValidationError = validate$
|
|
5215
|
+
const referencepath_attributeErrors_itemValidationError = validate$Y(obj_attributeErrors_item, path_attributeErrors_item);
|
|
5216
5216
|
if (referencepath_attributeErrors_itemValidationError !== null) {
|
|
5217
5217
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_attributeErrors_item + '")\n';
|
|
5218
5218
|
message += referencepath_attributeErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5229,7 +5229,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5229
5229
|
for (let i = 0; i < obj_breErrors.length; i++) {
|
|
5230
5230
|
const obj_breErrors_item = obj_breErrors[i];
|
|
5231
5231
|
const path_breErrors_item = path_breErrors + '[' + i + ']';
|
|
5232
|
-
const referencepath_breErrors_itemValidationError = validate$
|
|
5232
|
+
const referencepath_breErrors_itemValidationError = validate$Y(obj_breErrors_item, path_breErrors_item);
|
|
5233
5233
|
if (referencepath_breErrors_itemValidationError !== null) {
|
|
5234
5234
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_breErrors_item + '")\n';
|
|
5235
5235
|
message += referencepath_breErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5246,7 +5246,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5246
5246
|
for (let i = 0; i < obj_cardinalityErrors.length; i++) {
|
|
5247
5247
|
const obj_cardinalityErrors_item = obj_cardinalityErrors[i];
|
|
5248
5248
|
const path_cardinalityErrors_item = path_cardinalityErrors + '[' + i + ']';
|
|
5249
|
-
const referencepath_cardinalityErrors_itemValidationError = validate$
|
|
5249
|
+
const referencepath_cardinalityErrors_itemValidationError = validate$Y(obj_cardinalityErrors_item, path_cardinalityErrors_item);
|
|
5250
5250
|
if (referencepath_cardinalityErrors_itemValidationError !== null) {
|
|
5251
5251
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_cardinalityErrors_item + '")\n';
|
|
5252
5252
|
message += referencepath_cardinalityErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5267,14 +5267,14 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5267
5267
|
|
|
5268
5268
|
const TTL$d = 1000;
|
|
5269
5269
|
const VERSION$d = "b0d6081a9f20773285c8aeb2e715ead3";
|
|
5270
|
-
function validate$
|
|
5270
|
+
function validate$W(obj, path = 'UpdateCartOutputRepresentation') {
|
|
5271
5271
|
const v_error = (() => {
|
|
5272
5272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5273
5273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5274
5274
|
}
|
|
5275
5275
|
const obj_apiStatus = obj.apiStatus;
|
|
5276
5276
|
const path_apiStatus = path + '.apiStatus';
|
|
5277
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5277
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
5278
5278
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5279
5279
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5280
5280
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5282,7 +5282,7 @@ function validate$T(obj, path = 'UpdateCartOutputRepresentation') {
|
|
|
5282
5282
|
}
|
|
5283
5283
|
const obj_validationResults = obj.validationResults;
|
|
5284
5284
|
const path_validationResults = path + '.validationResults';
|
|
5285
|
-
const referencepath_validationResultsValidationError = validate$
|
|
5285
|
+
const referencepath_validationResultsValidationError = validate$X(obj_validationResults, path_validationResults);
|
|
5286
5286
|
if (referencepath_validationResultsValidationError !== null) {
|
|
5287
5287
|
let message = 'Object doesn\'t match ValidateCartOutputRepresentation (at "' + path_validationResults + '")\n';
|
|
5288
5288
|
message += referencepath_validationResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5320,7 +5320,7 @@ function equals$d(existing, incoming) {
|
|
|
5320
5320
|
}
|
|
5321
5321
|
const ingest$d = function UpdateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5322
5322
|
if (process.env.NODE_ENV !== 'production') {
|
|
5323
|
-
const validateError = validate$
|
|
5323
|
+
const validateError = validate$W(input);
|
|
5324
5324
|
if (validateError !== null) {
|
|
5325
5325
|
throw validateError;
|
|
5326
5326
|
}
|
|
@@ -5388,7 +5388,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5388
5388
|
const config = {};
|
|
5389
5389
|
typeCheckConfig$r(untrustedConfig, config, updateCart_ConfigPropertyMetadata);
|
|
5390
5390
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5391
|
-
const referenceUpdateCartInputRepresentationValidationError = validate$
|
|
5391
|
+
const referenceUpdateCartInputRepresentationValidationError = validate$Z(untrustedConfig_requestBody);
|
|
5392
5392
|
if (referenceUpdateCartInputRepresentationValidationError === null) {
|
|
5393
5393
|
config.requestBody = untrustedConfig_requestBody;
|
|
5394
5394
|
}
|
|
@@ -5436,7 +5436,7 @@ const updateCartAdapterFactory = (luvio) => {
|
|
|
5436
5436
|
};
|
|
5437
5437
|
};
|
|
5438
5438
|
|
|
5439
|
-
function validate$
|
|
5439
|
+
function validate$V(obj, path = 'UpdateCartItemsInputRepresentation') {
|
|
5440
5440
|
const v_error = (() => {
|
|
5441
5441
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5442
5442
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5475,14 +5475,14 @@ function validate$S(obj, path = 'UpdateCartItemsInputRepresentation') {
|
|
|
5475
5475
|
|
|
5476
5476
|
const TTL$c = 1000;
|
|
5477
5477
|
const VERSION$c = "7f205594e7cf298b4bee71200afab626";
|
|
5478
|
-
function validate$
|
|
5478
|
+
function validate$U(obj, path = 'UpdateCartItemsOutputRepresentation') {
|
|
5479
5479
|
const v_error = (() => {
|
|
5480
5480
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5481
5481
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5482
5482
|
}
|
|
5483
5483
|
const obj_apiStatus = obj.apiStatus;
|
|
5484
5484
|
const path_apiStatus = path + '.apiStatus';
|
|
5485
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5485
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
5486
5486
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5487
5487
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5488
5488
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5527,7 +5527,7 @@ function equals$c(existing, incoming) {
|
|
|
5527
5527
|
}
|
|
5528
5528
|
const ingest$c = function UpdateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5529
5529
|
if (process.env.NODE_ENV !== 'production') {
|
|
5530
|
-
const validateError = validate$
|
|
5530
|
+
const validateError = validate$U(input);
|
|
5531
5531
|
if (validateError !== null) {
|
|
5532
5532
|
throw validateError;
|
|
5533
5533
|
}
|
|
@@ -5595,7 +5595,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
5595
5595
|
const config = {};
|
|
5596
5596
|
typeCheckConfig$r(untrustedConfig, config, updateCartItems_ConfigPropertyMetadata);
|
|
5597
5597
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5598
|
-
const referenceUpdateCartItemsInputRepresentationValidationError = validate$
|
|
5598
|
+
const referenceUpdateCartItemsInputRepresentationValidationError = validate$V(untrustedConfig_requestBody);
|
|
5599
5599
|
if (referenceUpdateCartItemsInputRepresentationValidationError === null) {
|
|
5600
5600
|
config.requestBody = untrustedConfig_requestBody;
|
|
5601
5601
|
}
|
|
@@ -5643,7 +5643,7 @@ const updateCartItemsAdapterFactory = (luvio) => {
|
|
|
5643
5643
|
};
|
|
5644
5644
|
};
|
|
5645
5645
|
|
|
5646
|
-
function validate$
|
|
5646
|
+
function validate$T(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
5647
5647
|
const v_error = (() => {
|
|
5648
5648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5649
5649
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5682,14 +5682,14 @@ function validate$Q(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
|
5682
5682
|
|
|
5683
5683
|
const TTL$b = 1000;
|
|
5684
5684
|
const VERSION$b = "34153309b079451754e6d3fbf85bb8bd";
|
|
5685
|
-
function validate$
|
|
5685
|
+
function validate$S(obj, path = 'CreateCartItemsOutputRepresentation') {
|
|
5686
5686
|
const v_error = (() => {
|
|
5687
5687
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5688
5688
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5689
5689
|
}
|
|
5690
5690
|
const obj_apiStatus = obj.apiStatus;
|
|
5691
5691
|
const path_apiStatus = path + '.apiStatus';
|
|
5692
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5692
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
5693
5693
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5694
5694
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5695
5695
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5734,7 +5734,7 @@ function equals$b(existing, incoming) {
|
|
|
5734
5734
|
}
|
|
5735
5735
|
const ingest$b = function CreateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5736
5736
|
if (process.env.NODE_ENV !== 'production') {
|
|
5737
|
-
const validateError = validate$
|
|
5737
|
+
const validateError = validate$S(input);
|
|
5738
5738
|
if (validateError !== null) {
|
|
5739
5739
|
throw validateError;
|
|
5740
5740
|
}
|
|
@@ -5802,7 +5802,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
5802
5802
|
const config = {};
|
|
5803
5803
|
typeCheckConfig$r(untrustedConfig, config, createCartItems_ConfigPropertyMetadata);
|
|
5804
5804
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5805
|
-
const referenceCreateCartItemsInputRepresentationValidationError = validate$
|
|
5805
|
+
const referenceCreateCartItemsInputRepresentationValidationError = validate$T(untrustedConfig_requestBody);
|
|
5806
5806
|
if (referenceCreateCartItemsInputRepresentationValidationError === null) {
|
|
5807
5807
|
config.requestBody = untrustedConfig_requestBody;
|
|
5808
5808
|
}
|
|
@@ -5850,7 +5850,7 @@ const createCartItemsAdapterFactory = (luvio) => {
|
|
|
5850
5850
|
};
|
|
5851
5851
|
};
|
|
5852
5852
|
|
|
5853
|
-
function validate$
|
|
5853
|
+
function validate$R(obj, path = 'PriceCartInputRepresentation') {
|
|
5854
5854
|
const v_error = (() => {
|
|
5855
5855
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5856
5856
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5889,14 +5889,14 @@ function validate$O(obj, path = 'PriceCartInputRepresentation') {
|
|
|
5889
5889
|
|
|
5890
5890
|
const TTL$a = 1000;
|
|
5891
5891
|
const VERSION$a = "b1e28ba15f534459065f2870a9dc703d";
|
|
5892
|
-
function validate$
|
|
5892
|
+
function validate$Q(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
5893
5893
|
const v_error = (() => {
|
|
5894
5894
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5895
5895
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5896
5896
|
}
|
|
5897
5897
|
const obj_apiStatus = obj.apiStatus;
|
|
5898
5898
|
const path_apiStatus = path + '.apiStatus';
|
|
5899
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5899
|
+
const referencepath_apiStatusValidationError = validate$1p(obj_apiStatus, path_apiStatus);
|
|
5900
5900
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5901
5901
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5902
5902
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5918,7 +5918,7 @@ function validate$N(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
|
5918
5918
|
for (let i = 0; i < obj_cartPricingTotals.length; i++) {
|
|
5919
5919
|
const obj_cartPricingTotals_item = obj_cartPricingTotals[i];
|
|
5920
5920
|
const path_cartPricingTotals_item = path_cartPricingTotals + '[' + i + ']';
|
|
5921
|
-
const referencepath_cartPricingTotals_itemValidationError = validate
|
|
5921
|
+
const referencepath_cartPricingTotals_itemValidationError = validate$$(obj_cartPricingTotals_item, path_cartPricingTotals_item);
|
|
5922
5922
|
if (referencepath_cartPricingTotals_itemValidationError !== null) {
|
|
5923
5923
|
let message = 'Object doesn\'t match PricingTotalOutputRepresentation (at "' + path_cartPricingTotals_item + '")\n';
|
|
5924
5924
|
message += referencepath_cartPricingTotals_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5958,7 +5958,7 @@ function equals$a(existing, incoming) {
|
|
|
5958
5958
|
}
|
|
5959
5959
|
const ingest$a = function CartPricingTotalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5960
5960
|
if (process.env.NODE_ENV !== 'production') {
|
|
5961
|
-
const validateError = validate$
|
|
5961
|
+
const validateError = validate$Q(input);
|
|
5962
5962
|
if (validateError !== null) {
|
|
5963
5963
|
throw validateError;
|
|
5964
5964
|
}
|
|
@@ -6026,7 +6026,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
6026
6026
|
const config = {};
|
|
6027
6027
|
typeCheckConfig$r(untrustedConfig, config, priceCart_ConfigPropertyMetadata);
|
|
6028
6028
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
6029
|
-
const referencePriceCartInputRepresentationValidationError = validate$
|
|
6029
|
+
const referencePriceCartInputRepresentationValidationError = validate$R(untrustedConfig_requestBody);
|
|
6030
6030
|
if (referencePriceCartInputRepresentationValidationError === null) {
|
|
6031
6031
|
config.requestBody = untrustedConfig_requestBody;
|
|
6032
6032
|
}
|
|
@@ -6074,7 +6074,7 @@ const priceCartAdapterFactory = (luvio) => {
|
|
|
6074
6074
|
};
|
|
6075
6075
|
};
|
|
6076
6076
|
|
|
6077
|
-
function validate$
|
|
6077
|
+
function validate$P(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
6078
6078
|
const v_error = (() => {
|
|
6079
6079
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6080
6080
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6102,7 +6102,7 @@ function validate$M(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
|
6102
6102
|
return v_error === undefined ? null : v_error;
|
|
6103
6103
|
}
|
|
6104
6104
|
|
|
6105
|
-
function validate$
|
|
6105
|
+
function validate$O(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
6106
6106
|
const v_error = (() => {
|
|
6107
6107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6108
6108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6114,6 +6114,13 @@ function validate$L(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
|
6114
6114
|
return new TypeError('Expected "boolean" but received "' + typeof obj_addDefaultConfiguration + '" (at "' + path_addDefaultConfiguration + '")');
|
|
6115
6115
|
}
|
|
6116
6116
|
}
|
|
6117
|
+
if (obj.conflictResolutionMode !== undefined) {
|
|
6118
|
+
const obj_conflictResolutionMode = obj.conflictResolutionMode;
|
|
6119
|
+
const path_conflictResolutionMode = path + '.conflictResolutionMode';
|
|
6120
|
+
if (typeof obj_conflictResolutionMode !== 'string') {
|
|
6121
|
+
return new TypeError('Expected "string" but received "' + typeof obj_conflictResolutionMode + '" (at "' + path_conflictResolutionMode + '")');
|
|
6122
|
+
}
|
|
6123
|
+
}
|
|
6117
6124
|
if (obj.executeConfigurationRules !== undefined) {
|
|
6118
6125
|
const obj_executeConfigurationRules = obj.executeConfigurationRules;
|
|
6119
6126
|
const path_executeConfigurationRules = path + '.executeConfigurationRules';
|
|
@@ -6167,7 +6174,7 @@ function validate$L(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
|
6167
6174
|
return v_error === undefined ? null : v_error;
|
|
6168
6175
|
}
|
|
6169
6176
|
|
|
6170
|
-
function validate$
|
|
6177
|
+
function validate$N(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
6171
6178
|
const v_error = (() => {
|
|
6172
6179
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6173
6180
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6190,7 +6197,7 @@ function validate$K(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
|
6190
6197
|
return v_error === undefined ? null : v_error;
|
|
6191
6198
|
}
|
|
6192
6199
|
|
|
6193
|
-
function validate$
|
|
6200
|
+
function validate$M(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
6194
6201
|
const v_error = (() => {
|
|
6195
6202
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6196
6203
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6218,7 +6225,7 @@ function validate$J(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
|
6218
6225
|
return v_error === undefined ? null : v_error;
|
|
6219
6226
|
}
|
|
6220
6227
|
|
|
6221
|
-
function validate$
|
|
6228
|
+
function validate$L(obj, path = 'ConfiguratorInputRepresentation') {
|
|
6222
6229
|
const v_error = (() => {
|
|
6223
6230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6224
6231
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6232,7 +6239,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6232
6239
|
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
6233
6240
|
const obj_addedNodes_item = obj_addedNodes[i];
|
|
6234
6241
|
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
6235
|
-
const referencepath_addedNodes_itemValidationError = validate$
|
|
6242
|
+
const referencepath_addedNodes_itemValidationError = validate$P(obj_addedNodes_item, path_addedNodes_item);
|
|
6236
6243
|
if (referencepath_addedNodes_itemValidationError !== null) {
|
|
6237
6244
|
let message = 'Object doesn\'t match ConfiguratorAddedNodeInputRepresentation (at "' + path_addedNodes_item + '")\n';
|
|
6238
6245
|
message += referencepath_addedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6243,7 +6250,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6243
6250
|
if (obj.configuratorOptions !== undefined) {
|
|
6244
6251
|
const obj_configuratorOptions = obj.configuratorOptions;
|
|
6245
6252
|
const path_configuratorOptions = path + '.configuratorOptions';
|
|
6246
|
-
const referencepath_configuratorOptionsValidationError = validate$
|
|
6253
|
+
const referencepath_configuratorOptionsValidationError = validate$O(obj_configuratorOptions, path_configuratorOptions);
|
|
6247
6254
|
if (referencepath_configuratorOptionsValidationError !== null) {
|
|
6248
6255
|
let message = 'Object doesn\'t match ConfiguratorOptionsInputRepresentation (at "' + path_configuratorOptions + '")\n';
|
|
6249
6256
|
message += referencepath_configuratorOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6308,7 +6315,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6308
6315
|
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
6309
6316
|
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
6310
6317
|
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
6311
|
-
const referencepath_deletedNodes_itemValidationError = validate$
|
|
6318
|
+
const referencepath_deletedNodes_itemValidationError = validate$N(obj_deletedNodes_item, path_deletedNodes_item);
|
|
6312
6319
|
if (referencepath_deletedNodes_itemValidationError !== null) {
|
|
6313
6320
|
let message = 'Object doesn\'t match ConfiguratorDeletedNodeInputRepresentation (at "' + path_deletedNodes_item + '")\n';
|
|
6314
6321
|
message += referencepath_deletedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6416,7 +6423,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6416
6423
|
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
6417
6424
|
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
6418
6425
|
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
6419
|
-
const referencepath_updatedNodes_itemValidationError = validate$
|
|
6426
|
+
const referencepath_updatedNodes_itemValidationError = validate$M(obj_updatedNodes_item, path_updatedNodes_item);
|
|
6420
6427
|
if (referencepath_updatedNodes_itemValidationError !== null) {
|
|
6421
6428
|
let message = 'Object doesn\'t match ConfiguratorUpdatedNodeInputRepresentation (at "' + path_updatedNodes_item + '")\n';
|
|
6422
6429
|
message += referencepath_updatedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6428,7 +6435,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6428
6435
|
return v_error === undefined ? null : v_error;
|
|
6429
6436
|
}
|
|
6430
6437
|
|
|
6431
|
-
function validate$
|
|
6438
|
+
function validate$K(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentation') {
|
|
6432
6439
|
const v_error = (() => {
|
|
6433
6440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6434
6441
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6465,7 +6472,7 @@ function validate$H(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentatio
|
|
|
6465
6472
|
return v_error === undefined ? null : v_error;
|
|
6466
6473
|
}
|
|
6467
6474
|
|
|
6468
|
-
function validate$
|
|
6475
|
+
function validate$J(obj, path = 'ConfiguratorAttributePicklistValueOutputRepresentation') {
|
|
6469
6476
|
const v_error = (() => {
|
|
6470
6477
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6471
6478
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6544,7 +6551,7 @@ function validate$G(obj, path = 'ConfiguratorAttributePicklistValueOutputReprese
|
|
|
6544
6551
|
return v_error === undefined ? null : v_error;
|
|
6545
6552
|
}
|
|
6546
6553
|
|
|
6547
|
-
function validate$
|
|
6554
|
+
function validate$I(obj, path = 'ConfiguratorAttributePicklistOutputRepresentation') {
|
|
6548
6555
|
const v_error = (() => {
|
|
6549
6556
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6550
6557
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6586,7 +6593,7 @@ function validate$F(obj, path = 'ConfiguratorAttributePicklistOutputRepresentati
|
|
|
6586
6593
|
for (let i = 0; i < obj_values.length; i++) {
|
|
6587
6594
|
const obj_values_item = obj_values[i];
|
|
6588
6595
|
const path_values_item = path_values + '[' + i + ']';
|
|
6589
|
-
const referencepath_values_itemValidationError = validate$
|
|
6596
|
+
const referencepath_values_itemValidationError = validate$J(obj_values_item, path_values_item);
|
|
6590
6597
|
if (referencepath_values_itemValidationError !== null) {
|
|
6591
6598
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
6592
6599
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6598,7 +6605,7 @@ function validate$F(obj, path = 'ConfiguratorAttributePicklistOutputRepresentati
|
|
|
6598
6605
|
return v_error === undefined ? null : v_error;
|
|
6599
6606
|
}
|
|
6600
6607
|
|
|
6601
|
-
function validate$
|
|
6608
|
+
function validate$H(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation') {
|
|
6602
6609
|
const v_error = (() => {
|
|
6603
6610
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6604
6611
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6642,7 +6649,7 @@ function validate$E(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation')
|
|
|
6642
6649
|
return v_error === undefined ? null : v_error;
|
|
6643
6650
|
}
|
|
6644
6651
|
|
|
6645
|
-
function validate$
|
|
6652
|
+
function validate$G(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
6646
6653
|
const v_error = (() => {
|
|
6647
6654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6648
6655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6664,7 +6671,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6664
6671
|
if (obj.attributePicklist !== undefined) {
|
|
6665
6672
|
const obj_attributePicklist = obj.attributePicklist;
|
|
6666
6673
|
const path_attributePicklist = path + '.attributePicklist';
|
|
6667
|
-
const referencepath_attributePicklistValidationError = validate$
|
|
6674
|
+
const referencepath_attributePicklistValidationError = validate$I(obj_attributePicklist, path_attributePicklist);
|
|
6668
6675
|
if (referencepath_attributePicklistValidationError !== null) {
|
|
6669
6676
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistOutputRepresentation (at "' + path_attributePicklist + '")\n';
|
|
6670
6677
|
message += referencepath_attributePicklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6821,7 +6828,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6821
6828
|
if (obj.unitOfMeasure !== undefined) {
|
|
6822
6829
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
6823
6830
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
6824
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
6831
|
+
const referencepath_unitOfMeasureValidationError = validate$H(obj_unitOfMeasure, path_unitOfMeasure);
|
|
6825
6832
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
6826
6833
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
6827
6834
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6853,7 +6860,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6853
6860
|
return v_error === undefined ? null : v_error;
|
|
6854
6861
|
}
|
|
6855
6862
|
|
|
6856
|
-
function validate$
|
|
6863
|
+
function validate$F(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentation') {
|
|
6857
6864
|
const v_error = (() => {
|
|
6858
6865
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6859
6866
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6867,7 +6874,7 @@ function validate$C(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentati
|
|
|
6867
6874
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
6868
6875
|
const obj_attributes_item = obj_attributes[i];
|
|
6869
6876
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
6870
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
6877
|
+
const referencepath_attributes_itemValidationError = validate$G(obj_attributes_item, path_attributes_item);
|
|
6871
6878
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
6872
6879
|
let message = 'Object doesn\'t match ConfiguratorAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
6873
6880
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6928,7 +6935,7 @@ function validate$C(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentati
|
|
|
6928
6935
|
return v_error === undefined ? null : v_error;
|
|
6929
6936
|
}
|
|
6930
6937
|
|
|
6931
|
-
function validate$
|
|
6938
|
+
function validate$E(obj, path = 'ConfiguratorPricingModelOutputRepresentation') {
|
|
6932
6939
|
const v_error = (() => {
|
|
6933
6940
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6934
6941
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6979,7 +6986,7 @@ function validate$B(obj, path = 'ConfiguratorPricingModelOutputRepresentation')
|
|
|
6979
6986
|
return v_error === undefined ? null : v_error;
|
|
6980
6987
|
}
|
|
6981
6988
|
|
|
6982
|
-
function validate$
|
|
6989
|
+
function validate$D(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
6983
6990
|
const v_error = (() => {
|
|
6984
6991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6985
6992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7043,7 +7050,7 @@ function validate$A(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
7043
7050
|
if (obj.pricingModel !== undefined) {
|
|
7044
7051
|
const obj_pricingModel = obj.pricingModel;
|
|
7045
7052
|
const path_pricingModel = path + '.pricingModel';
|
|
7046
|
-
const referencepath_pricingModelValidationError = validate$
|
|
7053
|
+
const referencepath_pricingModelValidationError = validate$E(obj_pricingModel, path_pricingModel);
|
|
7047
7054
|
if (referencepath_pricingModelValidationError !== null) {
|
|
7048
7055
|
let message = 'Object doesn\'t match ConfiguratorPricingModelOutputRepresentation (at "' + path_pricingModel + '")\n';
|
|
7049
7056
|
message += referencepath_pricingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7057,7 +7064,7 @@ function validate$A(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
7057
7064
|
return v_error === undefined ? null : v_error;
|
|
7058
7065
|
}
|
|
7059
7066
|
|
|
7060
|
-
function validate$
|
|
7067
|
+
function validate$C(obj, path = 'ConfiguratorProductClassificationOutputRepresentation') {
|
|
7061
7068
|
const v_error = (() => {
|
|
7062
7069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7063
7070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7073,7 +7080,7 @@ function validate$z(obj, path = 'ConfiguratorProductClassificationOutputRepresen
|
|
|
7073
7080
|
return v_error === undefined ? null : v_error;
|
|
7074
7081
|
}
|
|
7075
7082
|
|
|
7076
|
-
function validate$
|
|
7083
|
+
function validate$B(obj, path = 'ConfiguratorProductComponentGroupOutputRepresentation') {
|
|
7077
7084
|
const v_error = (() => {
|
|
7078
7085
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7079
7086
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7087,7 +7094,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7087
7094
|
for (let i = 0; i < obj_childGroups.length; i++) {
|
|
7088
7095
|
const obj_childGroups_item = obj_childGroups[i];
|
|
7089
7096
|
const path_childGroups_item = path_childGroups + '[' + i + ']';
|
|
7090
|
-
const referencepath_childGroups_itemValidationError = validate$
|
|
7097
|
+
const referencepath_childGroups_itemValidationError = validate$B(obj_childGroups_item, path_childGroups_item);
|
|
7091
7098
|
if (referencepath_childGroups_itemValidationError !== null) {
|
|
7092
7099
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_childGroups_item + '")\n';
|
|
7093
7100
|
message += referencepath_childGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7104,7 +7111,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7104
7111
|
for (let i = 0; i < obj_classifications.length; i++) {
|
|
7105
7112
|
const obj_classifications_item = obj_classifications[i];
|
|
7106
7113
|
const path_classifications_item = path_classifications + '[' + i + ']';
|
|
7107
|
-
const referencepath_classifications_itemValidationError = validate$
|
|
7114
|
+
const referencepath_classifications_itemValidationError = validate$C(obj_classifications_item, path_classifications_item);
|
|
7108
7115
|
if (referencepath_classifications_itemValidationError !== null) {
|
|
7109
7116
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_classifications_item + '")\n';
|
|
7110
7117
|
message += referencepath_classifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7128,7 +7135,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7128
7135
|
for (let i = 0; i < obj_components.length; i++) {
|
|
7129
7136
|
const obj_components_item = obj_components[i];
|
|
7130
7137
|
const path_components_item = path_components + '[' + i + ']';
|
|
7131
|
-
const referencepath_components_itemValidationError = validate$
|
|
7138
|
+
const referencepath_components_itemValidationError = validate$w(obj_components_item, path_components_item);
|
|
7132
7139
|
if (referencepath_components_itemValidationError !== null) {
|
|
7133
7140
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_components_item + '")\n';
|
|
7134
7141
|
message += referencepath_components_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7196,7 +7203,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7196
7203
|
return v_error === undefined ? null : v_error;
|
|
7197
7204
|
}
|
|
7198
7205
|
|
|
7199
|
-
function validate$
|
|
7206
|
+
function validate$A(obj, path = 'ConfiguratorProductRelatedComponentOutputRepresentation') {
|
|
7200
7207
|
const v_error = (() => {
|
|
7201
7208
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7202
7209
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7311,7 +7318,7 @@ function validate$x(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
7311
7318
|
if (obj.unitOfMeasure !== undefined) {
|
|
7312
7319
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
7313
7320
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
7314
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
7321
|
+
const referencepath_unitOfMeasureValidationError = validate$H(obj_unitOfMeasure, path_unitOfMeasure);
|
|
7315
7322
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
7316
7323
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
7317
7324
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7322,7 +7329,7 @@ function validate$x(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
7322
7329
|
return v_error === undefined ? null : v_error;
|
|
7323
7330
|
}
|
|
7324
7331
|
|
|
7325
|
-
function validate$
|
|
7332
|
+
function validate$z(obj, path = 'ConfiguratorProductSellingModelOutputRepresentation') {
|
|
7326
7333
|
const v_error = (() => {
|
|
7327
7334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7328
7335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7373,7 +7380,7 @@ function validate$w(obj, path = 'ConfiguratorProductSellingModelOutputRepresenta
|
|
|
7373
7380
|
return v_error === undefined ? null : v_error;
|
|
7374
7381
|
}
|
|
7375
7382
|
|
|
7376
|
-
function validate$
|
|
7383
|
+
function validate$y(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepresentation') {
|
|
7377
7384
|
const v_error = (() => {
|
|
7378
7385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7379
7386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7395,7 +7402,7 @@ function validate$v(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
7395
7402
|
if (obj.productSellingModel !== undefined) {
|
|
7396
7403
|
const obj_productSellingModel = obj.productSellingModel;
|
|
7397
7404
|
const path_productSellingModel = path + '.productSellingModel';
|
|
7398
|
-
const referencepath_productSellingModelValidationError = validate$
|
|
7405
|
+
const referencepath_productSellingModelValidationError = validate$z(obj_productSellingModel, path_productSellingModel);
|
|
7399
7406
|
if (referencepath_productSellingModelValidationError !== null) {
|
|
7400
7407
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOutputRepresentation (at "' + path_productSellingModel + '")\n';
|
|
7401
7408
|
message += referencepath_productSellingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7413,7 +7420,7 @@ function validate$v(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
7413
7420
|
return v_error === undefined ? null : v_error;
|
|
7414
7421
|
}
|
|
7415
7422
|
|
|
7416
|
-
function validate$
|
|
7423
|
+
function validate$x(obj, path = 'ConfiguratorQualificationContextOutputRepresentation') {
|
|
7417
7424
|
const v_error = (() => {
|
|
7418
7425
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7419
7426
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7436,7 +7443,7 @@ function validate$u(obj, path = 'ConfiguratorQualificationContextOutputRepresent
|
|
|
7436
7443
|
return v_error === undefined ? null : v_error;
|
|
7437
7444
|
}
|
|
7438
7445
|
|
|
7439
|
-
function validate$
|
|
7446
|
+
function validate$w(obj, path = 'ConfiguratorProductCatalogOutputRepresentation') {
|
|
7440
7447
|
const v_error = (() => {
|
|
7441
7448
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7442
7449
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7450,7 +7457,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7450
7457
|
for (let i = 0; i < obj_additionalFields.length; i++) {
|
|
7451
7458
|
const obj_additionalFields_item = obj_additionalFields[i];
|
|
7452
7459
|
const path_additionalFields_item = path_additionalFields + '[' + i + ']';
|
|
7453
|
-
const referencepath_additionalFields_itemValidationError = validate$
|
|
7460
|
+
const referencepath_additionalFields_itemValidationError = validate$K(obj_additionalFields_item, path_additionalFields_item);
|
|
7454
7461
|
if (referencepath_additionalFields_itemValidationError !== null) {
|
|
7455
7462
|
let message = 'Object doesn\'t match ConfiguratorAdditionalFieldsOutputRepresentation (at "' + path_additionalFields_item + '")\n';
|
|
7456
7463
|
message += referencepath_additionalFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7467,7 +7474,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7467
7474
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
7468
7475
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
7469
7476
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
7470
|
-
const referencepath_attributeCategories_itemValidationError = validate$
|
|
7477
|
+
const referencepath_attributeCategories_itemValidationError = validate$F(obj_attributeCategories_item, path_attributeCategories_item);
|
|
7471
7478
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
7472
7479
|
let message = 'Object doesn\'t match ConfiguratorAttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
7473
7480
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7589,7 +7596,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7589
7596
|
for (let i = 0; i < obj_prices.length; i++) {
|
|
7590
7597
|
const obj_prices_item = obj_prices[i];
|
|
7591
7598
|
const path_prices_item = path_prices + '[' + i + ']';
|
|
7592
|
-
const referencepath_prices_itemValidationError = validate$
|
|
7599
|
+
const referencepath_prices_itemValidationError = validate$D(obj_prices_item, path_prices_item);
|
|
7593
7600
|
if (referencepath_prices_itemValidationError !== null) {
|
|
7594
7601
|
let message = 'Object doesn\'t match ConfiguratorPriceOutputRepresentation (at "' + path_prices_item + '")\n';
|
|
7595
7602
|
message += referencepath_prices_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7600,7 +7607,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7600
7607
|
if (obj.productClassification !== undefined) {
|
|
7601
7608
|
const obj_productClassification = obj.productClassification;
|
|
7602
7609
|
const path_productClassification = path + '.productClassification';
|
|
7603
|
-
const referencepath_productClassificationValidationError = validate$
|
|
7610
|
+
const referencepath_productClassificationValidationError = validate$C(obj_productClassification, path_productClassification);
|
|
7604
7611
|
if (referencepath_productClassificationValidationError !== null) {
|
|
7605
7612
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
|
|
7606
7613
|
message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7623,7 +7630,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7623
7630
|
for (let i = 0; i < obj_productComponentGroups.length; i++) {
|
|
7624
7631
|
const obj_productComponentGroups_item = obj_productComponentGroups[i];
|
|
7625
7632
|
const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
|
|
7626
|
-
const referencepath_productComponentGroups_itemValidationError = validate$
|
|
7633
|
+
const referencepath_productComponentGroups_itemValidationError = validate$B(obj_productComponentGroups_item, path_productComponentGroups_item);
|
|
7627
7634
|
if (referencepath_productComponentGroups_itemValidationError !== null) {
|
|
7628
7635
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
|
|
7629
7636
|
message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7634,7 +7641,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7634
7641
|
if (obj.productRelatedComponent !== undefined) {
|
|
7635
7642
|
const obj_productRelatedComponent = obj.productRelatedComponent;
|
|
7636
7643
|
const path_productRelatedComponent = path + '.productRelatedComponent';
|
|
7637
|
-
const referencepath_productRelatedComponentValidationError = validate$
|
|
7644
|
+
const referencepath_productRelatedComponentValidationError = validate$A(obj_productRelatedComponent, path_productRelatedComponent);
|
|
7638
7645
|
if (referencepath_productRelatedComponentValidationError !== null) {
|
|
7639
7646
|
let message = 'Object doesn\'t match ConfiguratorProductRelatedComponentOutputRepresentation (at "' + path_productRelatedComponent + '")\n';
|
|
7640
7647
|
message += referencepath_productRelatedComponentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7650,7 +7657,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7650
7657
|
for (let i = 0; i < obj_productSellingModelOptions.length; i++) {
|
|
7651
7658
|
const obj_productSellingModelOptions_item = obj_productSellingModelOptions[i];
|
|
7652
7659
|
const path_productSellingModelOptions_item = path_productSellingModelOptions + '[' + i + ']';
|
|
7653
|
-
const referencepath_productSellingModelOptions_itemValidationError = validate$
|
|
7660
|
+
const referencepath_productSellingModelOptions_itemValidationError = validate$y(obj_productSellingModelOptions_item, path_productSellingModelOptions_item);
|
|
7654
7661
|
if (referencepath_productSellingModelOptions_itemValidationError !== null) {
|
|
7655
7662
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOptionOutputRepresentation (at "' + path_productSellingModelOptions_item + '")\n';
|
|
7656
7663
|
message += referencepath_productSellingModelOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7675,7 +7682,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7675
7682
|
if (obj.qualificationContext !== undefined) {
|
|
7676
7683
|
const obj_qualificationContext = obj.qualificationContext;
|
|
7677
7684
|
const path_qualificationContext = path + '.qualificationContext';
|
|
7678
|
-
const referencepath_qualificationContextValidationError = validate$
|
|
7685
|
+
const referencepath_qualificationContextValidationError = validate$x(obj_qualificationContext, path_qualificationContext);
|
|
7679
7686
|
if (referencepath_qualificationContextValidationError !== null) {
|
|
7680
7687
|
let message = 'Object doesn\'t match ConfiguratorQualificationContextOutputRepresentation (at "' + path_qualificationContext + '")\n';
|
|
7681
7688
|
message += referencepath_qualificationContextValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7692,7 +7699,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7692
7699
|
if (obj.unitOfMeasure !== undefined) {
|
|
7693
7700
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
7694
7701
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
7695
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
7702
|
+
const referencepath_unitOfMeasureValidationError = validate$H(obj_unitOfMeasure, path_unitOfMeasure);
|
|
7696
7703
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
7697
7704
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
7698
7705
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7703,8 +7710,118 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7703
7710
|
return v_error === undefined ? null : v_error;
|
|
7704
7711
|
}
|
|
7705
7712
|
|
|
7713
|
+
function validate$v(obj, path = 'ConfiguratorConflictResolutionDeletedNodeOutputRepresentation') {
|
|
7714
|
+
const v_error = (() => {
|
|
7715
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7716
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7717
|
+
}
|
|
7718
|
+
if (obj.path !== undefined) {
|
|
7719
|
+
const obj_path = obj.path;
|
|
7720
|
+
const path_path = path + '.path';
|
|
7721
|
+
if (!ArrayIsArray(obj_path)) {
|
|
7722
|
+
return new TypeError('Expected "array" but received "' + typeof obj_path + '" (at "' + path_path + '")');
|
|
7723
|
+
}
|
|
7724
|
+
for (let i = 0; i < obj_path.length; i++) {
|
|
7725
|
+
const obj_path_item = obj_path[i];
|
|
7726
|
+
const path_path_item = path_path + '[' + i + ']';
|
|
7727
|
+
if (typeof obj_path_item !== 'string') {
|
|
7728
|
+
return new TypeError('Expected "string" but received "' + typeof obj_path_item + '" (at "' + path_path_item + '")');
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7731
|
+
}
|
|
7732
|
+
})();
|
|
7733
|
+
return v_error === undefined ? null : v_error;
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7736
|
+
function validate$u(obj, path = 'ConfiguratorConflictResolutionUpdatedNodeOutputRepresentation') {
|
|
7737
|
+
const v_error = (() => {
|
|
7738
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7739
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7740
|
+
}
|
|
7741
|
+
if (obj.path !== undefined) {
|
|
7742
|
+
const obj_path = obj.path;
|
|
7743
|
+
const path_path = path + '.path';
|
|
7744
|
+
if (!ArrayIsArray(obj_path)) {
|
|
7745
|
+
return new TypeError('Expected "array" but received "' + typeof obj_path + '" (at "' + path_path + '")');
|
|
7746
|
+
}
|
|
7747
|
+
for (let i = 0; i < obj_path.length; i++) {
|
|
7748
|
+
const obj_path_item = obj_path[i];
|
|
7749
|
+
const path_path_item = path_path + '[' + i + ']';
|
|
7750
|
+
if (typeof obj_path_item !== 'string') {
|
|
7751
|
+
return new TypeError('Expected "string" but received "' + typeof obj_path_item + '" (at "' + path_path_item + '")');
|
|
7752
|
+
}
|
|
7753
|
+
}
|
|
7754
|
+
}
|
|
7755
|
+
if (obj.updatedAttributes !== undefined) {
|
|
7756
|
+
const obj_updatedAttributes = obj.updatedAttributes;
|
|
7757
|
+
const path_updatedAttributes = path + '.updatedAttributes';
|
|
7758
|
+
if (obj_updatedAttributes === undefined) {
|
|
7759
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_updatedAttributes + '" (at "' + path_updatedAttributes + '")');
|
|
7760
|
+
}
|
|
7761
|
+
}
|
|
7762
|
+
if (obj.valueListCompleteness !== undefined) {
|
|
7763
|
+
const obj_valueListCompleteness = obj.valueListCompleteness;
|
|
7764
|
+
const path_valueListCompleteness = path + '.valueListCompleteness';
|
|
7765
|
+
if (typeof obj_valueListCompleteness !== 'string') {
|
|
7766
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valueListCompleteness + '" (at "' + path_valueListCompleteness + '")');
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
})();
|
|
7770
|
+
return v_error === undefined ? null : v_error;
|
|
7771
|
+
}
|
|
7772
|
+
|
|
7773
|
+
function validate$t(obj, path = 'ConfiguratorConflictResolutionDeltaNodeOutputRepresentation') {
|
|
7774
|
+
const v_error = (() => {
|
|
7775
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7776
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7777
|
+
}
|
|
7778
|
+
if (obj.deletedNodes !== undefined) {
|
|
7779
|
+
const obj_deletedNodes = obj.deletedNodes;
|
|
7780
|
+
const path_deletedNodes = path + '.deletedNodes';
|
|
7781
|
+
if (!ArrayIsArray(obj_deletedNodes)) {
|
|
7782
|
+
return new TypeError('Expected "array" but received "' + typeof obj_deletedNodes + '" (at "' + path_deletedNodes + '")');
|
|
7783
|
+
}
|
|
7784
|
+
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
7785
|
+
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
7786
|
+
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
7787
|
+
const referencepath_deletedNodes_itemValidationError = validate$v(obj_deletedNodes_item, path_deletedNodes_item);
|
|
7788
|
+
if (referencepath_deletedNodes_itemValidationError !== null) {
|
|
7789
|
+
let message = 'Object doesn\'t match ConfiguratorConflictResolutionDeletedNodeOutputRepresentation (at "' + path_deletedNodes_item + '")\n';
|
|
7790
|
+
message += referencepath_deletedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7791
|
+
return new TypeError(message);
|
|
7792
|
+
}
|
|
7793
|
+
}
|
|
7794
|
+
}
|
|
7795
|
+
if (obj.explanationMessage !== undefined) {
|
|
7796
|
+
const obj_explanationMessage = obj.explanationMessage;
|
|
7797
|
+
const path_explanationMessage = path + '.explanationMessage';
|
|
7798
|
+
if (typeof obj_explanationMessage !== 'string') {
|
|
7799
|
+
return new TypeError('Expected "string" but received "' + typeof obj_explanationMessage + '" (at "' + path_explanationMessage + '")');
|
|
7800
|
+
}
|
|
7801
|
+
}
|
|
7802
|
+
if (obj.updatedNodes !== undefined) {
|
|
7803
|
+
const obj_updatedNodes = obj.updatedNodes;
|
|
7804
|
+
const path_updatedNodes = path + '.updatedNodes';
|
|
7805
|
+
if (!ArrayIsArray(obj_updatedNodes)) {
|
|
7806
|
+
return new TypeError('Expected "array" but received "' + typeof obj_updatedNodes + '" (at "' + path_updatedNodes + '")');
|
|
7807
|
+
}
|
|
7808
|
+
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
7809
|
+
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
7810
|
+
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
7811
|
+
const referencepath_updatedNodes_itemValidationError = validate$u(obj_updatedNodes_item, path_updatedNodes_item);
|
|
7812
|
+
if (referencepath_updatedNodes_itemValidationError !== null) {
|
|
7813
|
+
let message = 'Object doesn\'t match ConfiguratorConflictResolutionUpdatedNodeOutputRepresentation (at "' + path_updatedNodes_item + '")\n';
|
|
7814
|
+
message += referencepath_updatedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7815
|
+
return new TypeError(message);
|
|
7816
|
+
}
|
|
7817
|
+
}
|
|
7818
|
+
}
|
|
7819
|
+
})();
|
|
7820
|
+
return v_error === undefined ? null : v_error;
|
|
7821
|
+
}
|
|
7822
|
+
|
|
7706
7823
|
const TTL$9 = 1000;
|
|
7707
|
-
const VERSION$9 = "
|
|
7824
|
+
const VERSION$9 = "e5c6f0ee296eb6c8817101f0bef404aa";
|
|
7708
7825
|
function validate$s(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
7709
7826
|
const v_error = (() => {
|
|
7710
7827
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7719,7 +7836,7 @@ function validate$s(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
|
7719
7836
|
for (let i = 0; i < obj_catalogProducts.length; i++) {
|
|
7720
7837
|
const obj_catalogProducts_item = obj_catalogProducts[i];
|
|
7721
7838
|
const path_catalogProducts_item = path_catalogProducts + '[' + i + ']';
|
|
7722
|
-
const referencepath_catalogProducts_itemValidationError = validate$
|
|
7839
|
+
const referencepath_catalogProducts_itemValidationError = validate$w(obj_catalogProducts_item, path_catalogProducts_item);
|
|
7723
7840
|
if (referencepath_catalogProducts_itemValidationError !== null) {
|
|
7724
7841
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_catalogProducts_item + '")\n';
|
|
7725
7842
|
message += referencepath_catalogProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7727,6 +7844,23 @@ function validate$s(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
|
7727
7844
|
}
|
|
7728
7845
|
}
|
|
7729
7846
|
}
|
|
7847
|
+
if (obj.conflictResolutionDeltaNodes !== undefined) {
|
|
7848
|
+
const obj_conflictResolutionDeltaNodes = obj.conflictResolutionDeltaNodes;
|
|
7849
|
+
const path_conflictResolutionDeltaNodes = path + '.conflictResolutionDeltaNodes';
|
|
7850
|
+
if (!ArrayIsArray(obj_conflictResolutionDeltaNodes)) {
|
|
7851
|
+
return new TypeError('Expected "array" but received "' + typeof obj_conflictResolutionDeltaNodes + '" (at "' + path_conflictResolutionDeltaNodes + '")');
|
|
7852
|
+
}
|
|
7853
|
+
for (let i = 0; i < obj_conflictResolutionDeltaNodes.length; i++) {
|
|
7854
|
+
const obj_conflictResolutionDeltaNodes_item = obj_conflictResolutionDeltaNodes[i];
|
|
7855
|
+
const path_conflictResolutionDeltaNodes_item = path_conflictResolutionDeltaNodes + '[' + i + ']';
|
|
7856
|
+
const referencepath_conflictResolutionDeltaNodes_itemValidationError = validate$t(obj_conflictResolutionDeltaNodes_item, path_conflictResolutionDeltaNodes_item);
|
|
7857
|
+
if (referencepath_conflictResolutionDeltaNodes_itemValidationError !== null) {
|
|
7858
|
+
let message = 'Object doesn\'t match ConfiguratorConflictResolutionDeltaNodeOutputRepresentation (at "' + path_conflictResolutionDeltaNodes_item + '")\n';
|
|
7859
|
+
message += referencepath_conflictResolutionDeltaNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
7860
|
+
return new TypeError(message);
|
|
7861
|
+
}
|
|
7862
|
+
}
|
|
7863
|
+
}
|
|
7730
7864
|
if (obj.errors !== undefined) {
|
|
7731
7865
|
const obj_errors = obj.errors;
|
|
7732
7866
|
const path_errors = path + '.errors';
|
|
@@ -7893,7 +8027,7 @@ const createResourceParams$b = /*#__PURE__*/ createResourceParams$r(configure_Co
|
|
|
7893
8027
|
function typeCheckConfig$b(untrustedConfig) {
|
|
7894
8028
|
const config = {};
|
|
7895
8029
|
const untrustedConfig_configuratorInput = untrustedConfig.configuratorInput;
|
|
7896
|
-
const referenceConfiguratorInputRepresentationValidationError = validate$
|
|
8030
|
+
const referenceConfiguratorInputRepresentationValidationError = validate$L(untrustedConfig_configuratorInput);
|
|
7897
8031
|
if (referenceConfiguratorInputRepresentationValidationError === null) {
|
|
7898
8032
|
config.configuratorInput = untrustedConfig_configuratorInput;
|
|
7899
8033
|
}
|
|
@@ -10864,7 +10998,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
10864
10998
|
}
|
|
10865
10999
|
}
|
|
10866
11000
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
10867
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
11001
|
+
const referenceFilterInputRepresentationValidationError = validate$1j(untrustedConfig_filter);
|
|
10868
11002
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
10869
11003
|
config.filter = untrustedConfig_filter;
|
|
10870
11004
|
}
|