@salesforce/lds-adapters-industries-cpq 1.428.0-dev1 → 1.428.0-dev10
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 +195 -165
- package/dist/es/es2018/types/src/generated/adapters/bulkProductDetails.d.ts +6 -2
- package/dist/es/es2018/types/src/generated/adapters/executeConfigRules.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsBulk.d.ts +6 -2
- package/dist/es/es2018/types/src/generated/resources/postRevenueProductConfiguratorRulesActionsExecute.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/types/BulkProductDetailsInput.d.ts +13 -5
- 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 +132 -102
- package/src/raml/api.raml +8 -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
|
}
|
|
@@ -2007,6 +2007,14 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
2007
2007
|
const untrustedConfig_additionalFields = untrustedConfig.additionalFields;
|
|
2008
2008
|
if (untrustedIsObject(untrustedConfig_additionalFields)) {
|
|
2009
2009
|
const untrustedConfig_additionalFields_object = {};
|
|
2010
|
+
const untrustedConfig_additionalFields_keys = Object.keys(untrustedConfig_additionalFields);
|
|
2011
|
+
for (let i = 0, arrayLength = untrustedConfig_additionalFields_keys.length; i < arrayLength; i++) {
|
|
2012
|
+
const key = untrustedConfig_additionalFields_keys[i];
|
|
2013
|
+
const untrustedConfig_additionalFields_prop = untrustedConfig_additionalFields[key];
|
|
2014
|
+
if (untrustedConfig_additionalFields_object !== undefined) {
|
|
2015
|
+
untrustedConfig_additionalFields_object[key] = untrustedConfig_additionalFields_prop;
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2010
2018
|
if (untrustedConfig_additionalFields_object !== undefined && Object.keys(untrustedConfig_additionalFields_object).length >= 0) {
|
|
2011
2019
|
config.additionalFields = untrustedConfig_additionalFields_object;
|
|
2012
2020
|
}
|
|
@@ -2016,7 +2024,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
2016
2024
|
const untrustedConfig_productData_array = [];
|
|
2017
2025
|
for (let i = 0, arrayLength = untrustedConfig_productData.length; i < arrayLength; i++) {
|
|
2018
2026
|
const untrustedConfig_productData_item = untrustedConfig_productData[i];
|
|
2019
|
-
const referenceProductDataInputValidationError = validate$
|
|
2027
|
+
const referenceProductDataInputValidationError = validate$19(untrustedConfig_productData_item);
|
|
2020
2028
|
if (referenceProductDataInputValidationError === null) {
|
|
2021
2029
|
untrustedConfig_productData_array.push(untrustedConfig_productData_item);
|
|
2022
2030
|
}
|
|
@@ -2026,6 +2034,14 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
2026
2034
|
const untrustedConfig_userContext = untrustedConfig.userContext;
|
|
2027
2035
|
if (untrustedIsObject(untrustedConfig_userContext)) {
|
|
2028
2036
|
const untrustedConfig_userContext_object = {};
|
|
2037
|
+
const untrustedConfig_userContext_keys = Object.keys(untrustedConfig_userContext);
|
|
2038
|
+
for (let i = 0, arrayLength = untrustedConfig_userContext_keys.length; i < arrayLength; i++) {
|
|
2039
|
+
const key = untrustedConfig_userContext_keys[i];
|
|
2040
|
+
const untrustedConfig_userContext_prop = untrustedConfig_userContext[key];
|
|
2041
|
+
if (untrustedConfig_userContext_object !== undefined) {
|
|
2042
|
+
untrustedConfig_userContext_object[key] = untrustedConfig_userContext_prop;
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2029
2045
|
if (untrustedConfig_userContext_object !== undefined && Object.keys(untrustedConfig_userContext_object).length >= 0) {
|
|
2030
2046
|
config.userContext = untrustedConfig_userContext_object;
|
|
2031
2047
|
}
|
|
@@ -2074,7 +2090,7 @@ const bulkProductDetailsAdapterFactory = (luvio) => {
|
|
|
2074
2090
|
};
|
|
2075
2091
|
};
|
|
2076
2092
|
|
|
2077
|
-
function validate$
|
|
2093
|
+
function validate$17(obj, path = 'ProductDetailsInputRepresentation') {
|
|
2078
2094
|
const v_error = (() => {
|
|
2079
2095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2080
2096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2125,14 +2141,14 @@ function validate$16(obj, path = 'ProductDetailsInputRepresentation') {
|
|
|
2125
2141
|
|
|
2126
2142
|
const TTL$f = 1000;
|
|
2127
2143
|
const VERSION$n = "2f20f99218d11f5ad756aff76b7a815e";
|
|
2128
|
-
function validate$
|
|
2144
|
+
function validate$16(obj, path = 'CpqBaseDetailsOutputRepresentation') {
|
|
2129
2145
|
const v_error = (() => {
|
|
2130
2146
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2131
2147
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2132
2148
|
}
|
|
2133
2149
|
const obj_apiStatus = obj.apiStatus;
|
|
2134
2150
|
const path_apiStatus = path + '.apiStatus';
|
|
2135
|
-
const referencepath_apiStatusValidationError = validate$
|
|
2151
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
2136
2152
|
if (referencepath_apiStatusValidationError !== null) {
|
|
2137
2153
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
2138
2154
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2182,7 +2198,7 @@ function equals$n(existing, incoming) {
|
|
|
2182
2198
|
}
|
|
2183
2199
|
const ingest$g = function CpqBaseDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2184
2200
|
if (process.env.NODE_ENV !== 'production') {
|
|
2185
|
-
const validateError = validate$
|
|
2201
|
+
const validateError = validate$16(input);
|
|
2186
2202
|
if (validateError !== null) {
|
|
2187
2203
|
throw validateError;
|
|
2188
2204
|
}
|
|
@@ -2250,7 +2266,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
2250
2266
|
const config = {};
|
|
2251
2267
|
typeCheckConfig$r(untrustedConfig, config, productDetails_ConfigPropertyMetadata);
|
|
2252
2268
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
2253
|
-
const referenceProductDetailsInputRepresentationValidationError = validate$
|
|
2269
|
+
const referenceProductDetailsInputRepresentationValidationError = validate$17(untrustedConfig_requestBody);
|
|
2254
2270
|
if (referenceProductDetailsInputRepresentationValidationError === null) {
|
|
2255
2271
|
config.requestBody = untrustedConfig_requestBody;
|
|
2256
2272
|
}
|
|
@@ -2359,7 +2375,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
2359
2375
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
2360
2376
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
2361
2377
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2362
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
2378
|
+
const referenceFilterInputRepresentationValidationError = validate$1h(untrustedConfig_filter);
|
|
2363
2379
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
2364
2380
|
config.filter = untrustedConfig_filter;
|
|
2365
2381
|
}
|
|
@@ -2482,7 +2498,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
2482
2498
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
2483
2499
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
2484
2500
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
2485
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
2501
|
+
const referenceFilterInputRepresentationValidationError = validate$1h(untrustedConfig_filter);
|
|
2486
2502
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
2487
2503
|
config.filter = untrustedConfig_filter;
|
|
2488
2504
|
}
|
|
@@ -2545,7 +2561,7 @@ const categoryDetailsAdapterFactory = (luvio) => {
|
|
|
2545
2561
|
};
|
|
2546
2562
|
};
|
|
2547
2563
|
|
|
2548
|
-
function validate$
|
|
2564
|
+
function validate$15(obj, path = 'CreateCartInputRepresentation') {
|
|
2549
2565
|
const v_error = (() => {
|
|
2550
2566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2551
2567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2616,14 +2632,14 @@ function validate$14(obj, path = 'CreateCartInputRepresentation') {
|
|
|
2616
2632
|
|
|
2617
2633
|
const TTL$e = 1000;
|
|
2618
2634
|
const VERSION$m = "1f730145ab6b9f6b4d070b5eade57b4c";
|
|
2619
|
-
function validate$
|
|
2635
|
+
function validate$14(obj, path = 'CreateCartOutputRepresentation') {
|
|
2620
2636
|
const v_error = (() => {
|
|
2621
2637
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2622
2638
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2623
2639
|
}
|
|
2624
2640
|
const obj_apiStatus = obj.apiStatus;
|
|
2625
2641
|
const path_apiStatus = path + '.apiStatus';
|
|
2626
|
-
const referencepath_apiStatusValidationError = validate$
|
|
2642
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
2627
2643
|
if (referencepath_apiStatusValidationError !== null) {
|
|
2628
2644
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
2629
2645
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2668,7 +2684,7 @@ function equals$m(existing, incoming) {
|
|
|
2668
2684
|
}
|
|
2669
2685
|
const ingest$f = function CreateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2670
2686
|
if (process.env.NODE_ENV !== 'production') {
|
|
2671
|
-
const validateError = validate$
|
|
2687
|
+
const validateError = validate$14(input);
|
|
2672
2688
|
if (validateError !== null) {
|
|
2673
2689
|
throw validateError;
|
|
2674
2690
|
}
|
|
@@ -2734,7 +2750,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$r(createCart_C
|
|
|
2734
2750
|
function typeCheckConfig$h(untrustedConfig) {
|
|
2735
2751
|
const config = {};
|
|
2736
2752
|
const untrustedConfig_createCartRequestPayload = untrustedConfig.createCartRequestPayload;
|
|
2737
|
-
const referenceCreateCartInputRepresentationValidationError = validate$
|
|
2753
|
+
const referenceCreateCartInputRepresentationValidationError = validate$15(untrustedConfig_createCartRequestPayload);
|
|
2738
2754
|
if (referenceCreateCartInputRepresentationValidationError === null) {
|
|
2739
2755
|
config.createCartRequestPayload = untrustedConfig_createCartRequestPayload;
|
|
2740
2756
|
}
|
|
@@ -2783,7 +2799,7 @@ const createCartAdapterFactory = (luvio) => {
|
|
|
2783
2799
|
};
|
|
2784
2800
|
|
|
2785
2801
|
const VERSION$l = "c49b7c37c117b93f62b9696af8a68cdc";
|
|
2786
|
-
function validate$
|
|
2802
|
+
function validate$13(obj, path = 'AttributePickListValueOutputRepresentation') {
|
|
2787
2803
|
const v_error = (() => {
|
|
2788
2804
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2789
2805
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3055,7 +3071,7 @@ function equals$l(existing, incoming) {
|
|
|
3055
3071
|
}
|
|
3056
3072
|
|
|
3057
3073
|
const VERSION$k = "cef4f713a2e486855d50324a822053ff";
|
|
3058
|
-
function validate$
|
|
3074
|
+
function validate$12(obj, path = 'AttributePickListOutputRepresentation') {
|
|
3059
3075
|
const v_error = (() => {
|
|
3060
3076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3061
3077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3111,7 +3127,7 @@ function validate$11(obj, path = 'AttributePickListOutputRepresentation') {
|
|
|
3111
3127
|
for (let i = 0; i < obj_values.length; i++) {
|
|
3112
3128
|
const obj_values_item = obj_values[i];
|
|
3113
3129
|
const path_values_item = path_values + '[' + i + ']';
|
|
3114
|
-
const referencepath_values_itemValidationError = validate$
|
|
3130
|
+
const referencepath_values_itemValidationError = validate$13(obj_values_item, path_values_item);
|
|
3115
3131
|
if (referencepath_values_itemValidationError !== null) {
|
|
3116
3132
|
let message = 'Object doesn\'t match AttributePickListValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
3117
3133
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3270,7 +3286,7 @@ function equals$k(existing, incoming) {
|
|
|
3270
3286
|
}
|
|
3271
3287
|
|
|
3272
3288
|
const VERSION$j = "a721b7658e0e47f6255b519635c8e0d4";
|
|
3273
|
-
function validate$
|
|
3289
|
+
function validate$11(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
3274
3290
|
const v_error = (() => {
|
|
3275
3291
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3276
3292
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3299,7 +3315,7 @@ function validate$10(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
|
3299
3315
|
if (obj.attributePickList !== undefined) {
|
|
3300
3316
|
const obj_attributePickList = obj.attributePickList;
|
|
3301
3317
|
const path_attributePickList = path + '.attributePickList';
|
|
3302
|
-
const referencepath_attributePickListValidationError = validate$
|
|
3318
|
+
const referencepath_attributePickListValidationError = validate$12(obj_attributePickList, path_attributePickList);
|
|
3303
3319
|
if (referencepath_attributePickListValidationError !== null) {
|
|
3304
3320
|
let message = 'Object doesn\'t match AttributePickListOutputRepresentation (at "' + path_attributePickList + '")\n';
|
|
3305
3321
|
message += referencepath_attributePickListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4014,7 +4030,7 @@ function equals$j(existing, incoming) {
|
|
|
4014
4030
|
}
|
|
4015
4031
|
|
|
4016
4032
|
const VERSION$i = "63ca2614b6879bfb4df068438d7e78ec";
|
|
4017
|
-
function validate
|
|
4033
|
+
function validate$10(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
4018
4034
|
const v_error = (() => {
|
|
4019
4035
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4020
4036
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4056,7 +4072,7 @@ function validate$$(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
4056
4072
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4057
4073
|
const obj_records_item = obj_records[i];
|
|
4058
4074
|
const path_records_item = path_records + '[' + i + ']';
|
|
4059
|
-
const referencepath_records_itemValidationError = validate$
|
|
4075
|
+
const referencepath_records_itemValidationError = validate$11(obj_records_item, path_records_item);
|
|
4060
4076
|
if (referencepath_records_itemValidationError !== null) {
|
|
4061
4077
|
let message = 'Object doesn\'t match ProductAttributeOutputRepresentation (at "' + path_records_item + '")\n';
|
|
4062
4078
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4254,7 +4270,7 @@ function equals$i(existing, incoming) {
|
|
|
4254
4270
|
}
|
|
4255
4271
|
|
|
4256
4272
|
const VERSION$h = "a59ef129f333de8bbfe140f39144b415";
|
|
4257
|
-
function validate
|
|
4273
|
+
function validate$$(obj, path = 'CartItemOutputRepresentation') {
|
|
4258
4274
|
const v_error = (() => {
|
|
4259
4275
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4260
4276
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4268,7 +4284,7 @@ function validate$_(obj, path = 'CartItemOutputRepresentation') {
|
|
|
4268
4284
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
4269
4285
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
4270
4286
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
4271
|
-
const referencepath_attributeCategories_itemValidationError = validate
|
|
4287
|
+
const referencepath_attributeCategories_itemValidationError = validate$10(obj_attributeCategories_item, path_attributeCategories_item);
|
|
4272
4288
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
4273
4289
|
let message = 'Object doesn\'t match AttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
4274
4290
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4285,7 +4301,7 @@ function validate$_(obj, path = 'CartItemOutputRepresentation') {
|
|
|
4285
4301
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
4286
4302
|
const obj_attributes_item = obj_attributes[i];
|
|
4287
4303
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
4288
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
4304
|
+
const referencepath_attributes_itemValidationError = validate$11(obj_attributes_item, path_attributes_item);
|
|
4289
4305
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
4290
4306
|
let message = 'Object doesn\'t match ProductAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
4291
4307
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4575,7 +4591,7 @@ function equals$h(existing, incoming) {
|
|
|
4575
4591
|
}
|
|
4576
4592
|
|
|
4577
4593
|
const VERSION$g = "dbbe0e43dcf8f1d5334798bb12acca37";
|
|
4578
|
-
function validate$
|
|
4594
|
+
function validate$_(obj, path = 'CartItemsOutputRepresentation') {
|
|
4579
4595
|
const v_error = (() => {
|
|
4580
4596
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4581
4597
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4589,7 +4605,7 @@ function validate$Z(obj, path = 'CartItemsOutputRepresentation') {
|
|
|
4589
4605
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4590
4606
|
const obj_records_item = obj_records[i];
|
|
4591
4607
|
const path_records_item = path_records + '[' + i + ']';
|
|
4592
|
-
const referencepath_records_itemValidationError = validate
|
|
4608
|
+
const referencepath_records_itemValidationError = validate$$(obj_records_item, path_records_item);
|
|
4593
4609
|
if (referencepath_records_itemValidationError !== null) {
|
|
4594
4610
|
let message = 'Object doesn\'t match CartItemOutputRepresentation (at "' + path_records_item + '")\n';
|
|
4595
4611
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4665,7 +4681,7 @@ function equals$g(existing, incoming) {
|
|
|
4665
4681
|
}
|
|
4666
4682
|
|
|
4667
4683
|
const VERSION$f = "ce1e52694d8508b2f5239ba28287dc1e";
|
|
4668
|
-
function validate$
|
|
4684
|
+
function validate$Z(obj, path = 'PricingTotalOutputRepresentation') {
|
|
4669
4685
|
const v_error = (() => {
|
|
4670
4686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4671
4687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4783,14 +4799,14 @@ function equals$f(existing, incoming) {
|
|
|
4783
4799
|
}
|
|
4784
4800
|
|
|
4785
4801
|
const VERSION$e = "db83704358e5d7a3f3f3622cdd0a5114";
|
|
4786
|
-
function validate$
|
|
4802
|
+
function validate$Y(obj, path = 'GetCartOutputRepresentation') {
|
|
4787
4803
|
const v_error = (() => {
|
|
4788
4804
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4789
4805
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4790
4806
|
}
|
|
4791
4807
|
const obj_apiStatus = obj.apiStatus;
|
|
4792
4808
|
const path_apiStatus = path + '.apiStatus';
|
|
4793
|
-
const referencepath_apiStatusValidationError = validate$
|
|
4809
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
4794
4810
|
if (referencepath_apiStatusValidationError !== null) {
|
|
4795
4811
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
4796
4812
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4806,7 +4822,7 @@ function validate$X(obj, path = 'GetCartOutputRepresentation') {
|
|
|
4806
4822
|
if (obj.cartItems !== undefined) {
|
|
4807
4823
|
const obj_cartItems = obj.cartItems;
|
|
4808
4824
|
const path_cartItems = path + '.cartItems';
|
|
4809
|
-
const referencepath_cartItemsValidationError = validate$
|
|
4825
|
+
const referencepath_cartItemsValidationError = validate$_(obj_cartItems, path_cartItems);
|
|
4810
4826
|
if (referencepath_cartItemsValidationError !== null) {
|
|
4811
4827
|
let message = 'Object doesn\'t match CartItemsOutputRepresentation (at "' + path_cartItems + '")\n';
|
|
4812
4828
|
message += referencepath_cartItemsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4822,7 +4838,7 @@ function validate$X(obj, path = 'GetCartOutputRepresentation') {
|
|
|
4822
4838
|
for (let i = 0; i < obj_totals.length; i++) {
|
|
4823
4839
|
const obj_totals_item = obj_totals[i];
|
|
4824
4840
|
const path_totals_item = path_totals + '[' + i + ']';
|
|
4825
|
-
const referencepath_totals_itemValidationError = validate$
|
|
4841
|
+
const referencepath_totals_itemValidationError = validate$Z(obj_totals_item, path_totals_item);
|
|
4826
4842
|
if (referencepath_totals_itemValidationError !== null) {
|
|
4827
4843
|
let message = 'Object doesn\'t match PricingTotalOutputRepresentation (at "' + path_totals_item + '")\n';
|
|
4828
4844
|
message += referencepath_totals_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4926,7 +4942,7 @@ function equals$e(existing, incoming) {
|
|
|
4926
4942
|
}
|
|
4927
4943
|
const ingest$e = function GetCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4928
4944
|
if (process.env.NODE_ENV !== 'production') {
|
|
4929
|
-
const validateError = validate$
|
|
4945
|
+
const validateError = validate$Y(input);
|
|
4930
4946
|
if (validateError !== null) {
|
|
4931
4947
|
throw validateError;
|
|
4932
4948
|
}
|
|
@@ -5078,7 +5094,7 @@ const getCartAdapterFactory = (luvio) => function cpq__getCart(untrustedConfig,
|
|
|
5078
5094
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
5079
5095
|
};
|
|
5080
5096
|
|
|
5081
|
-
function validate$
|
|
5097
|
+
function validate$X(obj, path = 'UpdateCartInputRepresentation') {
|
|
5082
5098
|
const v_error = (() => {
|
|
5083
5099
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5084
5100
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5113,7 +5129,7 @@ function validate$W(obj, path = 'UpdateCartInputRepresentation') {
|
|
|
5113
5129
|
return v_error === undefined ? null : v_error;
|
|
5114
5130
|
}
|
|
5115
5131
|
|
|
5116
|
-
function validate$
|
|
5132
|
+
function validate$W(obj, path = 'ValidationResultOutputRepresentation') {
|
|
5117
5133
|
const v_error = (() => {
|
|
5118
5134
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5119
5135
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5157,7 +5173,7 @@ function validate$V(obj, path = 'ValidationResultOutputRepresentation') {
|
|
|
5157
5173
|
return v_error === undefined ? null : v_error;
|
|
5158
5174
|
}
|
|
5159
5175
|
|
|
5160
|
-
function validate$
|
|
5176
|
+
function validate$V(obj, path = 'ValidateCartOutputRepresentation') {
|
|
5161
5177
|
const v_error = (() => {
|
|
5162
5178
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5163
5179
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5171,7 +5187,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5171
5187
|
for (let i = 0; i < obj_attributeErrors.length; i++) {
|
|
5172
5188
|
const obj_attributeErrors_item = obj_attributeErrors[i];
|
|
5173
5189
|
const path_attributeErrors_item = path_attributeErrors + '[' + i + ']';
|
|
5174
|
-
const referencepath_attributeErrors_itemValidationError = validate$
|
|
5190
|
+
const referencepath_attributeErrors_itemValidationError = validate$W(obj_attributeErrors_item, path_attributeErrors_item);
|
|
5175
5191
|
if (referencepath_attributeErrors_itemValidationError !== null) {
|
|
5176
5192
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_attributeErrors_item + '")\n';
|
|
5177
5193
|
message += referencepath_attributeErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5188,7 +5204,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5188
5204
|
for (let i = 0; i < obj_breErrors.length; i++) {
|
|
5189
5205
|
const obj_breErrors_item = obj_breErrors[i];
|
|
5190
5206
|
const path_breErrors_item = path_breErrors + '[' + i + ']';
|
|
5191
|
-
const referencepath_breErrors_itemValidationError = validate$
|
|
5207
|
+
const referencepath_breErrors_itemValidationError = validate$W(obj_breErrors_item, path_breErrors_item);
|
|
5192
5208
|
if (referencepath_breErrors_itemValidationError !== null) {
|
|
5193
5209
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_breErrors_item + '")\n';
|
|
5194
5210
|
message += referencepath_breErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5205,7 +5221,7 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5205
5221
|
for (let i = 0; i < obj_cardinalityErrors.length; i++) {
|
|
5206
5222
|
const obj_cardinalityErrors_item = obj_cardinalityErrors[i];
|
|
5207
5223
|
const path_cardinalityErrors_item = path_cardinalityErrors + '[' + i + ']';
|
|
5208
|
-
const referencepath_cardinalityErrors_itemValidationError = validate$
|
|
5224
|
+
const referencepath_cardinalityErrors_itemValidationError = validate$W(obj_cardinalityErrors_item, path_cardinalityErrors_item);
|
|
5209
5225
|
if (referencepath_cardinalityErrors_itemValidationError !== null) {
|
|
5210
5226
|
let message = 'Object doesn\'t match ValidationResultOutputRepresentation (at "' + path_cardinalityErrors_item + '")\n';
|
|
5211
5227
|
message += referencepath_cardinalityErrors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5226,14 +5242,14 @@ function validate$U(obj, path = 'ValidateCartOutputRepresentation') {
|
|
|
5226
5242
|
|
|
5227
5243
|
const TTL$d = 1000;
|
|
5228
5244
|
const VERSION$d = "b0d6081a9f20773285c8aeb2e715ead3";
|
|
5229
|
-
function validate$
|
|
5245
|
+
function validate$U(obj, path = 'UpdateCartOutputRepresentation') {
|
|
5230
5246
|
const v_error = (() => {
|
|
5231
5247
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5232
5248
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5233
5249
|
}
|
|
5234
5250
|
const obj_apiStatus = obj.apiStatus;
|
|
5235
5251
|
const path_apiStatus = path + '.apiStatus';
|
|
5236
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5252
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5237
5253
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5238
5254
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5239
5255
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5241,7 +5257,7 @@ function validate$T(obj, path = 'UpdateCartOutputRepresentation') {
|
|
|
5241
5257
|
}
|
|
5242
5258
|
const obj_validationResults = obj.validationResults;
|
|
5243
5259
|
const path_validationResults = path + '.validationResults';
|
|
5244
|
-
const referencepath_validationResultsValidationError = validate$
|
|
5260
|
+
const referencepath_validationResultsValidationError = validate$V(obj_validationResults, path_validationResults);
|
|
5245
5261
|
if (referencepath_validationResultsValidationError !== null) {
|
|
5246
5262
|
let message = 'Object doesn\'t match ValidateCartOutputRepresentation (at "' + path_validationResults + '")\n';
|
|
5247
5263
|
message += referencepath_validationResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5279,7 +5295,7 @@ function equals$d(existing, incoming) {
|
|
|
5279
5295
|
}
|
|
5280
5296
|
const ingest$d = function UpdateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5281
5297
|
if (process.env.NODE_ENV !== 'production') {
|
|
5282
|
-
const validateError = validate$
|
|
5298
|
+
const validateError = validate$U(input);
|
|
5283
5299
|
if (validateError !== null) {
|
|
5284
5300
|
throw validateError;
|
|
5285
5301
|
}
|
|
@@ -5347,7 +5363,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
5347
5363
|
const config = {};
|
|
5348
5364
|
typeCheckConfig$r(untrustedConfig, config, updateCart_ConfigPropertyMetadata);
|
|
5349
5365
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5350
|
-
const referenceUpdateCartInputRepresentationValidationError = validate$
|
|
5366
|
+
const referenceUpdateCartInputRepresentationValidationError = validate$X(untrustedConfig_requestBody);
|
|
5351
5367
|
if (referenceUpdateCartInputRepresentationValidationError === null) {
|
|
5352
5368
|
config.requestBody = untrustedConfig_requestBody;
|
|
5353
5369
|
}
|
|
@@ -5395,7 +5411,7 @@ const updateCartAdapterFactory = (luvio) => {
|
|
|
5395
5411
|
};
|
|
5396
5412
|
};
|
|
5397
5413
|
|
|
5398
|
-
function validate$
|
|
5414
|
+
function validate$T(obj, path = 'UpdateCartItemsInputRepresentation') {
|
|
5399
5415
|
const v_error = (() => {
|
|
5400
5416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5401
5417
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5434,14 +5450,14 @@ function validate$S(obj, path = 'UpdateCartItemsInputRepresentation') {
|
|
|
5434
5450
|
|
|
5435
5451
|
const TTL$c = 1000;
|
|
5436
5452
|
const VERSION$c = "7f205594e7cf298b4bee71200afab626";
|
|
5437
|
-
function validate$
|
|
5453
|
+
function validate$S(obj, path = 'UpdateCartItemsOutputRepresentation') {
|
|
5438
5454
|
const v_error = (() => {
|
|
5439
5455
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5440
5456
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5441
5457
|
}
|
|
5442
5458
|
const obj_apiStatus = obj.apiStatus;
|
|
5443
5459
|
const path_apiStatus = path + '.apiStatus';
|
|
5444
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5460
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5445
5461
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5446
5462
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5447
5463
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5486,7 +5502,7 @@ function equals$c(existing, incoming) {
|
|
|
5486
5502
|
}
|
|
5487
5503
|
const ingest$c = function UpdateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5488
5504
|
if (process.env.NODE_ENV !== 'production') {
|
|
5489
|
-
const validateError = validate$
|
|
5505
|
+
const validateError = validate$S(input);
|
|
5490
5506
|
if (validateError !== null) {
|
|
5491
5507
|
throw validateError;
|
|
5492
5508
|
}
|
|
@@ -5554,7 +5570,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
5554
5570
|
const config = {};
|
|
5555
5571
|
typeCheckConfig$r(untrustedConfig, config, updateCartItems_ConfigPropertyMetadata);
|
|
5556
5572
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5557
|
-
const referenceUpdateCartItemsInputRepresentationValidationError = validate$
|
|
5573
|
+
const referenceUpdateCartItemsInputRepresentationValidationError = validate$T(untrustedConfig_requestBody);
|
|
5558
5574
|
if (referenceUpdateCartItemsInputRepresentationValidationError === null) {
|
|
5559
5575
|
config.requestBody = untrustedConfig_requestBody;
|
|
5560
5576
|
}
|
|
@@ -5602,7 +5618,7 @@ const updateCartItemsAdapterFactory = (luvio) => {
|
|
|
5602
5618
|
};
|
|
5603
5619
|
};
|
|
5604
5620
|
|
|
5605
|
-
function validate$
|
|
5621
|
+
function validate$R(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
5606
5622
|
const v_error = (() => {
|
|
5607
5623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5608
5624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5641,14 +5657,14 @@ function validate$Q(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
|
5641
5657
|
|
|
5642
5658
|
const TTL$b = 1000;
|
|
5643
5659
|
const VERSION$b = "34153309b079451754e6d3fbf85bb8bd";
|
|
5644
|
-
function validate$
|
|
5660
|
+
function validate$Q(obj, path = 'CreateCartItemsOutputRepresentation') {
|
|
5645
5661
|
const v_error = (() => {
|
|
5646
5662
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5647
5663
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5648
5664
|
}
|
|
5649
5665
|
const obj_apiStatus = obj.apiStatus;
|
|
5650
5666
|
const path_apiStatus = path + '.apiStatus';
|
|
5651
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5667
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5652
5668
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5653
5669
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5654
5670
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5693,7 +5709,7 @@ function equals$b(existing, incoming) {
|
|
|
5693
5709
|
}
|
|
5694
5710
|
const ingest$b = function CreateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5695
5711
|
if (process.env.NODE_ENV !== 'production') {
|
|
5696
|
-
const validateError = validate$
|
|
5712
|
+
const validateError = validate$Q(input);
|
|
5697
5713
|
if (validateError !== null) {
|
|
5698
5714
|
throw validateError;
|
|
5699
5715
|
}
|
|
@@ -5761,7 +5777,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
5761
5777
|
const config = {};
|
|
5762
5778
|
typeCheckConfig$r(untrustedConfig, config, createCartItems_ConfigPropertyMetadata);
|
|
5763
5779
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5764
|
-
const referenceCreateCartItemsInputRepresentationValidationError = validate$
|
|
5780
|
+
const referenceCreateCartItemsInputRepresentationValidationError = validate$R(untrustedConfig_requestBody);
|
|
5765
5781
|
if (referenceCreateCartItemsInputRepresentationValidationError === null) {
|
|
5766
5782
|
config.requestBody = untrustedConfig_requestBody;
|
|
5767
5783
|
}
|
|
@@ -5809,7 +5825,7 @@ const createCartItemsAdapterFactory = (luvio) => {
|
|
|
5809
5825
|
};
|
|
5810
5826
|
};
|
|
5811
5827
|
|
|
5812
|
-
function validate$
|
|
5828
|
+
function validate$P(obj, path = 'PriceCartInputRepresentation') {
|
|
5813
5829
|
const v_error = (() => {
|
|
5814
5830
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5815
5831
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5848,14 +5864,14 @@ function validate$O(obj, path = 'PriceCartInputRepresentation') {
|
|
|
5848
5864
|
|
|
5849
5865
|
const TTL$a = 1000;
|
|
5850
5866
|
const VERSION$a = "b1e28ba15f534459065f2870a9dc703d";
|
|
5851
|
-
function validate$
|
|
5867
|
+
function validate$O(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
5852
5868
|
const v_error = (() => {
|
|
5853
5869
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5854
5870
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5855
5871
|
}
|
|
5856
5872
|
const obj_apiStatus = obj.apiStatus;
|
|
5857
5873
|
const path_apiStatus = path + '.apiStatus';
|
|
5858
|
-
const referencepath_apiStatusValidationError = validate$
|
|
5874
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
5859
5875
|
if (referencepath_apiStatusValidationError !== null) {
|
|
5860
5876
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
5861
5877
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5877,7 +5893,7 @@ function validate$N(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
|
5877
5893
|
for (let i = 0; i < obj_cartPricingTotals.length; i++) {
|
|
5878
5894
|
const obj_cartPricingTotals_item = obj_cartPricingTotals[i];
|
|
5879
5895
|
const path_cartPricingTotals_item = path_cartPricingTotals + '[' + i + ']';
|
|
5880
|
-
const referencepath_cartPricingTotals_itemValidationError = validate$
|
|
5896
|
+
const referencepath_cartPricingTotals_itemValidationError = validate$Z(obj_cartPricingTotals_item, path_cartPricingTotals_item);
|
|
5881
5897
|
if (referencepath_cartPricingTotals_itemValidationError !== null) {
|
|
5882
5898
|
let message = 'Object doesn\'t match PricingTotalOutputRepresentation (at "' + path_cartPricingTotals_item + '")\n';
|
|
5883
5899
|
message += referencepath_cartPricingTotals_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5917,7 +5933,7 @@ function equals$a(existing, incoming) {
|
|
|
5917
5933
|
}
|
|
5918
5934
|
const ingest$a = function CartPricingTotalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5919
5935
|
if (process.env.NODE_ENV !== 'production') {
|
|
5920
|
-
const validateError = validate$
|
|
5936
|
+
const validateError = validate$O(input);
|
|
5921
5937
|
if (validateError !== null) {
|
|
5922
5938
|
throw validateError;
|
|
5923
5939
|
}
|
|
@@ -5985,7 +6001,7 @@ function typeCheckConfig$c(untrustedConfig) {
|
|
|
5985
6001
|
const config = {};
|
|
5986
6002
|
typeCheckConfig$r(untrustedConfig, config, priceCart_ConfigPropertyMetadata);
|
|
5987
6003
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
5988
|
-
const referencePriceCartInputRepresentationValidationError = validate$
|
|
6004
|
+
const referencePriceCartInputRepresentationValidationError = validate$P(untrustedConfig_requestBody);
|
|
5989
6005
|
if (referencePriceCartInputRepresentationValidationError === null) {
|
|
5990
6006
|
config.requestBody = untrustedConfig_requestBody;
|
|
5991
6007
|
}
|
|
@@ -6033,7 +6049,7 @@ const priceCartAdapterFactory = (luvio) => {
|
|
|
6033
6049
|
};
|
|
6034
6050
|
};
|
|
6035
6051
|
|
|
6036
|
-
function validate$
|
|
6052
|
+
function validate$N(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
6037
6053
|
const v_error = (() => {
|
|
6038
6054
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6039
6055
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6061,7 +6077,7 @@ function validate$M(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
|
6061
6077
|
return v_error === undefined ? null : v_error;
|
|
6062
6078
|
}
|
|
6063
6079
|
|
|
6064
|
-
function validate$
|
|
6080
|
+
function validate$M(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
6065
6081
|
const v_error = (() => {
|
|
6066
6082
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6067
6083
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6126,7 +6142,7 @@ function validate$L(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
|
6126
6142
|
return v_error === undefined ? null : v_error;
|
|
6127
6143
|
}
|
|
6128
6144
|
|
|
6129
|
-
function validate$
|
|
6145
|
+
function validate$L(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
6130
6146
|
const v_error = (() => {
|
|
6131
6147
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6132
6148
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6149,7 +6165,7 @@ function validate$K(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
|
6149
6165
|
return v_error === undefined ? null : v_error;
|
|
6150
6166
|
}
|
|
6151
6167
|
|
|
6152
|
-
function validate$
|
|
6168
|
+
function validate$K(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
6153
6169
|
const v_error = (() => {
|
|
6154
6170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6155
6171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6177,7 +6193,7 @@ function validate$J(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
|
6177
6193
|
return v_error === undefined ? null : v_error;
|
|
6178
6194
|
}
|
|
6179
6195
|
|
|
6180
|
-
function validate$
|
|
6196
|
+
function validate$J(obj, path = 'ConfiguratorInputRepresentation') {
|
|
6181
6197
|
const v_error = (() => {
|
|
6182
6198
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6183
6199
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6191,7 +6207,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6191
6207
|
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
6192
6208
|
const obj_addedNodes_item = obj_addedNodes[i];
|
|
6193
6209
|
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
6194
|
-
const referencepath_addedNodes_itemValidationError = validate$
|
|
6210
|
+
const referencepath_addedNodes_itemValidationError = validate$N(obj_addedNodes_item, path_addedNodes_item);
|
|
6195
6211
|
if (referencepath_addedNodes_itemValidationError !== null) {
|
|
6196
6212
|
let message = 'Object doesn\'t match ConfiguratorAddedNodeInputRepresentation (at "' + path_addedNodes_item + '")\n';
|
|
6197
6213
|
message += referencepath_addedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6202,7 +6218,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6202
6218
|
if (obj.configuratorOptions !== undefined) {
|
|
6203
6219
|
const obj_configuratorOptions = obj.configuratorOptions;
|
|
6204
6220
|
const path_configuratorOptions = path + '.configuratorOptions';
|
|
6205
|
-
const referencepath_configuratorOptionsValidationError = validate$
|
|
6221
|
+
const referencepath_configuratorOptionsValidationError = validate$M(obj_configuratorOptions, path_configuratorOptions);
|
|
6206
6222
|
if (referencepath_configuratorOptionsValidationError !== null) {
|
|
6207
6223
|
let message = 'Object doesn\'t match ConfiguratorOptionsInputRepresentation (at "' + path_configuratorOptions + '")\n';
|
|
6208
6224
|
message += referencepath_configuratorOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6267,7 +6283,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6267
6283
|
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
6268
6284
|
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
6269
6285
|
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
6270
|
-
const referencepath_deletedNodes_itemValidationError = validate$
|
|
6286
|
+
const referencepath_deletedNodes_itemValidationError = validate$L(obj_deletedNodes_item, path_deletedNodes_item);
|
|
6271
6287
|
if (referencepath_deletedNodes_itemValidationError !== null) {
|
|
6272
6288
|
let message = 'Object doesn\'t match ConfiguratorDeletedNodeInputRepresentation (at "' + path_deletedNodes_item + '")\n';
|
|
6273
6289
|
message += referencepath_deletedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6375,7 +6391,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6375
6391
|
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
6376
6392
|
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
6377
6393
|
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
6378
|
-
const referencepath_updatedNodes_itemValidationError = validate$
|
|
6394
|
+
const referencepath_updatedNodes_itemValidationError = validate$K(obj_updatedNodes_item, path_updatedNodes_item);
|
|
6379
6395
|
if (referencepath_updatedNodes_itemValidationError !== null) {
|
|
6380
6396
|
let message = 'Object doesn\'t match ConfiguratorUpdatedNodeInputRepresentation (at "' + path_updatedNodes_item + '")\n';
|
|
6381
6397
|
message += referencepath_updatedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6387,7 +6403,7 @@ function validate$I(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
6387
6403
|
return v_error === undefined ? null : v_error;
|
|
6388
6404
|
}
|
|
6389
6405
|
|
|
6390
|
-
function validate$
|
|
6406
|
+
function validate$I(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentation') {
|
|
6391
6407
|
const v_error = (() => {
|
|
6392
6408
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6393
6409
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6424,7 +6440,7 @@ function validate$H(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentatio
|
|
|
6424
6440
|
return v_error === undefined ? null : v_error;
|
|
6425
6441
|
}
|
|
6426
6442
|
|
|
6427
|
-
function validate$
|
|
6443
|
+
function validate$H(obj, path = 'ConfiguratorAttributePicklistValueOutputRepresentation') {
|
|
6428
6444
|
const v_error = (() => {
|
|
6429
6445
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6430
6446
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6503,7 +6519,7 @@ function validate$G(obj, path = 'ConfiguratorAttributePicklistValueOutputReprese
|
|
|
6503
6519
|
return v_error === undefined ? null : v_error;
|
|
6504
6520
|
}
|
|
6505
6521
|
|
|
6506
|
-
function validate$
|
|
6522
|
+
function validate$G(obj, path = 'ConfiguratorAttributePicklistOutputRepresentation') {
|
|
6507
6523
|
const v_error = (() => {
|
|
6508
6524
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6509
6525
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6545,7 +6561,7 @@ function validate$F(obj, path = 'ConfiguratorAttributePicklistOutputRepresentati
|
|
|
6545
6561
|
for (let i = 0; i < obj_values.length; i++) {
|
|
6546
6562
|
const obj_values_item = obj_values[i];
|
|
6547
6563
|
const path_values_item = path_values + '[' + i + ']';
|
|
6548
|
-
const referencepath_values_itemValidationError = validate$
|
|
6564
|
+
const referencepath_values_itemValidationError = validate$H(obj_values_item, path_values_item);
|
|
6549
6565
|
if (referencepath_values_itemValidationError !== null) {
|
|
6550
6566
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
6551
6567
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6557,7 +6573,7 @@ function validate$F(obj, path = 'ConfiguratorAttributePicklistOutputRepresentati
|
|
|
6557
6573
|
return v_error === undefined ? null : v_error;
|
|
6558
6574
|
}
|
|
6559
6575
|
|
|
6560
|
-
function validate$
|
|
6576
|
+
function validate$F(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation') {
|
|
6561
6577
|
const v_error = (() => {
|
|
6562
6578
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6563
6579
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6601,7 +6617,7 @@ function validate$E(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation')
|
|
|
6601
6617
|
return v_error === undefined ? null : v_error;
|
|
6602
6618
|
}
|
|
6603
6619
|
|
|
6604
|
-
function validate$
|
|
6620
|
+
function validate$E(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
6605
6621
|
const v_error = (() => {
|
|
6606
6622
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6607
6623
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6623,7 +6639,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6623
6639
|
if (obj.attributePicklist !== undefined) {
|
|
6624
6640
|
const obj_attributePicklist = obj.attributePicklist;
|
|
6625
6641
|
const path_attributePicklist = path + '.attributePicklist';
|
|
6626
|
-
const referencepath_attributePicklistValidationError = validate$
|
|
6642
|
+
const referencepath_attributePicklistValidationError = validate$G(obj_attributePicklist, path_attributePicklist);
|
|
6627
6643
|
if (referencepath_attributePicklistValidationError !== null) {
|
|
6628
6644
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistOutputRepresentation (at "' + path_attributePicklist + '")\n';
|
|
6629
6645
|
message += referencepath_attributePicklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6780,7 +6796,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6780
6796
|
if (obj.unitOfMeasure !== undefined) {
|
|
6781
6797
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
6782
6798
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
6783
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
6799
|
+
const referencepath_unitOfMeasureValidationError = validate$F(obj_unitOfMeasure, path_unitOfMeasure);
|
|
6784
6800
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
6785
6801
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
6786
6802
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6812,7 +6828,7 @@ function validate$D(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
6812
6828
|
return v_error === undefined ? null : v_error;
|
|
6813
6829
|
}
|
|
6814
6830
|
|
|
6815
|
-
function validate$
|
|
6831
|
+
function validate$D(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentation') {
|
|
6816
6832
|
const v_error = (() => {
|
|
6817
6833
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6818
6834
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6826,7 +6842,7 @@ function validate$C(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentati
|
|
|
6826
6842
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
6827
6843
|
const obj_attributes_item = obj_attributes[i];
|
|
6828
6844
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
6829
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
6845
|
+
const referencepath_attributes_itemValidationError = validate$E(obj_attributes_item, path_attributes_item);
|
|
6830
6846
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
6831
6847
|
let message = 'Object doesn\'t match ConfiguratorAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
6832
6848
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6887,7 +6903,7 @@ function validate$C(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentati
|
|
|
6887
6903
|
return v_error === undefined ? null : v_error;
|
|
6888
6904
|
}
|
|
6889
6905
|
|
|
6890
|
-
function validate$
|
|
6906
|
+
function validate$C(obj, path = 'ConfiguratorPricingModelOutputRepresentation') {
|
|
6891
6907
|
const v_error = (() => {
|
|
6892
6908
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6893
6909
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6938,7 +6954,7 @@ function validate$B(obj, path = 'ConfiguratorPricingModelOutputRepresentation')
|
|
|
6938
6954
|
return v_error === undefined ? null : v_error;
|
|
6939
6955
|
}
|
|
6940
6956
|
|
|
6941
|
-
function validate$
|
|
6957
|
+
function validate$B(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
6942
6958
|
const v_error = (() => {
|
|
6943
6959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6944
6960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7002,7 +7018,7 @@ function validate$A(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
7002
7018
|
if (obj.pricingModel !== undefined) {
|
|
7003
7019
|
const obj_pricingModel = obj.pricingModel;
|
|
7004
7020
|
const path_pricingModel = path + '.pricingModel';
|
|
7005
|
-
const referencepath_pricingModelValidationError = validate$
|
|
7021
|
+
const referencepath_pricingModelValidationError = validate$C(obj_pricingModel, path_pricingModel);
|
|
7006
7022
|
if (referencepath_pricingModelValidationError !== null) {
|
|
7007
7023
|
let message = 'Object doesn\'t match ConfiguratorPricingModelOutputRepresentation (at "' + path_pricingModel + '")\n';
|
|
7008
7024
|
message += referencepath_pricingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7016,7 +7032,7 @@ function validate$A(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
7016
7032
|
return v_error === undefined ? null : v_error;
|
|
7017
7033
|
}
|
|
7018
7034
|
|
|
7019
|
-
function validate$
|
|
7035
|
+
function validate$A(obj, path = 'ConfiguratorProductClassificationOutputRepresentation') {
|
|
7020
7036
|
const v_error = (() => {
|
|
7021
7037
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7022
7038
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7032,7 +7048,7 @@ function validate$z(obj, path = 'ConfiguratorProductClassificationOutputRepresen
|
|
|
7032
7048
|
return v_error === undefined ? null : v_error;
|
|
7033
7049
|
}
|
|
7034
7050
|
|
|
7035
|
-
function validate$
|
|
7051
|
+
function validate$z(obj, path = 'ConfiguratorProductComponentGroupOutputRepresentation') {
|
|
7036
7052
|
const v_error = (() => {
|
|
7037
7053
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7038
7054
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7046,7 +7062,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7046
7062
|
for (let i = 0; i < obj_childGroups.length; i++) {
|
|
7047
7063
|
const obj_childGroups_item = obj_childGroups[i];
|
|
7048
7064
|
const path_childGroups_item = path_childGroups + '[' + i + ']';
|
|
7049
|
-
const referencepath_childGroups_itemValidationError = validate$
|
|
7065
|
+
const referencepath_childGroups_itemValidationError = validate$z(obj_childGroups_item, path_childGroups_item);
|
|
7050
7066
|
if (referencepath_childGroups_itemValidationError !== null) {
|
|
7051
7067
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_childGroups_item + '")\n';
|
|
7052
7068
|
message += referencepath_childGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7063,7 +7079,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7063
7079
|
for (let i = 0; i < obj_classifications.length; i++) {
|
|
7064
7080
|
const obj_classifications_item = obj_classifications[i];
|
|
7065
7081
|
const path_classifications_item = path_classifications + '[' + i + ']';
|
|
7066
|
-
const referencepath_classifications_itemValidationError = validate$
|
|
7082
|
+
const referencepath_classifications_itemValidationError = validate$A(obj_classifications_item, path_classifications_item);
|
|
7067
7083
|
if (referencepath_classifications_itemValidationError !== null) {
|
|
7068
7084
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_classifications_item + '")\n';
|
|
7069
7085
|
message += referencepath_classifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7087,7 +7103,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7087
7103
|
for (let i = 0; i < obj_components.length; i++) {
|
|
7088
7104
|
const obj_components_item = obj_components[i];
|
|
7089
7105
|
const path_components_item = path_components + '[' + i + ']';
|
|
7090
|
-
const referencepath_components_itemValidationError = validate$
|
|
7106
|
+
const referencepath_components_itemValidationError = validate$u(obj_components_item, path_components_item);
|
|
7091
7107
|
if (referencepath_components_itemValidationError !== null) {
|
|
7092
7108
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_components_item + '")\n';
|
|
7093
7109
|
message += referencepath_components_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7155,7 +7171,7 @@ function validate$y(obj, path = 'ConfiguratorProductComponentGroupOutputRepresen
|
|
|
7155
7171
|
return v_error === undefined ? null : v_error;
|
|
7156
7172
|
}
|
|
7157
7173
|
|
|
7158
|
-
function validate$
|
|
7174
|
+
function validate$y(obj, path = 'ConfiguratorProductRelatedComponentOutputRepresentation') {
|
|
7159
7175
|
const v_error = (() => {
|
|
7160
7176
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7161
7177
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7270,7 +7286,7 @@ function validate$x(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
7270
7286
|
if (obj.unitOfMeasure !== undefined) {
|
|
7271
7287
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
7272
7288
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
7273
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
7289
|
+
const referencepath_unitOfMeasureValidationError = validate$F(obj_unitOfMeasure, path_unitOfMeasure);
|
|
7274
7290
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
7275
7291
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
7276
7292
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7281,7 +7297,7 @@ function validate$x(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
7281
7297
|
return v_error === undefined ? null : v_error;
|
|
7282
7298
|
}
|
|
7283
7299
|
|
|
7284
|
-
function validate$
|
|
7300
|
+
function validate$x(obj, path = 'ConfiguratorProductSellingModelOutputRepresentation') {
|
|
7285
7301
|
const v_error = (() => {
|
|
7286
7302
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7287
7303
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7332,7 +7348,7 @@ function validate$w(obj, path = 'ConfiguratorProductSellingModelOutputRepresenta
|
|
|
7332
7348
|
return v_error === undefined ? null : v_error;
|
|
7333
7349
|
}
|
|
7334
7350
|
|
|
7335
|
-
function validate$
|
|
7351
|
+
function validate$w(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepresentation') {
|
|
7336
7352
|
const v_error = (() => {
|
|
7337
7353
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7338
7354
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7354,7 +7370,7 @@ function validate$v(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
7354
7370
|
if (obj.productSellingModel !== undefined) {
|
|
7355
7371
|
const obj_productSellingModel = obj.productSellingModel;
|
|
7356
7372
|
const path_productSellingModel = path + '.productSellingModel';
|
|
7357
|
-
const referencepath_productSellingModelValidationError = validate$
|
|
7373
|
+
const referencepath_productSellingModelValidationError = validate$x(obj_productSellingModel, path_productSellingModel);
|
|
7358
7374
|
if (referencepath_productSellingModelValidationError !== null) {
|
|
7359
7375
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOutputRepresentation (at "' + path_productSellingModel + '")\n';
|
|
7360
7376
|
message += referencepath_productSellingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7372,7 +7388,7 @@ function validate$v(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
7372
7388
|
return v_error === undefined ? null : v_error;
|
|
7373
7389
|
}
|
|
7374
7390
|
|
|
7375
|
-
function validate$
|
|
7391
|
+
function validate$v(obj, path = 'ConfiguratorQualificationContextOutputRepresentation') {
|
|
7376
7392
|
const v_error = (() => {
|
|
7377
7393
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7378
7394
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7395,7 +7411,7 @@ function validate$u(obj, path = 'ConfiguratorQualificationContextOutputRepresent
|
|
|
7395
7411
|
return v_error === undefined ? null : v_error;
|
|
7396
7412
|
}
|
|
7397
7413
|
|
|
7398
|
-
function validate$
|
|
7414
|
+
function validate$u(obj, path = 'ConfiguratorProductCatalogOutputRepresentation') {
|
|
7399
7415
|
const v_error = (() => {
|
|
7400
7416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7401
7417
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7409,7 +7425,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7409
7425
|
for (let i = 0; i < obj_additionalFields.length; i++) {
|
|
7410
7426
|
const obj_additionalFields_item = obj_additionalFields[i];
|
|
7411
7427
|
const path_additionalFields_item = path_additionalFields + '[' + i + ']';
|
|
7412
|
-
const referencepath_additionalFields_itemValidationError = validate$
|
|
7428
|
+
const referencepath_additionalFields_itemValidationError = validate$I(obj_additionalFields_item, path_additionalFields_item);
|
|
7413
7429
|
if (referencepath_additionalFields_itemValidationError !== null) {
|
|
7414
7430
|
let message = 'Object doesn\'t match ConfiguratorAdditionalFieldsOutputRepresentation (at "' + path_additionalFields_item + '")\n';
|
|
7415
7431
|
message += referencepath_additionalFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7426,7 +7442,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7426
7442
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
7427
7443
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
7428
7444
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
7429
|
-
const referencepath_attributeCategories_itemValidationError = validate$
|
|
7445
|
+
const referencepath_attributeCategories_itemValidationError = validate$D(obj_attributeCategories_item, path_attributeCategories_item);
|
|
7430
7446
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
7431
7447
|
let message = 'Object doesn\'t match ConfiguratorAttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
7432
7448
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7548,7 +7564,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7548
7564
|
for (let i = 0; i < obj_prices.length; i++) {
|
|
7549
7565
|
const obj_prices_item = obj_prices[i];
|
|
7550
7566
|
const path_prices_item = path_prices + '[' + i + ']';
|
|
7551
|
-
const referencepath_prices_itemValidationError = validate$
|
|
7567
|
+
const referencepath_prices_itemValidationError = validate$B(obj_prices_item, path_prices_item);
|
|
7552
7568
|
if (referencepath_prices_itemValidationError !== null) {
|
|
7553
7569
|
let message = 'Object doesn\'t match ConfiguratorPriceOutputRepresentation (at "' + path_prices_item + '")\n';
|
|
7554
7570
|
message += referencepath_prices_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7559,7 +7575,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7559
7575
|
if (obj.productClassification !== undefined) {
|
|
7560
7576
|
const obj_productClassification = obj.productClassification;
|
|
7561
7577
|
const path_productClassification = path + '.productClassification';
|
|
7562
|
-
const referencepath_productClassificationValidationError = validate$
|
|
7578
|
+
const referencepath_productClassificationValidationError = validate$A(obj_productClassification, path_productClassification);
|
|
7563
7579
|
if (referencepath_productClassificationValidationError !== null) {
|
|
7564
7580
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
|
|
7565
7581
|
message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7582,7 +7598,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7582
7598
|
for (let i = 0; i < obj_productComponentGroups.length; i++) {
|
|
7583
7599
|
const obj_productComponentGroups_item = obj_productComponentGroups[i];
|
|
7584
7600
|
const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
|
|
7585
|
-
const referencepath_productComponentGroups_itemValidationError = validate$
|
|
7601
|
+
const referencepath_productComponentGroups_itemValidationError = validate$z(obj_productComponentGroups_item, path_productComponentGroups_item);
|
|
7586
7602
|
if (referencepath_productComponentGroups_itemValidationError !== null) {
|
|
7587
7603
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
|
|
7588
7604
|
message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7593,7 +7609,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7593
7609
|
if (obj.productRelatedComponent !== undefined) {
|
|
7594
7610
|
const obj_productRelatedComponent = obj.productRelatedComponent;
|
|
7595
7611
|
const path_productRelatedComponent = path + '.productRelatedComponent';
|
|
7596
|
-
const referencepath_productRelatedComponentValidationError = validate$
|
|
7612
|
+
const referencepath_productRelatedComponentValidationError = validate$y(obj_productRelatedComponent, path_productRelatedComponent);
|
|
7597
7613
|
if (referencepath_productRelatedComponentValidationError !== null) {
|
|
7598
7614
|
let message = 'Object doesn\'t match ConfiguratorProductRelatedComponentOutputRepresentation (at "' + path_productRelatedComponent + '")\n';
|
|
7599
7615
|
message += referencepath_productRelatedComponentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7609,7 +7625,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7609
7625
|
for (let i = 0; i < obj_productSellingModelOptions.length; i++) {
|
|
7610
7626
|
const obj_productSellingModelOptions_item = obj_productSellingModelOptions[i];
|
|
7611
7627
|
const path_productSellingModelOptions_item = path_productSellingModelOptions + '[' + i + ']';
|
|
7612
|
-
const referencepath_productSellingModelOptions_itemValidationError = validate$
|
|
7628
|
+
const referencepath_productSellingModelOptions_itemValidationError = validate$w(obj_productSellingModelOptions_item, path_productSellingModelOptions_item);
|
|
7613
7629
|
if (referencepath_productSellingModelOptions_itemValidationError !== null) {
|
|
7614
7630
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOptionOutputRepresentation (at "' + path_productSellingModelOptions_item + '")\n';
|
|
7615
7631
|
message += referencepath_productSellingModelOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7634,7 +7650,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7634
7650
|
if (obj.qualificationContext !== undefined) {
|
|
7635
7651
|
const obj_qualificationContext = obj.qualificationContext;
|
|
7636
7652
|
const path_qualificationContext = path + '.qualificationContext';
|
|
7637
|
-
const referencepath_qualificationContextValidationError = validate$
|
|
7653
|
+
const referencepath_qualificationContextValidationError = validate$v(obj_qualificationContext, path_qualificationContext);
|
|
7638
7654
|
if (referencepath_qualificationContextValidationError !== null) {
|
|
7639
7655
|
let message = 'Object doesn\'t match ConfiguratorQualificationContextOutputRepresentation (at "' + path_qualificationContext + '")\n';
|
|
7640
7656
|
message += referencepath_qualificationContextValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7651,7 +7667,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7651
7667
|
if (obj.unitOfMeasure !== undefined) {
|
|
7652
7668
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
7653
7669
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
7654
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
7670
|
+
const referencepath_unitOfMeasureValidationError = validate$F(obj_unitOfMeasure, path_unitOfMeasure);
|
|
7655
7671
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
7656
7672
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
7657
7673
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7664,7 +7680,7 @@ function validate$t(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
7664
7680
|
|
|
7665
7681
|
const TTL$9 = 1000;
|
|
7666
7682
|
const VERSION$9 = "2b964fefc1aca8e13065fe8adf646aac";
|
|
7667
|
-
function validate$
|
|
7683
|
+
function validate$t(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
7668
7684
|
const v_error = (() => {
|
|
7669
7685
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7670
7686
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7678,7 +7694,7 @@ function validate$s(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
|
7678
7694
|
for (let i = 0; i < obj_catalogProducts.length; i++) {
|
|
7679
7695
|
const obj_catalogProducts_item = obj_catalogProducts[i];
|
|
7680
7696
|
const path_catalogProducts_item = path_catalogProducts + '[' + i + ']';
|
|
7681
|
-
const referencepath_catalogProducts_itemValidationError = validate$
|
|
7697
|
+
const referencepath_catalogProducts_itemValidationError = validate$u(obj_catalogProducts_item, path_catalogProducts_item);
|
|
7682
7698
|
if (referencepath_catalogProducts_itemValidationError !== null) {
|
|
7683
7699
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_catalogProducts_item + '")\n';
|
|
7684
7700
|
message += referencepath_catalogProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7786,7 +7802,7 @@ function equals$9(existing, incoming) {
|
|
|
7786
7802
|
}
|
|
7787
7803
|
const ingest$9 = function ConfiguratorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7788
7804
|
if (process.env.NODE_ENV !== 'production') {
|
|
7789
|
-
const validateError = validate$
|
|
7805
|
+
const validateError = validate$t(input);
|
|
7790
7806
|
if (validateError !== null) {
|
|
7791
7807
|
throw validateError;
|
|
7792
7808
|
}
|
|
@@ -7852,7 +7868,7 @@ const createResourceParams$b = /*#__PURE__*/ createResourceParams$r(configure_Co
|
|
|
7852
7868
|
function typeCheckConfig$b(untrustedConfig) {
|
|
7853
7869
|
const config = {};
|
|
7854
7870
|
const untrustedConfig_configuratorInput = untrustedConfig.configuratorInput;
|
|
7855
|
-
const referenceConfiguratorInputRepresentationValidationError = validate$
|
|
7871
|
+
const referenceConfiguratorInputRepresentationValidationError = validate$J(untrustedConfig_configuratorInput);
|
|
7856
7872
|
if (referenceConfiguratorInputRepresentationValidationError === null) {
|
|
7857
7873
|
config.configuratorInput = untrustedConfig_configuratorInput;
|
|
7858
7874
|
}
|
|
@@ -7902,7 +7918,7 @@ const configureAdapterFactory = (luvio) => {
|
|
|
7902
7918
|
|
|
7903
7919
|
const TTL$8 = 1000;
|
|
7904
7920
|
const VERSION$8 = "8e3c9e65f1fddd951abbd11521a4b723";
|
|
7905
|
-
function validate$
|
|
7921
|
+
function validate$s(obj, path = 'ConfiguratorRuleOutputRepresentation') {
|
|
7906
7922
|
const v_error = (() => {
|
|
7907
7923
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7908
7924
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7986,7 +8002,7 @@ function equals$8(existing, incoming) {
|
|
|
7986
8002
|
}
|
|
7987
8003
|
const ingest$8 = function ConfiguratorRuleOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7988
8004
|
if (process.env.NODE_ENV !== 'production') {
|
|
7989
|
-
const validateError = validate$
|
|
8005
|
+
const validateError = validate$s(input);
|
|
7990
8006
|
if (validateError !== null) {
|
|
7991
8007
|
throw validateError;
|
|
7992
8008
|
}
|
|
@@ -8290,7 +8306,7 @@ const updateRuleAdapterFactory = (luvio) => {
|
|
|
8290
8306
|
|
|
8291
8307
|
const TTL$7 = 1000;
|
|
8292
8308
|
const VERSION$7 = "1be371071f697a9043a29a27c23d89f4";
|
|
8293
|
-
function validate$
|
|
8309
|
+
function validate$r(obj, path = 'ConfiguratorRuleValidatorOutputRepresentation') {
|
|
8294
8310
|
const v_error = (() => {
|
|
8295
8311
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8296
8312
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8344,7 +8360,7 @@ function equals$7(existing, incoming) {
|
|
|
8344
8360
|
}
|
|
8345
8361
|
const ingest$7 = function ConfiguratorRuleValidatorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8346
8362
|
if (process.env.NODE_ENV !== 'production') {
|
|
8347
|
-
const validateError = validate$
|
|
8363
|
+
const validateError = validate$r(input);
|
|
8348
8364
|
if (validateError !== null) {
|
|
8349
8365
|
throw validateError;
|
|
8350
8366
|
}
|
|
@@ -8456,7 +8472,7 @@ const validateRuleAdapterFactory = (luvio) => {
|
|
|
8456
8472
|
|
|
8457
8473
|
const TTL$6 = 1000;
|
|
8458
8474
|
const VERSION$6 = "6bce26088e4b8564d9ee7c02403d414b";
|
|
8459
|
-
function validate$
|
|
8475
|
+
function validate$q(obj, path = 'FavoriteOutputRepresenation') {
|
|
8460
8476
|
const v_error = (() => {
|
|
8461
8477
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8462
8478
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8518,7 +8534,7 @@ function equals$6(existing, incoming) {
|
|
|
8518
8534
|
}
|
|
8519
8535
|
const ingest$6 = function FavoriteOutputRepresenationIngest(input, path, luvio, store, timestamp) {
|
|
8520
8536
|
if (process.env.NODE_ENV !== 'production') {
|
|
8521
|
-
const validateError = validate$
|
|
8537
|
+
const validateError = validate$q(input);
|
|
8522
8538
|
if (validateError !== null) {
|
|
8523
8539
|
throw validateError;
|
|
8524
8540
|
}
|
|
@@ -8540,7 +8556,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8540
8556
|
|
|
8541
8557
|
const TTL$5 = 1000;
|
|
8542
8558
|
const VERSION$5 = "c521dd2b17ea5e623d9df6f96e19e180";
|
|
8543
|
-
function validate$
|
|
8559
|
+
function validate$p(obj, path = 'FavoriteListOutputRepresenation') {
|
|
8544
8560
|
const v_error = (() => {
|
|
8545
8561
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8546
8562
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8565,7 +8581,7 @@ function validate$o(obj, path = 'FavoriteListOutputRepresenation') {
|
|
|
8565
8581
|
for (let i = 0; i < obj_savedConfigurations.length; i++) {
|
|
8566
8582
|
const obj_savedConfigurations_item = obj_savedConfigurations[i];
|
|
8567
8583
|
const path_savedConfigurations_item = path_savedConfigurations + '[' + i + ']';
|
|
8568
|
-
const referencepath_savedConfigurations_itemValidationError = validate$
|
|
8584
|
+
const referencepath_savedConfigurations_itemValidationError = validate$q(obj_savedConfigurations_item, path_savedConfigurations_item);
|
|
8569
8585
|
if (referencepath_savedConfigurations_itemValidationError !== null) {
|
|
8570
8586
|
let message = 'Object doesn\'t match FavoriteOutputRepresenation (at "' + path_savedConfigurations_item + '")\n';
|
|
8571
8587
|
message += referencepath_savedConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8600,7 +8616,7 @@ function equals$5(existing, incoming) {
|
|
|
8600
8616
|
}
|
|
8601
8617
|
const ingest$5 = function FavoriteListOutputRepresenationIngest(input, path, luvio, store, timestamp) {
|
|
8602
8618
|
if (process.env.NODE_ENV !== 'production') {
|
|
8603
|
-
const validateError = validate$
|
|
8619
|
+
const validateError = validate$p(input);
|
|
8604
8620
|
if (validateError !== null) {
|
|
8605
8621
|
throw validateError;
|
|
8606
8622
|
}
|
|
@@ -8760,7 +8776,7 @@ const getFavoriteAdapterFactory = (luvio) => function cpq__getFavorite(untrusted
|
|
|
8760
8776
|
|
|
8761
8777
|
const TTL$4 = 1000;
|
|
8762
8778
|
const VERSION$4 = "09d50a26bf62c8269bab20d873985dd0";
|
|
8763
|
-
function validate$
|
|
8779
|
+
function validate$o(obj, path = 'CreateFavoriteOutputRepresentation') {
|
|
8764
8780
|
const v_error = (() => {
|
|
8765
8781
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8766
8782
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8814,7 +8830,7 @@ function equals$4(existing, incoming) {
|
|
|
8814
8830
|
}
|
|
8815
8831
|
const ingest$4 = function CreateFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8816
8832
|
if (process.env.NODE_ENV !== 'production') {
|
|
8817
|
-
const validateError = validate$
|
|
8833
|
+
const validateError = validate$o(input);
|
|
8818
8834
|
if (validateError !== null) {
|
|
8819
8835
|
throw validateError;
|
|
8820
8836
|
}
|
|
@@ -9153,7 +9169,7 @@ const deleteFavoriteAdapterFactory = (luvio) => {
|
|
|
9153
9169
|
|
|
9154
9170
|
const TTL$3 = 1000;
|
|
9155
9171
|
const VERSION$3 = "8ac618e4f6c114642d00b7e6d113118c";
|
|
9156
|
-
function validate$
|
|
9172
|
+
function validate$n(obj, path = 'UpdateFavoriteOutputRepresentation') {
|
|
9157
9173
|
const v_error = (() => {
|
|
9158
9174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9159
9175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9207,7 +9223,7 @@ function equals$3(existing, incoming) {
|
|
|
9207
9223
|
}
|
|
9208
9224
|
const ingest$3 = function UpdateFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9209
9225
|
if (process.env.NODE_ENV !== 'production') {
|
|
9210
|
-
const validateError = validate$
|
|
9226
|
+
const validateError = validate$n(input);
|
|
9211
9227
|
if (validateError !== null) {
|
|
9212
9228
|
throw validateError;
|
|
9213
9229
|
}
|
|
@@ -9322,7 +9338,7 @@ const updateFavoriteAdapterFactory = (luvio) => {
|
|
|
9322
9338
|
|
|
9323
9339
|
const TTL$2 = 1000;
|
|
9324
9340
|
const VERSION$2 = "e6a859c01faf4b8d5c20cdc36dbb5b85";
|
|
9325
|
-
function validate$
|
|
9341
|
+
function validate$m(obj, path = 'ShareFavoriteOutputRepresentation') {
|
|
9326
9342
|
const v_error = (() => {
|
|
9327
9343
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9328
9344
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9376,7 +9392,7 @@ function equals$2(existing, incoming) {
|
|
|
9376
9392
|
}
|
|
9377
9393
|
const ingest$2 = function ShareFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9378
9394
|
if (process.env.NODE_ENV !== 'production') {
|
|
9379
|
-
const validateError = validate$
|
|
9395
|
+
const validateError = validate$m(input);
|
|
9380
9396
|
if (validateError !== null) {
|
|
9381
9397
|
throw validateError;
|
|
9382
9398
|
}
|
|
@@ -9487,6 +9503,22 @@ const shareFavoriteAdapterFactory = (luvio) => {
|
|
|
9487
9503
|
};
|
|
9488
9504
|
};
|
|
9489
9505
|
|
|
9506
|
+
function validate$l(obj, path = 'ConfigRuleOptionsInputRepresentation') {
|
|
9507
|
+
const v_error = (() => {
|
|
9508
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9509
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9510
|
+
}
|
|
9511
|
+
if (obj.updateContextRequired !== undefined) {
|
|
9512
|
+
const obj_updateContextRequired = obj.updateContextRequired;
|
|
9513
|
+
const path_updateContextRequired = path + '.updateContextRequired';
|
|
9514
|
+
if (typeof obj_updateContextRequired !== 'boolean') {
|
|
9515
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_updateContextRequired + '" (at "' + path_updateContextRequired + '")');
|
|
9516
|
+
}
|
|
9517
|
+
}
|
|
9518
|
+
})();
|
|
9519
|
+
return v_error === undefined ? null : v_error;
|
|
9520
|
+
}
|
|
9521
|
+
|
|
9490
9522
|
function validate$k(obj, path = 'ConfigRuleErrorsOutputRepresentation') {
|
|
9491
9523
|
const v_error = (() => {
|
|
9492
9524
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9855,11 +9887,9 @@ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$r(executeConfi
|
|
|
9855
9887
|
function typeCheckConfig$1(untrustedConfig) {
|
|
9856
9888
|
const config = {};
|
|
9857
9889
|
const untrustedConfig_ruleOptions = untrustedConfig.ruleOptions;
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
config.ruleOptions = untrustedConfig_ruleOptions_object;
|
|
9862
|
-
}
|
|
9890
|
+
const referenceConfigRuleOptionsInputRepresentationValidationError = validate$l(untrustedConfig_ruleOptions);
|
|
9891
|
+
if (referenceConfigRuleOptionsInputRepresentationValidationError === null) {
|
|
9892
|
+
config.ruleOptions = untrustedConfig_ruleOptions;
|
|
9863
9893
|
}
|
|
9864
9894
|
const untrustedConfig_transactionContextId = untrustedConfig.transactionContextId;
|
|
9865
9895
|
if (typeof untrustedConfig_transactionContextId === 'string') {
|
|
@@ -10823,7 +10853,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
10823
10853
|
}
|
|
10824
10854
|
}
|
|
10825
10855
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
10826
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
10856
|
+
const referenceFilterInputRepresentationValidationError = validate$1h(untrustedConfig_filter);
|
|
10827
10857
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
10828
10858
|
config.filter = untrustedConfig_filter;
|
|
10829
10859
|
}
|