@salesforce/lds-adapters-industries-cpq 1.428.0-dev1 → 1.428.0-dev2
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 +179 -165
- package/dist/es/es2018/types/src/generated/adapters/executeConfigRules.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postRevenueProductConfiguratorRulesActionsExecute.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/types/ConfigRuleInputRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/ConfigRuleOptionsInputRepresentation.d.ts +3 -6
- package/package.json +4 -4
- package/sfdc/index.js +116 -102
- package/src/raml/api.raml +2 -6
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$1p(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$1o(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$1n(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$1o(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$1m(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$1l(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$1m(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$1k(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$1n(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$1l(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$1k(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$1p(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$1j(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$1j(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$1i(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$1h(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$1i(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$1g(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$1i(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$1f(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$1e(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$1d(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$1n(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$1e(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$1d(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$1h(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$1g(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$1f(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$1c(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$1c(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$1b(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$1a(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$1n(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$1a(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$1b(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$19(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$18(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$1n(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$18(input);
|
|
1930
1930
|
if (validateError !== null) {
|
|
1931
1931
|
throw validateError;
|
|
1932
1932
|
}
|
|
@@ -2016,7 +2016,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
2016
2016
|
const untrustedConfig_productData_array = [];
|
|
2017
2017
|
for (let i = 0, arrayLength = untrustedConfig_productData.length; i < arrayLength; i++) {
|
|
2018
2018
|
const untrustedConfig_productData_item = untrustedConfig_productData[i];
|
|
2019
|
-
const referenceProductDataInputValidationError = validate$
|
|
2019
|
+
const referenceProductDataInputValidationError = validate$19(untrustedConfig_productData_item);
|
|
2020
2020
|
if (referenceProductDataInputValidationError === null) {
|
|
2021
2021
|
untrustedConfig_productData_array.push(untrustedConfig_productData_item);
|
|
2022
2022
|
}
|
|
@@ -2074,7 +2074,7 @@ const bulkProductDetailsAdapterFactory = (luvio) => {
|
|
|
2074
2074
|
};
|
|
2075
2075
|
};
|
|
2076
2076
|
|
|
2077
|
-
function validate$
|
|
2077
|
+
function validate$17(obj, path = 'ProductDetailsInputRepresentation') {
|
|
2078
2078
|
const v_error = (() => {
|
|
2079
2079
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2080
2080
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2125,14 +2125,14 @@ function validate$16(obj, path = 'ProductDetailsInputRepresentation') {
|
|
|
2125
2125
|
|
|
2126
2126
|
const TTL$f = 1000;
|
|
2127
2127
|
const VERSION$n = "2f20f99218d11f5ad756aff76b7a815e";
|
|
2128
|
-
function validate$
|
|
2128
|
+
function validate$16(obj, path = 'CpqBaseDetailsOutputRepresentation') {
|
|
2129
2129
|
const v_error = (() => {
|
|
2130
2130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2131
2131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2132
2132
|
}
|
|
2133
2133
|
const obj_apiStatus = obj.apiStatus;
|
|
2134
2134
|
const path_apiStatus = path + '.apiStatus';
|
|
2135
|
-
const referencepath_apiStatusValidationError = validate$
|
|
2135
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
2136
2136
|
if (referencepath_apiStatusValidationError !== null) {
|
|
2137
2137
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
2138
2138
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2182,7 +2182,7 @@ function equals$n(existing, incoming) {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
const ingest$g = function CpqBaseDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2184
2184
|
if (process.env.NODE_ENV !== 'production') {
|
|
2185
|
-
const validateError = validate$
|
|
2185
|
+
const validateError = validate$16(input);
|
|
2186
2186
|
if (validateError !== null) {
|
|
2187
2187
|
throw validateError;
|
|
2188
2188
|
}
|
|
@@ -2250,7 +2250,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
2250
2250
|
const config = {};
|
|
2251
2251
|
typeCheckConfig$r(untrustedConfig, config, productDetails_ConfigPropertyMetadata);
|
|
2252
2252
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
2253
|
-
const referenceProductDetailsInputRepresentationValidationError = validate$
|
|
2253
|
+
const referenceProductDetailsInputRepresentationValidationError = validate$17(untrustedConfig_requestBody);
|
|
2254
2254
|
if (referenceProductDetailsInputRepresentationValidationError === null) {
|
|
2255
2255
|
config.requestBody = untrustedConfig_requestBody;
|
|
2256
2256
|
}
|
|
@@ -2359,7 +2359,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
2359
2359
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
2360
2360
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
2361
2361
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2362
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
2362
|
+
const referenceFilterInputRepresentationValidationError = validate$1h(untrustedConfig_filter);
|
|
2363
2363
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
2364
2364
|
config.filter = untrustedConfig_filter;
|
|
2365
2365
|
}
|
|
@@ -2482,7 +2482,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
2482
2482
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
2483
2483
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
2484
2484
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2485
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
2485
|
+
const referenceFilterInputRepresentationValidationError = validate$1h(untrustedConfig_filter);
|
|
2486
2486
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
2487
2487
|
config.filter = untrustedConfig_filter;
|
|
2488
2488
|
}
|
|
@@ -2545,7 +2545,7 @@ const categoryDetailsAdapterFactory = (luvio) => {
|
|
|
2545
2545
|
};
|
|
2546
2546
|
};
|
|
2547
2547
|
|
|
2548
|
-
function validate$
|
|
2548
|
+
function validate$15(obj, path = 'CreateCartInputRepresentation') {
|
|
2549
2549
|
const v_error = (() => {
|
|
2550
2550
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2551
2551
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2616,14 +2616,14 @@ function validate$14(obj, path = 'CreateCartInputRepresentation') {
|
|
|
2616
2616
|
|
|
2617
2617
|
const TTL$e = 1000;
|
|
2618
2618
|
const VERSION$m = "1f730145ab6b9f6b4d070b5eade57b4c";
|
|
2619
|
-
function validate$
|
|
2619
|
+
function validate$14(obj, path = 'CreateCartOutputRepresentation') {
|
|
2620
2620
|
const v_error = (() => {
|
|
2621
2621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2622
2622
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2623
2623
|
}
|
|
2624
2624
|
const obj_apiStatus = obj.apiStatus;
|
|
2625
2625
|
const path_apiStatus = path + '.apiStatus';
|
|
2626
|
-
const referencepath_apiStatusValidationError = validate$
|
|
2626
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
2627
2627
|
if (referencepath_apiStatusValidationError !== null) {
|
|
2628
2628
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
2629
2629
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2668,7 +2668,7 @@ function equals$m(existing, incoming) {
|
|
|
2668
2668
|
}
|
|
2669
2669
|
const ingest$f = function CreateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2670
2670
|
if (process.env.NODE_ENV !== 'production') {
|
|
2671
|
-
const validateError = validate$
|
|
2671
|
+
const validateError = validate$14(input);
|
|
2672
2672
|
if (validateError !== null) {
|
|
2673
2673
|
throw validateError;
|
|
2674
2674
|
}
|
|
@@ -2734,7 +2734,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$r(createCart_C
|
|
|
2734
2734
|
function typeCheckConfig$h(untrustedConfig) {
|
|
2735
2735
|
const config = {};
|
|
2736
2736
|
const untrustedConfig_createCartRequestPayload = untrustedConfig.createCartRequestPayload;
|
|
2737
|
-
const referenceCreateCartInputRepresentationValidationError = validate$
|
|
2737
|
+
const referenceCreateCartInputRepresentationValidationError = validate$15(untrustedConfig_createCartRequestPayload);
|
|
2738
2738
|
if (referenceCreateCartInputRepresentationValidationError === null) {
|
|
2739
2739
|
config.createCartRequestPayload = untrustedConfig_createCartRequestPayload;
|
|
2740
2740
|
}
|
|
@@ -2783,7 +2783,7 @@ const createCartAdapterFactory = (luvio) => {
|
|
|
2783
2783
|
};
|
|
2784
2784
|
|
|
2785
2785
|
const VERSION$l = "c49b7c37c117b93f62b9696af8a68cdc";
|
|
2786
|
-
function validate$
|
|
2786
|
+
function validate$13(obj, path = 'AttributePickListValueOutputRepresentation') {
|
|
2787
2787
|
const v_error = (() => {
|
|
2788
2788
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2789
2789
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3055,7 +3055,7 @@ function equals$l(existing, incoming) {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
|
|
3057
3057
|
const VERSION$k = "cef4f713a2e486855d50324a822053ff";
|
|
3058
|
-
function validate$
|
|
3058
|
+
function validate$12(obj, path = 'AttributePickListOutputRepresentation') {
|
|
3059
3059
|
const v_error = (() => {
|
|
3060
3060
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3061
3061
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3111,7 +3111,7 @@ function validate$11(obj, path = 'AttributePickListOutputRepresentation') {
|
|
|
3111
3111
|
for (let i = 0; i < obj_values.length; i++) {
|
|
3112
3112
|
const obj_values_item = obj_values[i];
|
|
3113
3113
|
const path_values_item = path_values + '[' + i + ']';
|
|
3114
|
-
const referencepath_values_itemValidationError = validate$
|
|
3114
|
+
const referencepath_values_itemValidationError = validate$13(obj_values_item, path_values_item);
|
|
3115
3115
|
if (referencepath_values_itemValidationError !== null) {
|
|
3116
3116
|
let message = 'Object doesn\'t match AttributePickListValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
3117
3117
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3270,7 +3270,7 @@ function equals$k(existing, incoming) {
|
|
|
3270
3270
|
}
|
|
3271
3271
|
|
|
3272
3272
|
const VERSION$j = "a721b7658e0e47f6255b519635c8e0d4";
|
|
3273
|
-
function validate$
|
|
3273
|
+
function validate$11(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
3274
3274
|
const v_error = (() => {
|
|
3275
3275
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3276
3276
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3299,7 +3299,7 @@ function validate$10(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
|
3299
3299
|
if (obj.attributePickList !== undefined) {
|
|
3300
3300
|
const obj_attributePickList = obj.attributePickList;
|
|
3301
3301
|
const path_attributePickList = path + '.attributePickList';
|
|
3302
|
-
const referencepath_attributePickListValidationError = validate$
|
|
3302
|
+
const referencepath_attributePickListValidationError = validate$12(obj_attributePickList, path_attributePickList);
|
|
3303
3303
|
if (referencepath_attributePickListValidationError !== null) {
|
|
3304
3304
|
let message = 'Object doesn\'t match AttributePickListOutputRepresentation (at "' + path_attributePickList + '")\n';
|
|
3305
3305
|
message += referencepath_attributePickListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4014,7 +4014,7 @@ function equals$j(existing, incoming) {
|
|
|
4014
4014
|
}
|
|
4015
4015
|
|
|
4016
4016
|
const VERSION$i = "63ca2614b6879bfb4df068438d7e78ec";
|
|
4017
|
-
function validate
|
|
4017
|
+
function validate$10(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
4018
4018
|
const v_error = (() => {
|
|
4019
4019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4020
4020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4056,7 +4056,7 @@ function validate$$(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
4056
4056
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4057
4057
|
const obj_records_item = obj_records[i];
|
|
4058
4058
|
const path_records_item = path_records + '[' + i + ']';
|
|
4059
|
-
const referencepath_records_itemValidationError = validate$
|
|
4059
|
+
const referencepath_records_itemValidationError = validate$11(obj_records_item, path_records_item);
|
|
4060
4060
|
if (referencepath_records_itemValidationError !== null) {
|
|
4061
4061
|
let message = 'Object doesn\'t match ProductAttributeOutputRepresentation (at "' + path_records_item + '")\n';
|
|
4062
4062
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4254,7 +4254,7 @@ function equals$i(existing, incoming) {
|
|
|
4254
4254
|
}
|
|
4255
4255
|
|
|
4256
4256
|
const VERSION$h = "a59ef129f333de8bbfe140f39144b415";
|
|
4257
|
-
function validate
|
|
4257
|
+
function validate$$(obj, path = 'CartItemOutputRepresentation') {
|
|
4258
4258
|
const v_error = (() => {
|
|
4259
4259
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4260
4260
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4268,7 +4268,7 @@ function validate$_(obj, path = 'CartItemOutputRepresentation') {
|
|
|
4268
4268
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
4269
4269
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
4270
4270
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
4271
|
-
const referencepath_attributeCategories_itemValidationError = validate
|
|
4271
|
+
const referencepath_attributeCategories_itemValidationError = validate$10(obj_attributeCategories_item, path_attributeCategories_item);
|
|
4272
4272
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
4273
4273
|
let message = 'Object doesn\'t match AttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
4274
4274
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4285,7 +4285,7 @@ function validate$_(obj, path = 'CartItemOutputRepresentation') {
|
|
|
4285
4285
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
4286
4286
|
const obj_attributes_item = obj_attributes[i];
|
|
4287
4287
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
4288
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
4288
|
+
const referencepath_attributes_itemValidationError = validate$11(obj_attributes_item, path_attributes_item);
|
|
4289
4289
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
4290
4290
|
let message = 'Object doesn\'t match ProductAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
4291
4291
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4575,7 +4575,7 @@ function equals$h(existing, incoming) {
|
|
|
4575
4575
|
}
|
|
4576
4576
|
|
|
4577
4577
|
const VERSION$g = "dbbe0e43dcf8f1d5334798bb12acca37";
|
|
4578
|
-
function validate$
|
|
4578
|
+
function validate$_(obj, path = 'CartItemsOutputRepresentation') {
|
|
4579
4579
|
const v_error = (() => {
|
|
4580
4580
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4581
4581
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4589,7 +4589,7 @@ function validate$Z(obj, path = 'CartItemsOutputRepresentation') {
|
|
|
4589
4589
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4590
4590
|
const obj_records_item = obj_records[i];
|
|
4591
4591
|
const path_records_item = path_records + '[' + i + ']';
|
|
4592
|
-
const referencepath_records_itemValidationError = validate
|
|
4592
|
+
const referencepath_records_itemValidationError = validate$$(obj_records_item, path_records_item);
|
|
4593
4593
|
if (referencepath_records_itemValidationError !== null) {
|
|
4594
4594
|
let message = 'Object doesn\'t match CartItemOutputRepresentation (at "' + path_records_item + '")\n';
|
|
4595
4595
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4665,7 +4665,7 @@ function equals$g(existing, incoming) {
|
|
|
4665
4665
|
}
|
|
4666
4666
|
|
|
4667
4667
|
const VERSION$f = "ce1e52694d8508b2f5239ba28287dc1e";
|
|
4668
|
-
function validate$
|
|
4668
|
+
function validate$Z(obj, path = 'PricingTotalOutputRepresentation') {
|
|
4669
4669
|
const v_error = (() => {
|
|
4670
4670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4671
4671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4783,14 +4783,14 @@ function equals$f(existing, incoming) {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
|
|
4785
4785
|
const VERSION$e = "db83704358e5d7a3f3f3622cdd0a5114";
|
|
4786
|
-
function validate$
|
|
4786
|
+
function validate$Y(obj, path = 'GetCartOutputRepresentation') {
|
|
4787
4787
|
const v_error = (() => {
|
|
4788
4788
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4789
4789
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4790
4790
|
}
|
|
4791
4791
|
const obj_apiStatus = obj.apiStatus;
|
|
4792
4792
|
const path_apiStatus = path + '.apiStatus';
|
|
4793
|
-
const referencepath_apiStatusValidationError = validate$
|
|
4793
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
4794
4794
|
if (referencepath_apiStatusValidationError !== null) {
|
|
4795
4795
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
4796
4796
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4806,7 +4806,7 @@ function validate$X(obj, path = 'GetCartOutputRepresentation') {
|
|
|
4806
4806
|
if (obj.cartItems !== undefined) {
|
|
4807
4807
|
const obj_cartItems = obj.cartItems;
|
|
4808
4808
|
const path_cartItems = path + '.cartItems';
|
|
4809
|
-
const referencepath_cartItemsValidationError = validate$
|
|
4809
|
+
const referencepath_cartItemsValidationError = validate$_(obj_cartItems, path_cartItems);
|
|
4810
4810
|
if (referencepath_cartItemsValidationError !== null) {
|
|
4811
4811
|
let message = 'Object doesn\'t match CartItemsOutputRepresentation (at "' + path_cartItems + '")\n';
|
|
4812
4812
|
message += referencepath_cartItemsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4822,7 +4822,7 @@ function validate$X(obj, path = 'GetCartOutputRepresentation') {
|
|
|
4822
4822
|
for (let i = 0; i < obj_totals.length; i++) {
|
|
4823
4823
|
const obj_totals_item = obj_totals[i];
|
|
4824
4824
|
const path_totals_item = path_totals + '[' + i + ']';
|
|
4825
|
-
const referencepath_totals_itemValidationError = validate$
|
|
4825
|
+
const referencepath_totals_itemValidationError = validate$Z(obj_totals_item, path_totals_item);
|
|
4826
4826
|
if (referencepath_totals_itemValidationError !== null) {
|
|
4827
4827
|
let message = 'Object doesn\'t match PricingTotalOutputRepresentation (at "' + path_totals_item + '")\n';
|
|
4828
4828
|
message += referencepath_totals_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4926,7 +4926,7 @@ function equals$e(existing, incoming) {
|
|
|
4926
4926
|
}
|
|
4927
4927
|
const ingest$e = function GetCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4928
4928
|
if (process.env.NODE_ENV !== 'production') {
|
|
4929
|
-
const validateError = validate$
|
|
4929
|
+
const validateError = validate$Y(input);
|
|
4930
4930
|
if (validateError !== null) {
|
|
4931
4931
|
throw validateError;
|
|
4932
4932
|
}
|
|
@@ -5078,7 +5078,7 @@ const getCartAdapterFactory = (luvio) => function cpq__getCart(untrustedConfig,
|
|
|
5078
5078
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
5079
5079
|
};
|
|
5080
5080
|
|
|
5081
|
-
function validate$
|
|
5081
|
+
function validate$X(obj, path = 'UpdateCartInputRepresentation') {
|
|
5082
5082
|
const v_error = (() => {
|
|
5083
5083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5084
5084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5113,7 +5113,7 @@ function validate$W(obj, path = 'UpdateCartInputRepresentation') {
|
|
|
5113
5113
|
return v_error === undefined ? null : v_error;
|
|
5114
5114
|
}
|
|
5115
5115
|
|
|
5116
|
-
function validate$
|
|
5116
|
+
function validate$W(obj, path = 'ValidationResultOutputRepresentation') {
|
|
5117
5117
|
const v_error = (() => {
|
|
5118
5118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5119
5119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5157,7 +5157,7 @@ function validate$V(obj, path = 'ValidationResultOutputRepresentation') {
|
|
|
5157
5157
|
return v_error === undefined ? null : v_error;
|
|
5158
5158
|
}
|
|
5159
5159
|
|
|
5160
|
-
function validate$
|
|
5160
|
+
function validate$V(obj, path = 'ValidateCartOutputRepresentation') {
|
|
5161
5161
|
const v_error = (() => {
|
|
5162
5162
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5163
5163
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5171,7 +5171,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5171
5171
|
for (let i = 0; i < obj_attributeErrors.length; i++) {
|
|
5172
5172
|
const obj_attributeErrors_item = obj_attributeErrors[i];
|
|
5173
5173
|
const path_attributeErrors_item = path_attributeErrors + '[' + i + ']';
|
|
5174
|
-
const referencepath_attributeErrors_itemValidationError = validate$
|
|
5174
|
+
const referencepath_attributeErrors_itemValidationError = validate$W(obj_attributeErrors_item, path_attributeErrors_item);
|
|
5175
5175
|
if (referencepath_attributeErrors_itemValidationError !== null) {
|
|
5176
5176
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_attributeErrors_item + '")\n';
|
|
5177
5177
|
message += referencepath_attributeErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5188,7 +5188,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5188
5188
|
for (let i = 0; i < obj_breErrors.length; i++) {
|
|
5189
5189
|
const obj_breErrors_item = obj_breErrors[i];
|
|
5190
5190
|
const path_breErrors_item = path_breErrors + '[' + i + ']';
|
|
5191
|
-
const referencepath_breErrors_itemValidationError = validate$
|
|
5191
|
+
const referencepath_breErrors_itemValidationError = validate$W(obj_breErrors_item, path_breErrors_item);
|
|
5192
5192
|
if (referencepath_breErrors_itemValidationError !== null) {
|
|
5193
5193
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_breErrors_item + '")\n';
|
|
5194
5194
|
message += referencepath_breErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5205,7 +5205,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5205
5205
|
for (let i = 0; i < obj_cardinalityErrors.length; i++) {
|
|
5206
5206
|
const obj_cardinalityErrors_item = obj_cardinalityErrors[i];
|
|
5207
5207
|
const path_cardinalityErrors_item = path_cardinalityErrors + '[' + i + ']';
|
|
5208
|
-
const referencepath_cardinalityErrors_itemValidationError = validate$
|
|
5208
|
+
const referencepath_cardinalityErrors_itemValidationError = validate$W(obj_cardinalityErrors_item, path_cardinalityErrors_item);
|
|
5209
5209
|
if (referencepath_cardinalityErrors_itemValidationError !== null) {
|
|
5210
5210
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_cardinalityErrors_item + '")\n';
|
|
5211
5211
|
message += referencepath_cardinalityErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5226,14 +5226,14 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5226
5226
|
|
|
5227
5227
|
const TTL$d = 1000;
|
|
5228
5228
|
const VERSION$d = "b0d6081a9f20773285c8aeb2e715ead3";
|
|
5229
|
-
function validate$
|
|
5229
|
+
function validate$U(obj, path = 'UpdateCartOutputRepresentation') {
|
|
5230
5230
|
const v_error = (() => {
|
|
5231
5231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5232
5232
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5233
5233
|
}
|
|
5234
5234
|
const obj_apiStatus = obj.apiStatus;
|
|
5235
5235
|
const path_apiStatus = path + '.apiStatus';
|
|
5236
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5236
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5237
5237
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5238
5238
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5239
5239
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5241,7 +5241,7 @@ function validate$T(obj, path = 'UpdateCartOutputRepresentation') {
|
|
|
5241
5241
|
}
|
|
5242
5242
|
const obj_validationResults = obj.validationResults;
|
|
5243
5243
|
const path_validationResults = path + '.validationResults';
|
|
5244
|
-
const referencepath_validationResultsValidationError = validate$
|
|
5244
|
+
const referencepath_validationResultsValidationError = validate$V(obj_validationResults, path_validationResults);
|
|
5245
5245
|
if (referencepath_validationResultsValidationError !== null) {
|
|
5246
5246
|
let message = 'Object doesn\'t match ValidateCartOutputRepresentation (at "' + path_validationResults + '")\n';
|
|
5247
5247
|
message += referencepath_validationResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5279,7 +5279,7 @@ function equals$d(existing, incoming) {
|
|
|
5279
5279
|
}
|
|
5280
5280
|
const ingest$d = function UpdateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5281
5281
|
if (process.env.NODE_ENV !== 'production') {
|
|
5282
|
-
const validateError = validate$
|
|
5282
|
+
const validateError = validate$U(input);
|
|
5283
5283
|
if (validateError !== null) {
|
|
5284
5284
|
throw validateError;
|
|
5285
5285
|
}
|
|
@@ -5347,7 +5347,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5347
5347
|
const config = {};
|
|
5348
5348
|
typeCheckConfig$r(untrustedConfig, config, updateCart_ConfigPropertyMetadata);
|
|
5349
5349
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5350
|
-
const referenceUpdateCartInputRepresentationValidationError = validate$
|
|
5350
|
+
const referenceUpdateCartInputRepresentationValidationError = validate$X(untrustedConfig_requestBody);
|
|
5351
5351
|
if (referenceUpdateCartInputRepresentationValidationError === null) {
|
|
5352
5352
|
config.requestBody = untrustedConfig_requestBody;
|
|
5353
5353
|
}
|
|
@@ -5395,7 +5395,7 @@ const updateCartAdapterFactory = (luvio) => {
|
|
|
5395
5395
|
};
|
|
5396
5396
|
};
|
|
5397
5397
|
|
|
5398
|
-
function validate$
|
|
5398
|
+
function validate$T(obj, path = 'UpdateCartItemsInputRepresentation') {
|
|
5399
5399
|
const v_error = (() => {
|
|
5400
5400
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5401
5401
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5434,14 +5434,14 @@ function validate$S(obj, path = 'UpdateCartItemsInputRepresentation') {
|
|
|
5434
5434
|
|
|
5435
5435
|
const TTL$c = 1000;
|
|
5436
5436
|
const VERSION$c = "7f205594e7cf298b4bee71200afab626";
|
|
5437
|
-
function validate$
|
|
5437
|
+
function validate$S(obj, path = 'UpdateCartItemsOutputRepresentation') {
|
|
5438
5438
|
const v_error = (() => {
|
|
5439
5439
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5440
5440
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5441
5441
|
}
|
|
5442
5442
|
const obj_apiStatus = obj.apiStatus;
|
|
5443
5443
|
const path_apiStatus = path + '.apiStatus';
|
|
5444
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5444
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5445
5445
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5446
5446
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5447
5447
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5486,7 +5486,7 @@ function equals$c(existing, incoming) {
|
|
|
5486
5486
|
}
|
|
5487
5487
|
const ingest$c = function UpdateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5488
5488
|
if (process.env.NODE_ENV !== 'production') {
|
|
5489
|
-
const validateError = validate$
|
|
5489
|
+
const validateError = validate$S(input);
|
|
5490
5490
|
if (validateError !== null) {
|
|
5491
5491
|
throw validateError;
|
|
5492
5492
|
}
|
|
@@ -5554,7 +5554,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
5554
5554
|
const config = {};
|
|
5555
5555
|
typeCheckConfig$r(untrustedConfig, config, updateCartItems_ConfigPropertyMetadata);
|
|
5556
5556
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5557
|
-
const referenceUpdateCartItemsInputRepresentationValidationError = validate$
|
|
5557
|
+
const referenceUpdateCartItemsInputRepresentationValidationError = validate$T(untrustedConfig_requestBody);
|
|
5558
5558
|
if (referenceUpdateCartItemsInputRepresentationValidationError === null) {
|
|
5559
5559
|
config.requestBody = untrustedConfig_requestBody;
|
|
5560
5560
|
}
|
|
@@ -5602,7 +5602,7 @@ const updateCartItemsAdapterFactory = (luvio) => {
|
|
|
5602
5602
|
};
|
|
5603
5603
|
};
|
|
5604
5604
|
|
|
5605
|
-
function validate$
|
|
5605
|
+
function validate$R(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
5606
5606
|
const v_error = (() => {
|
|
5607
5607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5608
5608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5641,14 +5641,14 @@ function validate$Q(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
|
5641
5641
|
|
|
5642
5642
|
const TTL$b = 1000;
|
|
5643
5643
|
const VERSION$b = "34153309b079451754e6d3fbf85bb8bd";
|
|
5644
|
-
function validate$
|
|
5644
|
+
function validate$Q(obj, path = 'CreateCartItemsOutputRepresentation') {
|
|
5645
5645
|
const v_error = (() => {
|
|
5646
5646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5647
5647
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5648
5648
|
}
|
|
5649
5649
|
const obj_apiStatus = obj.apiStatus;
|
|
5650
5650
|
const path_apiStatus = path + '.apiStatus';
|
|
5651
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5651
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5652
5652
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5653
5653
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5654
5654
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5693,7 +5693,7 @@ function equals$b(existing, incoming) {
|
|
|
5693
5693
|
}
|
|
5694
5694
|
const ingest$b = function CreateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5695
5695
|
if (process.env.NODE_ENV !== 'production') {
|
|
5696
|
-
const validateError = validate$
|
|
5696
|
+
const validateError = validate$Q(input);
|
|
5697
5697
|
if (validateError !== null) {
|
|
5698
5698
|
throw validateError;
|
|
5699
5699
|
}
|
|
@@ -5761,7 +5761,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
5761
5761
|
const config = {};
|
|
5762
5762
|
typeCheckConfig$r(untrustedConfig, config, createCartItems_ConfigPropertyMetadata);
|
|
5763
5763
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5764
|
-
const referenceCreateCartItemsInputRepresentationValidationError = validate$
|
|
5764
|
+
const referenceCreateCartItemsInputRepresentationValidationError = validate$R(untrustedConfig_requestBody);
|
|
5765
5765
|
if (referenceCreateCartItemsInputRepresentationValidationError === null) {
|
|
5766
5766
|
config.requestBody = untrustedConfig_requestBody;
|
|
5767
5767
|
}
|
|
@@ -5809,7 +5809,7 @@ const createCartItemsAdapterFactory = (luvio) => {
|
|
|
5809
5809
|
};
|
|
5810
5810
|
};
|
|
5811
5811
|
|
|
5812
|
-
function validate$
|
|
5812
|
+
function validate$P(obj, path = 'PriceCartInputRepresentation') {
|
|
5813
5813
|
const v_error = (() => {
|
|
5814
5814
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5815
5815
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5848,14 +5848,14 @@ function validate$O(obj, path = 'PriceCartInputRepresentation') {
|
|
|
5848
5848
|
|
|
5849
5849
|
const TTL$a = 1000;
|
|
5850
5850
|
const VERSION$a = "b1e28ba15f534459065f2870a9dc703d";
|
|
5851
|
-
function validate$
|
|
5851
|
+
function validate$O(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
5852
5852
|
const v_error = (() => {
|
|
5853
5853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5854
5854
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5855
5855
|
}
|
|
5856
5856
|
const obj_apiStatus = obj.apiStatus;
|
|
5857
5857
|
const path_apiStatus = path + '.apiStatus';
|
|
5858
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5858
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5859
5859
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5860
5860
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5861
5861
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5877,7 +5877,7 @@ function validate$N(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
|
5877
5877
|
for (let i = 0; i < obj_cartPricingTotals.length; i++) {
|
|
5878
5878
|
const obj_cartPricingTotals_item = obj_cartPricingTotals[i];
|
|
5879
5879
|
const path_cartPricingTotals_item = path_cartPricingTotals + '[' + i + ']';
|
|
5880
|
-
const referencepath_cartPricingTotals_itemValidationError = validate$
|
|
5880
|
+
const referencepath_cartPricingTotals_itemValidationError = validate$Z(obj_cartPricingTotals_item, path_cartPricingTotals_item);
|
|
5881
5881
|
if (referencepath_cartPricingTotals_itemValidationError !== null) {
|
|
5882
5882
|
let message = 'Object doesn\'t match PricingTotalOutputRepresentation (at "' + path_cartPricingTotals_item + '")\n';
|
|
5883
5883
|
message += referencepath_cartPricingTotals_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5917,7 +5917,7 @@ function equals$a(existing, incoming) {
|
|
|
5917
5917
|
}
|
|
5918
5918
|
const ingest$a = function CartPricingTotalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5919
5919
|
if (process.env.NODE_ENV !== 'production') {
|
|
5920
|
-
const validateError = validate$
|
|
5920
|
+
const validateError = validate$O(input);
|
|
5921
5921
|
if (validateError !== null) {
|
|
5922
5922
|
throw validateError;
|
|
5923
5923
|
}
|
|
@@ -5985,7 +5985,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
5985
5985
|
const config = {};
|
|
5986
5986
|
typeCheckConfig$r(untrustedConfig, config, priceCart_ConfigPropertyMetadata);
|
|
5987
5987
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5988
|
-
const referencePriceCartInputRepresentationValidationError = validate$
|
|
5988
|
+
const referencePriceCartInputRepresentationValidationError = validate$P(untrustedConfig_requestBody);
|
|
5989
5989
|
if (referencePriceCartInputRepresentationValidationError === null) {
|
|
5990
5990
|
config.requestBody = untrustedConfig_requestBody;
|
|
5991
5991
|
}
|
|
@@ -6033,7 +6033,7 @@ const priceCartAdapterFactory = (luvio) => {
|
|
|
6033
6033
|
};
|
|
6034
6034
|
};
|
|
6035
6035
|
|
|
6036
|
-
function validate$
|
|
6036
|
+
function validate$N(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
6037
6037
|
const v_error = (() => {
|
|
6038
6038
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6039
6039
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6061,7 +6061,7 @@ function validate$M(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
|
6061
6061
|
return v_error === undefined ? null : v_error;
|
|
6062
6062
|
}
|
|
6063
6063
|
|
|
6064
|
-
function validate$
|
|
6064
|
+
function validate$M(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
6065
6065
|
const v_error = (() => {
|
|
6066
6066
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6067
6067
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6126,7 +6126,7 @@ function validate$L(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
|
6126
6126
|
return v_error === undefined ? null : v_error;
|
|
6127
6127
|
}
|
|
6128
6128
|
|
|
6129
|
-
function validate$
|
|
6129
|
+
function validate$L(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
6130
6130
|
const v_error = (() => {
|
|
6131
6131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6132
6132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6149,7 +6149,7 @@ function validate$K(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
|
6149
6149
|
return v_error === undefined ? null : v_error;
|
|
6150
6150
|
}
|
|
6151
6151
|
|
|
6152
|
-
function validate$
|
|
6152
|
+
function validate$K(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
6153
6153
|
const v_error = (() => {
|
|
6154
6154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6155
6155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6177,7 +6177,7 @@ function validate$J(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
|
6177
6177
|
return v_error === undefined ? null : v_error;
|
|
6178
6178
|
}
|
|
6179
6179
|
|
|
6180
|
-
function validate$
|
|
6180
|
+
function validate$J(obj, path = 'ConfiguratorInputRepresentation') {
|
|
6181
6181
|
const v_error = (() => {
|
|
6182
6182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6183
6183
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6191,7 +6191,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6191
6191
|
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
6192
6192
|
const obj_addedNodes_item = obj_addedNodes[i];
|
|
6193
6193
|
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
6194
|
-
const referencepath_addedNodes_itemValidationError = validate$
|
|
6194
|
+
const referencepath_addedNodes_itemValidationError = validate$N(obj_addedNodes_item, path_addedNodes_item);
|
|
6195
6195
|
if (referencepath_addedNodes_itemValidationError !== null) {
|
|
6196
6196
|
let message = 'Object doesn\'t match ConfiguratorAddedNodeInputRepresentation (at "' + path_addedNodes_item + '")\n';
|
|
6197
6197
|
message += referencepath_addedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6202,7 +6202,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6202
6202
|
if (obj.configuratorOptions !== undefined) {
|
|
6203
6203
|
const obj_configuratorOptions = obj.configuratorOptions;
|
|
6204
6204
|
const path_configuratorOptions = path + '.configuratorOptions';
|
|
6205
|
-
const referencepath_configuratorOptionsValidationError = validate$
|
|
6205
|
+
const referencepath_configuratorOptionsValidationError = validate$M(obj_configuratorOptions, path_configuratorOptions);
|
|
6206
6206
|
if (referencepath_configuratorOptionsValidationError !== null) {
|
|
6207
6207
|
let message = 'Object doesn\'t match ConfiguratorOptionsInputRepresentation (at "' + path_configuratorOptions + '")\n';
|
|
6208
6208
|
message += referencepath_configuratorOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6267,7 +6267,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6267
6267
|
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
6268
6268
|
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
6269
6269
|
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
6270
|
-
const referencepath_deletedNodes_itemValidationError = validate$
|
|
6270
|
+
const referencepath_deletedNodes_itemValidationError = validate$L(obj_deletedNodes_item, path_deletedNodes_item);
|
|
6271
6271
|
if (referencepath_deletedNodes_itemValidationError !== null) {
|
|
6272
6272
|
let message = 'Object doesn\'t match ConfiguratorDeletedNodeInputRepresentation (at "' + path_deletedNodes_item + '")\n';
|
|
6273
6273
|
message += referencepath_deletedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6375,7 +6375,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6375
6375
|
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
6376
6376
|
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
6377
6377
|
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
6378
|
-
const referencepath_updatedNodes_itemValidationError = validate$
|
|
6378
|
+
const referencepath_updatedNodes_itemValidationError = validate$K(obj_updatedNodes_item, path_updatedNodes_item);
|
|
6379
6379
|
if (referencepath_updatedNodes_itemValidationError !== null) {
|
|
6380
6380
|
let message = 'Object doesn\'t match ConfiguratorUpdatedNodeInputRepresentation (at "' + path_updatedNodes_item + '")\n';
|
|
6381
6381
|
message += referencepath_updatedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6387,7 +6387,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6387
6387
|
return v_error === undefined ? null : v_error;
|
|
6388
6388
|
}
|
|
6389
6389
|
|
|
6390
|
-
function validate$
|
|
6390
|
+
function validate$I(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentation') {
|
|
6391
6391
|
const v_error = (() => {
|
|
6392
6392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6393
6393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6424,7 +6424,7 @@ function validate$H(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentatio
|
|
|
6424
6424
|
return v_error === undefined ? null : v_error;
|
|
6425
6425
|
}
|
|
6426
6426
|
|
|
6427
|
-
function validate$
|
|
6427
|
+
function validate$H(obj, path = 'ConfiguratorAttributePicklistValueOutputRepresentation') {
|
|
6428
6428
|
const v_error = (() => {
|
|
6429
6429
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6430
6430
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6503,7 +6503,7 @@ function validate$G(obj, path = 'ConfiguratorAttributePicklistValueOutputReprese
|
|
|
6503
6503
|
return v_error === undefined ? null : v_error;
|
|
6504
6504
|
}
|
|
6505
6505
|
|
|
6506
|
-
function validate$
|
|
6506
|
+
function validate$G(obj, path = 'ConfiguratorAttributePicklistOutputRepresentation') {
|
|
6507
6507
|
const v_error = (() => {
|
|
6508
6508
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6509
6509
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6545,7 +6545,7 @@ function validate$F(obj, path = 'ConfiguratorAttributePicklistOutputRepresentati
|
|
|
6545
6545
|
for (let i = 0; i < obj_values.length; i++) {
|
|
6546
6546
|
const obj_values_item = obj_values[i];
|
|
6547
6547
|
const path_values_item = path_values + '[' + i + ']';
|
|
6548
|
-
const referencepath_values_itemValidationError = validate$
|
|
6548
|
+
const referencepath_values_itemValidationError = validate$H(obj_values_item, path_values_item);
|
|
6549
6549
|
if (referencepath_values_itemValidationError !== null) {
|
|
6550
6550
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
6551
6551
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6557,7 +6557,7 @@ function validate$F(obj, path = 'ConfiguratorAttributePicklistOutputRepresentati
|
|
|
6557
6557
|
return v_error === undefined ? null : v_error;
|
|
6558
6558
|
}
|
|
6559
6559
|
|
|
6560
|
-
function validate$
|
|
6560
|
+
function validate$F(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation') {
|
|
6561
6561
|
const v_error = (() => {
|
|
6562
6562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6563
6563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6601,7 +6601,7 @@ function validate$E(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation')
|
|
|
6601
6601
|
return v_error === undefined ? null : v_error;
|
|
6602
6602
|
}
|
|
6603
6603
|
|
|
6604
|
-
function validate$
|
|
6604
|
+
function validate$E(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
6605
6605
|
const v_error = (() => {
|
|
6606
6606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6607
6607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6623,7 +6623,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6623
6623
|
if (obj.attributePicklist !== undefined) {
|
|
6624
6624
|
const obj_attributePicklist = obj.attributePicklist;
|
|
6625
6625
|
const path_attributePicklist = path + '.attributePicklist';
|
|
6626
|
-
const referencepath_attributePicklistValidationError = validate$
|
|
6626
|
+
const referencepath_attributePicklistValidationError = validate$G(obj_attributePicklist, path_attributePicklist);
|
|
6627
6627
|
if (referencepath_attributePicklistValidationError !== null) {
|
|
6628
6628
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistOutputRepresentation (at "' + path_attributePicklist + '")\n';
|
|
6629
6629
|
message += referencepath_attributePicklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6780,7 +6780,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6780
6780
|
if (obj.unitOfMeasure !== undefined) {
|
|
6781
6781
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
6782
6782
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
6783
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
6783
|
+
const referencepath_unitOfMeasureValidationError = validate$F(obj_unitOfMeasure, path_unitOfMeasure);
|
|
6784
6784
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
6785
6785
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
6786
6786
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6812,7 +6812,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6812
6812
|
return v_error === undefined ? null : v_error;
|
|
6813
6813
|
}
|
|
6814
6814
|
|
|
6815
|
-
function validate$
|
|
6815
|
+
function validate$D(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentation') {
|
|
6816
6816
|
const v_error = (() => {
|
|
6817
6817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6818
6818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6826,7 +6826,7 @@ function validate$C(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentati
|
|
|
6826
6826
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
6827
6827
|
const obj_attributes_item = obj_attributes[i];
|
|
6828
6828
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
6829
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
6829
|
+
const referencepath_attributes_itemValidationError = validate$E(obj_attributes_item, path_attributes_item);
|
|
6830
6830
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
6831
6831
|
let message = 'Object doesn\'t match ConfiguratorAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
6832
6832
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6887,7 +6887,7 @@ function validate$C(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentati
|
|
|
6887
6887
|
return v_error === undefined ? null : v_error;
|
|
6888
6888
|
}
|
|
6889
6889
|
|
|
6890
|
-
function validate$
|
|
6890
|
+
function validate$C(obj, path = 'ConfiguratorPricingModelOutputRepresentation') {
|
|
6891
6891
|
const v_error = (() => {
|
|
6892
6892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6893
6893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6938,7 +6938,7 @@ function validate$B(obj, path = 'ConfiguratorPricingModelOutputRepresentation')
|
|
|
6938
6938
|
return v_error === undefined ? null : v_error;
|
|
6939
6939
|
}
|
|
6940
6940
|
|
|
6941
|
-
function validate$
|
|
6941
|
+
function validate$B(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
6942
6942
|
const v_error = (() => {
|
|
6943
6943
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6944
6944
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7002,7 +7002,7 @@ function validate$A(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
7002
7002
|
if (obj.pricingModel !== undefined) {
|
|
7003
7003
|
const obj_pricingModel = obj.pricingModel;
|
|
7004
7004
|
const path_pricingModel = path + '.pricingModel';
|
|
7005
|
-
const referencepath_pricingModelValidationError = validate$
|
|
7005
|
+
const referencepath_pricingModelValidationError = validate$C(obj_pricingModel, path_pricingModel);
|
|
7006
7006
|
if (referencepath_pricingModelValidationError !== null) {
|
|
7007
7007
|
let message = 'Object doesn\'t match ConfiguratorPricingModelOutputRepresentation (at "' + path_pricingModel + '")\n';
|
|
7008
7008
|
message += referencepath_pricingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7016,7 +7016,7 @@ function validate$A(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
7016
7016
|
return v_error === undefined ? null : v_error;
|
|
7017
7017
|
}
|
|
7018
7018
|
|
|
7019
|
-
function validate$
|
|
7019
|
+
function validate$A(obj, path = 'ConfiguratorProductClassificationOutputRepresentation') {
|
|
7020
7020
|
const v_error = (() => {
|
|
7021
7021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7022
7022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7032,7 +7032,7 @@ function validate$z(obj, path = 'ConfiguratorProductClassificationOutputRepresen
|
|
|
7032
7032
|
return v_error === undefined ? null : v_error;
|
|
7033
7033
|
}
|
|
7034
7034
|
|
|
7035
|
-
function validate$
|
|
7035
|
+
function validate$z(obj, path = 'ConfiguratorProductComponentGroupOutputRepresentation') {
|
|
7036
7036
|
const v_error = (() => {
|
|
7037
7037
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7038
7038
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7046,7 +7046,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7046
7046
|
for (let i = 0; i < obj_childGroups.length; i++) {
|
|
7047
7047
|
const obj_childGroups_item = obj_childGroups[i];
|
|
7048
7048
|
const path_childGroups_item = path_childGroups + '[' + i + ']';
|
|
7049
|
-
const referencepath_childGroups_itemValidationError = validate$
|
|
7049
|
+
const referencepath_childGroups_itemValidationError = validate$z(obj_childGroups_item, path_childGroups_item);
|
|
7050
7050
|
if (referencepath_childGroups_itemValidationError !== null) {
|
|
7051
7051
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_childGroups_item + '")\n';
|
|
7052
7052
|
message += referencepath_childGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7063,7 +7063,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7063
7063
|
for (let i = 0; i < obj_classifications.length; i++) {
|
|
7064
7064
|
const obj_classifications_item = obj_classifications[i];
|
|
7065
7065
|
const path_classifications_item = path_classifications + '[' + i + ']';
|
|
7066
|
-
const referencepath_classifications_itemValidationError = validate$
|
|
7066
|
+
const referencepath_classifications_itemValidationError = validate$A(obj_classifications_item, path_classifications_item);
|
|
7067
7067
|
if (referencepath_classifications_itemValidationError !== null) {
|
|
7068
7068
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_classifications_item + '")\n';
|
|
7069
7069
|
message += referencepath_classifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7087,7 +7087,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7087
7087
|
for (let i = 0; i < obj_components.length; i++) {
|
|
7088
7088
|
const obj_components_item = obj_components[i];
|
|
7089
7089
|
const path_components_item = path_components + '[' + i + ']';
|
|
7090
|
-
const referencepath_components_itemValidationError = validate$
|
|
7090
|
+
const referencepath_components_itemValidationError = validate$u(obj_components_item, path_components_item);
|
|
7091
7091
|
if (referencepath_components_itemValidationError !== null) {
|
|
7092
7092
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_components_item + '")\n';
|
|
7093
7093
|
message += referencepath_components_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7155,7 +7155,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7155
7155
|
return v_error === undefined ? null : v_error;
|
|
7156
7156
|
}
|
|
7157
7157
|
|
|
7158
|
-
function validate$
|
|
7158
|
+
function validate$y(obj, path = 'ConfiguratorProductRelatedComponentOutputRepresentation') {
|
|
7159
7159
|
const v_error = (() => {
|
|
7160
7160
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7161
7161
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7270,7 +7270,7 @@ function validate$x(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
7270
7270
|
if (obj.unitOfMeasure !== undefined) {
|
|
7271
7271
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
7272
7272
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
7273
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
7273
|
+
const referencepath_unitOfMeasureValidationError = validate$F(obj_unitOfMeasure, path_unitOfMeasure);
|
|
7274
7274
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
7275
7275
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
7276
7276
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7281,7 +7281,7 @@ function validate$x(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
7281
7281
|
return v_error === undefined ? null : v_error;
|
|
7282
7282
|
}
|
|
7283
7283
|
|
|
7284
|
-
function validate$
|
|
7284
|
+
function validate$x(obj, path = 'ConfiguratorProductSellingModelOutputRepresentation') {
|
|
7285
7285
|
const v_error = (() => {
|
|
7286
7286
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7287
7287
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7332,7 +7332,7 @@ function validate$w(obj, path = 'ConfiguratorProductSellingModelOutputRepresenta
|
|
|
7332
7332
|
return v_error === undefined ? null : v_error;
|
|
7333
7333
|
}
|
|
7334
7334
|
|
|
7335
|
-
function validate$
|
|
7335
|
+
function validate$w(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepresentation') {
|
|
7336
7336
|
const v_error = (() => {
|
|
7337
7337
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7338
7338
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7354,7 +7354,7 @@ function validate$v(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
7354
7354
|
if (obj.productSellingModel !== undefined) {
|
|
7355
7355
|
const obj_productSellingModel = obj.productSellingModel;
|
|
7356
7356
|
const path_productSellingModel = path + '.productSellingModel';
|
|
7357
|
-
const referencepath_productSellingModelValidationError = validate$
|
|
7357
|
+
const referencepath_productSellingModelValidationError = validate$x(obj_productSellingModel, path_productSellingModel);
|
|
7358
7358
|
if (referencepath_productSellingModelValidationError !== null) {
|
|
7359
7359
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOutputRepresentation (at "' + path_productSellingModel + '")\n';
|
|
7360
7360
|
message += referencepath_productSellingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7372,7 +7372,7 @@ function validate$v(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
7372
7372
|
return v_error === undefined ? null : v_error;
|
|
7373
7373
|
}
|
|
7374
7374
|
|
|
7375
|
-
function validate$
|
|
7375
|
+
function validate$v(obj, path = 'ConfiguratorQualificationContextOutputRepresentation') {
|
|
7376
7376
|
const v_error = (() => {
|
|
7377
7377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7378
7378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7395,7 +7395,7 @@ function validate$u(obj, path = 'ConfiguratorQualificationContextOutputRepresent
|
|
|
7395
7395
|
return v_error === undefined ? null : v_error;
|
|
7396
7396
|
}
|
|
7397
7397
|
|
|
7398
|
-
function validate$
|
|
7398
|
+
function validate$u(obj, path = 'ConfiguratorProductCatalogOutputRepresentation') {
|
|
7399
7399
|
const v_error = (() => {
|
|
7400
7400
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7401
7401
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7409,7 +7409,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7409
7409
|
for (let i = 0; i < obj_additionalFields.length; i++) {
|
|
7410
7410
|
const obj_additionalFields_item = obj_additionalFields[i];
|
|
7411
7411
|
const path_additionalFields_item = path_additionalFields + '[' + i + ']';
|
|
7412
|
-
const referencepath_additionalFields_itemValidationError = validate$
|
|
7412
|
+
const referencepath_additionalFields_itemValidationError = validate$I(obj_additionalFields_item, path_additionalFields_item);
|
|
7413
7413
|
if (referencepath_additionalFields_itemValidationError !== null) {
|
|
7414
7414
|
let message = 'Object doesn\'t match ConfiguratorAdditionalFieldsOutputRepresentation (at "' + path_additionalFields_item + '")\n';
|
|
7415
7415
|
message += referencepath_additionalFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7426,7 +7426,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7426
7426
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
7427
7427
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
7428
7428
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
7429
|
-
const referencepath_attributeCategories_itemValidationError = validate$
|
|
7429
|
+
const referencepath_attributeCategories_itemValidationError = validate$D(obj_attributeCategories_item, path_attributeCategories_item);
|
|
7430
7430
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
7431
7431
|
let message = 'Object doesn\'t match ConfiguratorAttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
7432
7432
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7548,7 +7548,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7548
7548
|
for (let i = 0; i < obj_prices.length; i++) {
|
|
7549
7549
|
const obj_prices_item = obj_prices[i];
|
|
7550
7550
|
const path_prices_item = path_prices + '[' + i + ']';
|
|
7551
|
-
const referencepath_prices_itemValidationError = validate$
|
|
7551
|
+
const referencepath_prices_itemValidationError = validate$B(obj_prices_item, path_prices_item);
|
|
7552
7552
|
if (referencepath_prices_itemValidationError !== null) {
|
|
7553
7553
|
let message = 'Object doesn\'t match ConfiguratorPriceOutputRepresentation (at "' + path_prices_item + '")\n';
|
|
7554
7554
|
message += referencepath_prices_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7559,7 +7559,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7559
7559
|
if (obj.productClassification !== undefined) {
|
|
7560
7560
|
const obj_productClassification = obj.productClassification;
|
|
7561
7561
|
const path_productClassification = path + '.productClassification';
|
|
7562
|
-
const referencepath_productClassificationValidationError = validate$
|
|
7562
|
+
const referencepath_productClassificationValidationError = validate$A(obj_productClassification, path_productClassification);
|
|
7563
7563
|
if (referencepath_productClassificationValidationError !== null) {
|
|
7564
7564
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
|
|
7565
7565
|
message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7582,7 +7582,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7582
7582
|
for (let i = 0; i < obj_productComponentGroups.length; i++) {
|
|
7583
7583
|
const obj_productComponentGroups_item = obj_productComponentGroups[i];
|
|
7584
7584
|
const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
|
|
7585
|
-
const referencepath_productComponentGroups_itemValidationError = validate$
|
|
7585
|
+
const referencepath_productComponentGroups_itemValidationError = validate$z(obj_productComponentGroups_item, path_productComponentGroups_item);
|
|
7586
7586
|
if (referencepath_productComponentGroups_itemValidationError !== null) {
|
|
7587
7587
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
|
|
7588
7588
|
message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7593,7 +7593,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7593
7593
|
if (obj.productRelatedComponent !== undefined) {
|
|
7594
7594
|
const obj_productRelatedComponent = obj.productRelatedComponent;
|
|
7595
7595
|
const path_productRelatedComponent = path + '.productRelatedComponent';
|
|
7596
|
-
const referencepath_productRelatedComponentValidationError = validate$
|
|
7596
|
+
const referencepath_productRelatedComponentValidationError = validate$y(obj_productRelatedComponent, path_productRelatedComponent);
|
|
7597
7597
|
if (referencepath_productRelatedComponentValidationError !== null) {
|
|
7598
7598
|
let message = 'Object doesn\'t match ConfiguratorProductRelatedComponentOutputRepresentation (at "' + path_productRelatedComponent + '")\n';
|
|
7599
7599
|
message += referencepath_productRelatedComponentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7609,7 +7609,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7609
7609
|
for (let i = 0; i < obj_productSellingModelOptions.length; i++) {
|
|
7610
7610
|
const obj_productSellingModelOptions_item = obj_productSellingModelOptions[i];
|
|
7611
7611
|
const path_productSellingModelOptions_item = path_productSellingModelOptions + '[' + i + ']';
|
|
7612
|
-
const referencepath_productSellingModelOptions_itemValidationError = validate$
|
|
7612
|
+
const referencepath_productSellingModelOptions_itemValidationError = validate$w(obj_productSellingModelOptions_item, path_productSellingModelOptions_item);
|
|
7613
7613
|
if (referencepath_productSellingModelOptions_itemValidationError !== null) {
|
|
7614
7614
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOptionOutputRepresentation (at "' + path_productSellingModelOptions_item + '")\n';
|
|
7615
7615
|
message += referencepath_productSellingModelOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7634,7 +7634,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7634
7634
|
if (obj.qualificationContext !== undefined) {
|
|
7635
7635
|
const obj_qualificationContext = obj.qualificationContext;
|
|
7636
7636
|
const path_qualificationContext = path + '.qualificationContext';
|
|
7637
|
-
const referencepath_qualificationContextValidationError = validate$
|
|
7637
|
+
const referencepath_qualificationContextValidationError = validate$v(obj_qualificationContext, path_qualificationContext);
|
|
7638
7638
|
if (referencepath_qualificationContextValidationError !== null) {
|
|
7639
7639
|
let message = 'Object doesn\'t match ConfiguratorQualificationContextOutputRepresentation (at "' + path_qualificationContext + '")\n';
|
|
7640
7640
|
message += referencepath_qualificationContextValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7651,7 +7651,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7651
7651
|
if (obj.unitOfMeasure !== undefined) {
|
|
7652
7652
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
7653
7653
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
7654
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
7654
|
+
const referencepath_unitOfMeasureValidationError = validate$F(obj_unitOfMeasure, path_unitOfMeasure);
|
|
7655
7655
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
7656
7656
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
7657
7657
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7664,7 +7664,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7664
7664
|
|
|
7665
7665
|
const TTL$9 = 1000;
|
|
7666
7666
|
const VERSION$9 = "2b964fefc1aca8e13065fe8adf646aac";
|
|
7667
|
-
function validate$
|
|
7667
|
+
function validate$t(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
7668
7668
|
const v_error = (() => {
|
|
7669
7669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7670
7670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7678,7 +7678,7 @@ function validate$s(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
|
7678
7678
|
for (let i = 0; i < obj_catalogProducts.length; i++) {
|
|
7679
7679
|
const obj_catalogProducts_item = obj_catalogProducts[i];
|
|
7680
7680
|
const path_catalogProducts_item = path_catalogProducts + '[' + i + ']';
|
|
7681
|
-
const referencepath_catalogProducts_itemValidationError = validate$
|
|
7681
|
+
const referencepath_catalogProducts_itemValidationError = validate$u(obj_catalogProducts_item, path_catalogProducts_item);
|
|
7682
7682
|
if (referencepath_catalogProducts_itemValidationError !== null) {
|
|
7683
7683
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_catalogProducts_item + '")\n';
|
|
7684
7684
|
message += referencepath_catalogProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7786,7 +7786,7 @@ function equals$9(existing, incoming) {
|
|
|
7786
7786
|
}
|
|
7787
7787
|
const ingest$9 = function ConfiguratorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7788
7788
|
if (process.env.NODE_ENV !== 'production') {
|
|
7789
|
-
const validateError = validate$
|
|
7789
|
+
const validateError = validate$t(input);
|
|
7790
7790
|
if (validateError !== null) {
|
|
7791
7791
|
throw validateError;
|
|
7792
7792
|
}
|
|
@@ -7852,7 +7852,7 @@ const createResourceParams$b = /*#__PURE__*/ createResourceParams$r(configure_Co
|
|
|
7852
7852
|
function typeCheckConfig$b(untrustedConfig) {
|
|
7853
7853
|
const config = {};
|
|
7854
7854
|
const untrustedConfig_configuratorInput = untrustedConfig.configuratorInput;
|
|
7855
|
-
const referenceConfiguratorInputRepresentationValidationError = validate$
|
|
7855
|
+
const referenceConfiguratorInputRepresentationValidationError = validate$J(untrustedConfig_configuratorInput);
|
|
7856
7856
|
if (referenceConfiguratorInputRepresentationValidationError === null) {
|
|
7857
7857
|
config.configuratorInput = untrustedConfig_configuratorInput;
|
|
7858
7858
|
}
|
|
@@ -7902,7 +7902,7 @@ const configureAdapterFactory = (luvio) => {
|
|
|
7902
7902
|
|
|
7903
7903
|
const TTL$8 = 1000;
|
|
7904
7904
|
const VERSION$8 = "8e3c9e65f1fddd951abbd11521a4b723";
|
|
7905
|
-
function validate$
|
|
7905
|
+
function validate$s(obj, path = 'ConfiguratorRuleOutputRepresentation') {
|
|
7906
7906
|
const v_error = (() => {
|
|
7907
7907
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7908
7908
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7986,7 +7986,7 @@ function equals$8(existing, incoming) {
|
|
|
7986
7986
|
}
|
|
7987
7987
|
const ingest$8 = function ConfiguratorRuleOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7988
7988
|
if (process.env.NODE_ENV !== 'production') {
|
|
7989
|
-
const validateError = validate$
|
|
7989
|
+
const validateError = validate$s(input);
|
|
7990
7990
|
if (validateError !== null) {
|
|
7991
7991
|
throw validateError;
|
|
7992
7992
|
}
|
|
@@ -8290,7 +8290,7 @@ const updateRuleAdapterFactory = (luvio) => {
|
|
|
8290
8290
|
|
|
8291
8291
|
const TTL$7 = 1000;
|
|
8292
8292
|
const VERSION$7 = "1be371071f697a9043a29a27c23d89f4";
|
|
8293
|
-
function validate$
|
|
8293
|
+
function validate$r(obj, path = 'ConfiguratorRuleValidatorOutputRepresentation') {
|
|
8294
8294
|
const v_error = (() => {
|
|
8295
8295
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8296
8296
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8344,7 +8344,7 @@ function equals$7(existing, incoming) {
|
|
|
8344
8344
|
}
|
|
8345
8345
|
const ingest$7 = function ConfiguratorRuleValidatorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8346
8346
|
if (process.env.NODE_ENV !== 'production') {
|
|
8347
|
-
const validateError = validate$
|
|
8347
|
+
const validateError = validate$r(input);
|
|
8348
8348
|
if (validateError !== null) {
|
|
8349
8349
|
throw validateError;
|
|
8350
8350
|
}
|
|
@@ -8456,7 +8456,7 @@ const validateRuleAdapterFactory = (luvio) => {
|
|
|
8456
8456
|
|
|
8457
8457
|
const TTL$6 = 1000;
|
|
8458
8458
|
const VERSION$6 = "6bce26088e4b8564d9ee7c02403d414b";
|
|
8459
|
-
function validate$
|
|
8459
|
+
function validate$q(obj, path = 'FavoriteOutputRepresenation') {
|
|
8460
8460
|
const v_error = (() => {
|
|
8461
8461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8462
8462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8518,7 +8518,7 @@ function equals$6(existing, incoming) {
|
|
|
8518
8518
|
}
|
|
8519
8519
|
const ingest$6 = function FavoriteOutputRepresenationIngest(input, path, luvio, store, timestamp) {
|
|
8520
8520
|
if (process.env.NODE_ENV !== 'production') {
|
|
8521
|
-
const validateError = validate$
|
|
8521
|
+
const validateError = validate$q(input);
|
|
8522
8522
|
if (validateError !== null) {
|
|
8523
8523
|
throw validateError;
|
|
8524
8524
|
}
|
|
@@ -8540,7 +8540,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8540
8540
|
|
|
8541
8541
|
const TTL$5 = 1000;
|
|
8542
8542
|
const VERSION$5 = "c521dd2b17ea5e623d9df6f96e19e180";
|
|
8543
|
-
function validate$
|
|
8543
|
+
function validate$p(obj, path = 'FavoriteListOutputRepresenation') {
|
|
8544
8544
|
const v_error = (() => {
|
|
8545
8545
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8546
8546
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8565,7 +8565,7 @@ function validate$o(obj, path = 'FavoriteListOutputRepresenation') {
|
|
|
8565
8565
|
for (let i = 0; i < obj_savedConfigurations.length; i++) {
|
|
8566
8566
|
const obj_savedConfigurations_item = obj_savedConfigurations[i];
|
|
8567
8567
|
const path_savedConfigurations_item = path_savedConfigurations + '[' + i + ']';
|
|
8568
|
-
const referencepath_savedConfigurations_itemValidationError = validate$
|
|
8568
|
+
const referencepath_savedConfigurations_itemValidationError = validate$q(obj_savedConfigurations_item, path_savedConfigurations_item);
|
|
8569
8569
|
if (referencepath_savedConfigurations_itemValidationError !== null) {
|
|
8570
8570
|
let message = 'Object doesn\'t match FavoriteOutputRepresenation (at "' + path_savedConfigurations_item + '")\n';
|
|
8571
8571
|
message += referencepath_savedConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8600,7 +8600,7 @@ function equals$5(existing, incoming) {
|
|
|
8600
8600
|
}
|
|
8601
8601
|
const ingest$5 = function FavoriteListOutputRepresenationIngest(input, path, luvio, store, timestamp) {
|
|
8602
8602
|
if (process.env.NODE_ENV !== 'production') {
|
|
8603
|
-
const validateError = validate$
|
|
8603
|
+
const validateError = validate$p(input);
|
|
8604
8604
|
if (validateError !== null) {
|
|
8605
8605
|
throw validateError;
|
|
8606
8606
|
}
|
|
@@ -8760,7 +8760,7 @@ const getFavoriteAdapterFactory = (luvio) => function cpq__getFavorite(untrusted
|
|
|
8760
8760
|
|
|
8761
8761
|
const TTL$4 = 1000;
|
|
8762
8762
|
const VERSION$4 = "09d50a26bf62c8269bab20d873985dd0";
|
|
8763
|
-
function validate$
|
|
8763
|
+
function validate$o(obj, path = 'CreateFavoriteOutputRepresentation') {
|
|
8764
8764
|
const v_error = (() => {
|
|
8765
8765
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8766
8766
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8814,7 +8814,7 @@ function equals$4(existing, incoming) {
|
|
|
8814
8814
|
}
|
|
8815
8815
|
const ingest$4 = function CreateFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8816
8816
|
if (process.env.NODE_ENV !== 'production') {
|
|
8817
|
-
const validateError = validate$
|
|
8817
|
+
const validateError = validate$o(input);
|
|
8818
8818
|
if (validateError !== null) {
|
|
8819
8819
|
throw validateError;
|
|
8820
8820
|
}
|
|
@@ -9153,7 +9153,7 @@ const deleteFavoriteAdapterFactory = (luvio) => {
|
|
|
9153
9153
|
|
|
9154
9154
|
const TTL$3 = 1000;
|
|
9155
9155
|
const VERSION$3 = "8ac618e4f6c114642d00b7e6d113118c";
|
|
9156
|
-
function validate$
|
|
9156
|
+
function validate$n(obj, path = 'UpdateFavoriteOutputRepresentation') {
|
|
9157
9157
|
const v_error = (() => {
|
|
9158
9158
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9159
9159
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9207,7 +9207,7 @@ function equals$3(existing, incoming) {
|
|
|
9207
9207
|
}
|
|
9208
9208
|
const ingest$3 = function UpdateFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9209
9209
|
if (process.env.NODE_ENV !== 'production') {
|
|
9210
|
-
const validateError = validate$
|
|
9210
|
+
const validateError = validate$n(input);
|
|
9211
9211
|
if (validateError !== null) {
|
|
9212
9212
|
throw validateError;
|
|
9213
9213
|
}
|
|
@@ -9322,7 +9322,7 @@ const updateFavoriteAdapterFactory = (luvio) => {
|
|
|
9322
9322
|
|
|
9323
9323
|
const TTL$2 = 1000;
|
|
9324
9324
|
const VERSION$2 = "e6a859c01faf4b8d5c20cdc36dbb5b85";
|
|
9325
|
-
function validate$
|
|
9325
|
+
function validate$m(obj, path = 'ShareFavoriteOutputRepresentation') {
|
|
9326
9326
|
const v_error = (() => {
|
|
9327
9327
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9328
9328
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9376,7 +9376,7 @@ function equals$2(existing, incoming) {
|
|
|
9376
9376
|
}
|
|
9377
9377
|
const ingest$2 = function ShareFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9378
9378
|
if (process.env.NODE_ENV !== 'production') {
|
|
9379
|
-
const validateError = validate$
|
|
9379
|
+
const validateError = validate$m(input);
|
|
9380
9380
|
if (validateError !== null) {
|
|
9381
9381
|
throw validateError;
|
|
9382
9382
|
}
|
|
@@ -9487,6 +9487,22 @@ const shareFavoriteAdapterFactory = (luvio) => {
|
|
|
9487
9487
|
};
|
|
9488
9488
|
};
|
|
9489
9489
|
|
|
9490
|
+
function validate$l(obj, path = 'ConfigRuleOptionsInputRepresentation') {
|
|
9491
|
+
const v_error = (() => {
|
|
9492
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9493
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9494
|
+
}
|
|
9495
|
+
if (obj.updateContextRequired !== undefined) {
|
|
9496
|
+
const obj_updateContextRequired = obj.updateContextRequired;
|
|
9497
|
+
const path_updateContextRequired = path + '.updateContextRequired';
|
|
9498
|
+
if (typeof obj_updateContextRequired !== 'boolean') {
|
|
9499
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_updateContextRequired + '" (at "' + path_updateContextRequired + '")');
|
|
9500
|
+
}
|
|
9501
|
+
}
|
|
9502
|
+
})();
|
|
9503
|
+
return v_error === undefined ? null : v_error;
|
|
9504
|
+
}
|
|
9505
|
+
|
|
9490
9506
|
function validate$k(obj, path = 'ConfigRuleErrorsOutputRepresentation') {
|
|
9491
9507
|
const v_error = (() => {
|
|
9492
9508
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9855,11 +9871,9 @@ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$r(executeConfi
|
|
|
9855
9871
|
function typeCheckConfig$1(untrustedConfig) {
|
|
9856
9872
|
const config = {};
|
|
9857
9873
|
const untrustedConfig_ruleOptions = untrustedConfig.ruleOptions;
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
config.ruleOptions = untrustedConfig_ruleOptions_object;
|
|
9862
|
-
}
|
|
9874
|
+
const referenceConfigRuleOptionsInputRepresentationValidationError = validate$l(untrustedConfig_ruleOptions);
|
|
9875
|
+
if (referenceConfigRuleOptionsInputRepresentationValidationError === null) {
|
|
9876
|
+
config.ruleOptions = untrustedConfig_ruleOptions;
|
|
9863
9877
|
}
|
|
9864
9878
|
const untrustedConfig_transactionContextId = untrustedConfig.transactionContextId;
|
|
9865
9879
|
if (typeof untrustedConfig_transactionContextId === 'string') {
|
|
@@ -10823,7 +10837,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
10823
10837
|
}
|
|
10824
10838
|
}
|
|
10825
10839
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
10826
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
10840
|
+
const referenceFilterInputRepresentationValidationError = validate$1h(untrustedConfig_filter);
|
|
10827
10841
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
10828
10842
|
config.filter = untrustedConfig_filter;
|
|
10829
10843
|
}
|