@salesforce/lds-adapters-industries-cpq 1.428.0-dev1 → 1.428.0-dev2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-cpq.js +179 -165
- package/dist/es/es2018/types/src/generated/adapters/executeConfigRules.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postRevenueProductConfiguratorRulesActionsExecute.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/types/ConfigRuleInputRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/ConfigRuleOptionsInputRepresentation.d.ts +3 -6
- package/package.json +4 -4
- package/sfdc/index.js +116 -102
- package/src/raml/api.raml +2 -6
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$1p(obj, path = 'ProductDataInput') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +125,7 @@ function validate$1o(obj, path = 'ProductDataInput') {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
const VERSION$t = "16ee7e6452adaa7a1a8e36a1238a4b85";
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$1o(obj, path = 'CpqMessageOutputRepresentation') {
|
|
129
129
|
const v_error = (() => {
|
|
130
130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -247,7 +247,7 @@ function equals$t(existing, incoming) {
|
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
const VERSION$s = "2927abd89d0e76012000aa604b583b6d";
|
|
250
|
-
function validate$
|
|
250
|
+
function validate$1n(obj, path = 'ApiStatusOutputRepresentation') {
|
|
251
251
|
const v_error = (() => {
|
|
252
252
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
253
253
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -261,7 +261,7 @@ function validate$1m(obj, path = 'ApiStatusOutputRepresentation') {
|
|
|
261
261
|
for (let i = 0; i < obj_messages.length; i++) {
|
|
262
262
|
const obj_messages_item = obj_messages[i];
|
|
263
263
|
const path_messages_item = path_messages + '[' + i + ']';
|
|
264
|
-
const referencepath_messages_itemValidationError = validate$
|
|
264
|
+
const referencepath_messages_itemValidationError = validate$1o(obj_messages_item, path_messages_item);
|
|
265
265
|
if (referencepath_messages_itemValidationError !== null) {
|
|
266
266
|
let message = 'Object doesn\'t match CpqMessageOutputRepresentation (at "' + path_messages_item + '")\n';
|
|
267
267
|
message += referencepath_messages_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -352,14 +352,14 @@ function equals$s(existing, incoming) {
|
|
|
352
352
|
|
|
353
353
|
const TTL$j = 1000;
|
|
354
354
|
const VERSION$r = "7d789beb75307985bad3ddf01d82b242";
|
|
355
|
-
function validate$
|
|
355
|
+
function validate$1m(obj, path = 'CpqBaseBulkDetailsOutput') {
|
|
356
356
|
const v_error = (() => {
|
|
357
357
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
358
358
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
359
359
|
}
|
|
360
360
|
const obj_apiStatus = obj.apiStatus;
|
|
361
361
|
const path_apiStatus = path + '.apiStatus';
|
|
362
|
-
const referencepath_apiStatusValidationError = validate$
|
|
362
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
363
363
|
if (referencepath_apiStatusValidationError !== null) {
|
|
364
364
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
365
365
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -430,7 +430,7 @@ function equals$r(existing, incoming) {
|
|
|
430
430
|
}
|
|
431
431
|
const ingest$k = function CpqBaseBulkDetailsOutputIngest(input, path, luvio, store, timestamp) {
|
|
432
432
|
if (process.env.NODE_ENV !== 'production') {
|
|
433
|
-
const validateError = validate$
|
|
433
|
+
const validateError = validate$1m(input);
|
|
434
434
|
if (validateError !== null) {
|
|
435
435
|
throw validateError;
|
|
436
436
|
}
|
|
@@ -520,7 +520,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
520
520
|
const untrustedConfig_productData_array = [];
|
|
521
521
|
for (let i = 0, arrayLength = untrustedConfig_productData.length; i < arrayLength; i++) {
|
|
522
522
|
const untrustedConfig_productData_item = untrustedConfig_productData[i];
|
|
523
|
-
const referenceProductDataInputValidationError = validate$
|
|
523
|
+
const referenceProductDataInputValidationError = validate$1p(untrustedConfig_productData_item);
|
|
524
524
|
if (referenceProductDataInputValidationError === null) {
|
|
525
525
|
untrustedConfig_productData_array.push(untrustedConfig_productData_item);
|
|
526
526
|
}
|
|
@@ -578,7 +578,7 @@ const bulkProductDetailsAdapterFactory = (luvio) => {
|
|
|
578
578
|
};
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
-
function validate$
|
|
581
|
+
function validate$1l(obj, path = 'FilterCriteriaInputRepresentation') {
|
|
582
582
|
const v_error = (() => {
|
|
583
583
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
584
584
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -609,7 +609,7 @@ function validate$1k(obj, path = 'FilterCriteriaInputRepresentation') {
|
|
|
609
609
|
return v_error === undefined ? null : v_error;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
function validate$
|
|
612
|
+
function validate$1k(obj, path = 'FilterInputRepresentation') {
|
|
613
613
|
const v_error = (() => {
|
|
614
614
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
615
615
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -622,7 +622,7 @@ function validate$1j(obj, path = 'FilterInputRepresentation') {
|
|
|
622
622
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
623
623
|
const obj_criteria_item = obj_criteria[i];
|
|
624
624
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
625
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
625
|
+
const referencepath_criteria_itemValidationError = validate$1l(obj_criteria_item, path_criteria_item);
|
|
626
626
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
627
627
|
let message = 'Object doesn\'t match FilterCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
628
628
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -635,14 +635,14 @@ function validate$1j(obj, path = 'FilterInputRepresentation') {
|
|
|
635
635
|
|
|
636
636
|
const TTL$i = 1000;
|
|
637
637
|
const VERSION$q = "2f20f99218d11f5ad756aff76b7a815e";
|
|
638
|
-
function validate$
|
|
638
|
+
function validate$1j(obj, path = 'CpqBaseDetailsOutputRepresentation') {
|
|
639
639
|
const v_error = (() => {
|
|
640
640
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
641
641
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
642
642
|
}
|
|
643
643
|
const obj_apiStatus = obj.apiStatus;
|
|
644
644
|
const path_apiStatus = path + '.apiStatus';
|
|
645
|
-
const referencepath_apiStatusValidationError = validate$
|
|
645
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
646
646
|
if (referencepath_apiStatusValidationError !== null) {
|
|
647
647
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
648
648
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -692,7 +692,7 @@ function equals$q(existing, incoming) {
|
|
|
692
692
|
}
|
|
693
693
|
const ingest$j = function CpqBaseDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
694
694
|
if (process.env.NODE_ENV !== 'production') {
|
|
695
|
-
const validateError = validate$
|
|
695
|
+
const validateError = validate$1j(input);
|
|
696
696
|
if (validateError !== null) {
|
|
697
697
|
throw validateError;
|
|
698
698
|
}
|
|
@@ -772,7 +772,7 @@ function typeCheckConfig$p(untrustedConfig) {
|
|
|
772
772
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
773
773
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
774
774
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
775
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
775
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
776
776
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
777
777
|
config.filter = untrustedConfig_filter;
|
|
778
778
|
}
|
|
@@ -835,7 +835,7 @@ const categoryDetailsAdapterFactory = (luvio) => {
|
|
|
835
835
|
};
|
|
836
836
|
};
|
|
837
837
|
|
|
838
|
-
function validate$
|
|
838
|
+
function validate$1i(obj, path = 'FacetValueRepresentation') {
|
|
839
839
|
const v_error = (() => {
|
|
840
840
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
841
841
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -858,7 +858,7 @@ function validate$1h(obj, path = 'FacetValueRepresentation') {
|
|
|
858
858
|
return v_error === undefined ? null : v_error;
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
function validate$
|
|
861
|
+
function validate$1h(obj, path = 'SearchProductsFacetRepresentation') {
|
|
862
862
|
const v_error = (() => {
|
|
863
863
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
864
864
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -900,7 +900,7 @@ function validate$1g(obj, path = 'SearchProductsFacetRepresentation') {
|
|
|
900
900
|
for (let i = 0; i < obj_values.length; i++) {
|
|
901
901
|
const obj_values_item = obj_values[i];
|
|
902
902
|
const path_values_item = path_values + '[' + i + ']';
|
|
903
|
-
const referencepath_values_itemValidationError = validate$
|
|
903
|
+
const referencepath_values_itemValidationError = validate$1i(obj_values_item, path_values_item);
|
|
904
904
|
if (referencepath_values_itemValidationError !== null) {
|
|
905
905
|
let message = 'Object doesn\'t match FacetValueRepresentation (at "' + path_values_item + '")\n';
|
|
906
906
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -914,14 +914,14 @@ function validate$1g(obj, path = 'SearchProductsFacetRepresentation') {
|
|
|
914
914
|
|
|
915
915
|
const TTL$h = 1000;
|
|
916
916
|
const VERSION$p = "4b7b85fac2d5af69b24fafa7375618f8";
|
|
917
|
-
function validate$
|
|
917
|
+
function validate$1g(obj, path = 'CpqBaseListOutputRepresentation') {
|
|
918
918
|
const v_error = (() => {
|
|
919
919
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
920
920
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
921
921
|
}
|
|
922
922
|
const obj_apiStatus = obj.apiStatus;
|
|
923
923
|
const path_apiStatus = path + '.apiStatus';
|
|
924
|
-
const referencepath_apiStatusValidationError = validate$
|
|
924
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
925
925
|
if (referencepath_apiStatusValidationError !== null) {
|
|
926
926
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
927
927
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -942,7 +942,7 @@ function validate$1f(obj, path = 'CpqBaseListOutputRepresentation') {
|
|
|
942
942
|
for (let i = 0; i < obj_facets.length; i++) {
|
|
943
943
|
const obj_facets_item = obj_facets[i];
|
|
944
944
|
const path_facets_item = path_facets + '[' + i + ']';
|
|
945
|
-
const referencepath_facets_itemValidationError = validate$
|
|
945
|
+
const referencepath_facets_itemValidationError = validate$1h(obj_facets_item, path_facets_item);
|
|
946
946
|
if (referencepath_facets_itemValidationError !== null) {
|
|
947
947
|
let message = 'Object doesn\'t match SearchProductsFacetRepresentation (at "' + path_facets_item + '")\n';
|
|
948
948
|
message += referencepath_facets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1021,7 +1021,7 @@ function equals$p(existing, incoming) {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
const ingest$i = function CpqBaseListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1023
1023
|
if (process.env.NODE_ENV !== 'production') {
|
|
1024
|
-
const validateError = validate$
|
|
1024
|
+
const validateError = validate$1g(input);
|
|
1025
1025
|
if (validateError !== null) {
|
|
1026
1026
|
throw validateError;
|
|
1027
1027
|
}
|
|
@@ -1102,7 +1102,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
1102
1102
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
1103
1103
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
1104
1104
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
1105
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
1105
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
1106
1106
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
1107
1107
|
config.filter = untrustedConfig_filter;
|
|
1108
1108
|
}
|
|
@@ -1165,7 +1165,7 @@ const categoryListAdapterFactory = (luvio) => {
|
|
|
1165
1165
|
};
|
|
1166
1166
|
};
|
|
1167
1167
|
|
|
1168
|
-
function validate$
|
|
1168
|
+
function validate$1f(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
1169
1169
|
const v_error = (() => {
|
|
1170
1170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1171
1171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1193,7 +1193,7 @@ function validate$1e(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
|
1193
1193
|
return v_error === undefined ? null : v_error;
|
|
1194
1194
|
}
|
|
1195
1195
|
|
|
1196
|
-
function validate$
|
|
1196
|
+
function validate$1e(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
1197
1197
|
const v_error = (() => {
|
|
1198
1198
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1199
1199
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1258,7 +1258,7 @@ function validate$1d(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
|
1258
1258
|
return v_error === undefined ? null : v_error;
|
|
1259
1259
|
}
|
|
1260
1260
|
|
|
1261
|
-
function validate$
|
|
1261
|
+
function validate$1d(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
1262
1262
|
const v_error = (() => {
|
|
1263
1263
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1264
1264
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1281,7 +1281,7 @@ function validate$1c(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
|
1281
1281
|
return v_error === undefined ? null : v_error;
|
|
1282
1282
|
}
|
|
1283
1283
|
|
|
1284
|
-
function validate$
|
|
1284
|
+
function validate$1c(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
1285
1285
|
const v_error = (() => {
|
|
1286
1286
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1287
1287
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1309,7 +1309,7 @@ function validate$1b(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
|
1309
1309
|
return v_error === undefined ? null : v_error;
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
|
-
function validate$
|
|
1312
|
+
function validate$1b(obj, path = 'ConfiguratorInputRepresentation') {
|
|
1313
1313
|
const v_error = (() => {
|
|
1314
1314
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1315
1315
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1323,7 +1323,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1323
1323
|
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
1324
1324
|
const obj_addedNodes_item = obj_addedNodes[i];
|
|
1325
1325
|
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
1326
|
-
const referencepath_addedNodes_itemValidationError = validate$
|
|
1326
|
+
const referencepath_addedNodes_itemValidationError = validate$1f(obj_addedNodes_item, path_addedNodes_item);
|
|
1327
1327
|
if (referencepath_addedNodes_itemValidationError !== null) {
|
|
1328
1328
|
let message = 'Object doesn\'t match ConfiguratorAddedNodeInputRepresentation (at "' + path_addedNodes_item + '")\n';
|
|
1329
1329
|
message += referencepath_addedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1334,7 +1334,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1334
1334
|
if (obj.configuratorOptions !== undefined) {
|
|
1335
1335
|
const obj_configuratorOptions = obj.configuratorOptions;
|
|
1336
1336
|
const path_configuratorOptions = path + '.configuratorOptions';
|
|
1337
|
-
const referencepath_configuratorOptionsValidationError = validate$
|
|
1337
|
+
const referencepath_configuratorOptionsValidationError = validate$1e(obj_configuratorOptions, path_configuratorOptions);
|
|
1338
1338
|
if (referencepath_configuratorOptionsValidationError !== null) {
|
|
1339
1339
|
let message = 'Object doesn\'t match ConfiguratorOptionsInputRepresentation (at "' + path_configuratorOptions + '")\n';
|
|
1340
1340
|
message += referencepath_configuratorOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1399,7 +1399,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1399
1399
|
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
1400
1400
|
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
1401
1401
|
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
1402
|
-
const referencepath_deletedNodes_itemValidationError = validate$
|
|
1402
|
+
const referencepath_deletedNodes_itemValidationError = validate$1d(obj_deletedNodes_item, path_deletedNodes_item);
|
|
1403
1403
|
if (referencepath_deletedNodes_itemValidationError !== null) {
|
|
1404
1404
|
let message = 'Object doesn\'t match ConfiguratorDeletedNodeInputRepresentation (at "' + path_deletedNodes_item + '")\n';
|
|
1405
1405
|
message += referencepath_deletedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1507,7 +1507,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1507
1507
|
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
1508
1508
|
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
1509
1509
|
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
1510
|
-
const referencepath_updatedNodes_itemValidationError = validate$
|
|
1510
|
+
const referencepath_updatedNodes_itemValidationError = validate$1c(obj_updatedNodes_item, path_updatedNodes_item);
|
|
1511
1511
|
if (referencepath_updatedNodes_itemValidationError !== null) {
|
|
1512
1512
|
let message = 'Object doesn\'t match ConfiguratorUpdatedNodeInputRepresentation (at "' + path_updatedNodes_item + '")\n';
|
|
1513
1513
|
message += referencepath_updatedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1519,7 +1519,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1519
1519
|
return v_error === undefined ? null : v_error;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
function validate$
|
|
1522
|
+
function validate$1a(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentation') {
|
|
1523
1523
|
const v_error = (() => {
|
|
1524
1524
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1525
1525
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1556,7 +1556,7 @@ function validate$19(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentati
|
|
|
1556
1556
|
return v_error === undefined ? null : v_error;
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
function validate$
|
|
1559
|
+
function validate$19(obj, path = 'ConfiguratorAttributePicklistValueOutputRepresentation') {
|
|
1560
1560
|
const v_error = (() => {
|
|
1561
1561
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1562
1562
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1635,7 +1635,7 @@ function validate$18(obj, path = 'ConfiguratorAttributePicklistValueOutputRepres
|
|
|
1635
1635
|
return v_error === undefined ? null : v_error;
|
|
1636
1636
|
}
|
|
1637
1637
|
|
|
1638
|
-
function validate$
|
|
1638
|
+
function validate$18(obj, path = 'ConfiguratorAttributePicklistOutputRepresentation') {
|
|
1639
1639
|
const v_error = (() => {
|
|
1640
1640
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1641
1641
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1677,7 +1677,7 @@ function validate$17(obj, path = 'ConfiguratorAttributePicklistOutputRepresentat
|
|
|
1677
1677
|
for (let i = 0; i < obj_values.length; i++) {
|
|
1678
1678
|
const obj_values_item = obj_values[i];
|
|
1679
1679
|
const path_values_item = path_values + '[' + i + ']';
|
|
1680
|
-
const referencepath_values_itemValidationError = validate$
|
|
1680
|
+
const referencepath_values_itemValidationError = validate$19(obj_values_item, path_values_item);
|
|
1681
1681
|
if (referencepath_values_itemValidationError !== null) {
|
|
1682
1682
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
1683
1683
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1689,7 +1689,7 @@ function validate$17(obj, path = 'ConfiguratorAttributePicklistOutputRepresentat
|
|
|
1689
1689
|
return v_error === undefined ? null : v_error;
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
|
-
function validate$
|
|
1692
|
+
function validate$17(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation') {
|
|
1693
1693
|
const v_error = (() => {
|
|
1694
1694
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1695
1695
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1733,7 +1733,7 @@ function validate$16(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation'
|
|
|
1733
1733
|
return v_error === undefined ? null : v_error;
|
|
1734
1734
|
}
|
|
1735
1735
|
|
|
1736
|
-
function validate$
|
|
1736
|
+
function validate$16(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
1737
1737
|
const v_error = (() => {
|
|
1738
1738
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1739
1739
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1755,7 +1755,7 @@ function validate$15(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
1755
1755
|
if (obj.attributePicklist !== undefined) {
|
|
1756
1756
|
const obj_attributePicklist = obj.attributePicklist;
|
|
1757
1757
|
const path_attributePicklist = path + '.attributePicklist';
|
|
1758
|
-
const referencepath_attributePicklistValidationError = validate$
|
|
1758
|
+
const referencepath_attributePicklistValidationError = validate$18(obj_attributePicklist, path_attributePicklist);
|
|
1759
1759
|
if (referencepath_attributePicklistValidationError !== null) {
|
|
1760
1760
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistOutputRepresentation (at "' + path_attributePicklist + '")\n';
|
|
1761
1761
|
message += referencepath_attributePicklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1912,7 +1912,7 @@ function validate$15(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
1912
1912
|
if (obj.unitOfMeasure !== undefined) {
|
|
1913
1913
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
1914
1914
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
1915
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
1915
|
+
const referencepath_unitOfMeasureValidationError = validate$17(obj_unitOfMeasure, path_unitOfMeasure);
|
|
1916
1916
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
1917
1917
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
1918
1918
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1944,7 +1944,7 @@ function validate$15(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
1944
1944
|
return v_error === undefined ? null : v_error;
|
|
1945
1945
|
}
|
|
1946
1946
|
|
|
1947
|
-
function validate$
|
|
1947
|
+
function validate$15(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentation') {
|
|
1948
1948
|
const v_error = (() => {
|
|
1949
1949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1950
1950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1958,7 +1958,7 @@ function validate$14(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentat
|
|
|
1958
1958
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1959
1959
|
const obj_attributes_item = obj_attributes[i];
|
|
1960
1960
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1961
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1961
|
+
const referencepath_attributes_itemValidationError = validate$16(obj_attributes_item, path_attributes_item);
|
|
1962
1962
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1963
1963
|
let message = 'Object doesn\'t match ConfiguratorAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
1964
1964
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2019,7 +2019,7 @@ function validate$14(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentat
|
|
|
2019
2019
|
return v_error === undefined ? null : v_error;
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
2022
|
-
function validate$
|
|
2022
|
+
function validate$14(obj, path = 'ConfiguratorPricingModelOutputRepresentation') {
|
|
2023
2023
|
const v_error = (() => {
|
|
2024
2024
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2025
2025
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2070,7 +2070,7 @@ function validate$13(obj, path = 'ConfiguratorPricingModelOutputRepresentation')
|
|
|
2070
2070
|
return v_error === undefined ? null : v_error;
|
|
2071
2071
|
}
|
|
2072
2072
|
|
|
2073
|
-
function validate$
|
|
2073
|
+
function validate$13(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
2074
2074
|
const v_error = (() => {
|
|
2075
2075
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2076
2076
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2134,7 +2134,7 @@ function validate$12(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
2134
2134
|
if (obj.pricingModel !== undefined) {
|
|
2135
2135
|
const obj_pricingModel = obj.pricingModel;
|
|
2136
2136
|
const path_pricingModel = path + '.pricingModel';
|
|
2137
|
-
const referencepath_pricingModelValidationError = validate$
|
|
2137
|
+
const referencepath_pricingModelValidationError = validate$14(obj_pricingModel, path_pricingModel);
|
|
2138
2138
|
if (referencepath_pricingModelValidationError !== null) {
|
|
2139
2139
|
let message = 'Object doesn\'t match ConfiguratorPricingModelOutputRepresentation (at "' + path_pricingModel + '")\n';
|
|
2140
2140
|
message += referencepath_pricingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2148,7 +2148,7 @@ function validate$12(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
2148
2148
|
return v_error === undefined ? null : v_error;
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
|
-
function validate$
|
|
2151
|
+
function validate$12(obj, path = 'ConfiguratorProductClassificationOutputRepresentation') {
|
|
2152
2152
|
const v_error = (() => {
|
|
2153
2153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2154
2154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2164,7 +2164,7 @@ function validate$11(obj, path = 'ConfiguratorProductClassificationOutputReprese
|
|
|
2164
2164
|
return v_error === undefined ? null : v_error;
|
|
2165
2165
|
}
|
|
2166
2166
|
|
|
2167
|
-
function validate$
|
|
2167
|
+
function validate$11(obj, path = 'ConfiguratorProductComponentGroupOutputRepresentation') {
|
|
2168
2168
|
const v_error = (() => {
|
|
2169
2169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2170
2170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2178,7 +2178,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2178
2178
|
for (let i = 0; i < obj_childGroups.length; i++) {
|
|
2179
2179
|
const obj_childGroups_item = obj_childGroups[i];
|
|
2180
2180
|
const path_childGroups_item = path_childGroups + '[' + i + ']';
|
|
2181
|
-
const referencepath_childGroups_itemValidationError = validate$
|
|
2181
|
+
const referencepath_childGroups_itemValidationError = validate$11(obj_childGroups_item, path_childGroups_item);
|
|
2182
2182
|
if (referencepath_childGroups_itemValidationError !== null) {
|
|
2183
2183
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_childGroups_item + '")\n';
|
|
2184
2184
|
message += referencepath_childGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2195,7 +2195,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2195
2195
|
for (let i = 0; i < obj_classifications.length; i++) {
|
|
2196
2196
|
const obj_classifications_item = obj_classifications[i];
|
|
2197
2197
|
const path_classifications_item = path_classifications + '[' + i + ']';
|
|
2198
|
-
const referencepath_classifications_itemValidationError = validate$
|
|
2198
|
+
const referencepath_classifications_itemValidationError = validate$12(obj_classifications_item, path_classifications_item);
|
|
2199
2199
|
if (referencepath_classifications_itemValidationError !== null) {
|
|
2200
2200
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_classifications_item + '")\n';
|
|
2201
2201
|
message += referencepath_classifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2219,7 +2219,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2219
2219
|
for (let i = 0; i < obj_components.length; i++) {
|
|
2220
2220
|
const obj_components_item = obj_components[i];
|
|
2221
2221
|
const path_components_item = path_components + '[' + i + ']';
|
|
2222
|
-
const referencepath_components_itemValidationError = validate$
|
|
2222
|
+
const referencepath_components_itemValidationError = validate$Y(obj_components_item, path_components_item);
|
|
2223
2223
|
if (referencepath_components_itemValidationError !== null) {
|
|
2224
2224
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_components_item + '")\n';
|
|
2225
2225
|
message += referencepath_components_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2287,7 +2287,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2287
2287
|
return v_error === undefined ? null : v_error;
|
|
2288
2288
|
}
|
|
2289
2289
|
|
|
2290
|
-
function validate
|
|
2290
|
+
function validate$10(obj, path = 'ConfiguratorProductRelatedComponentOutputRepresentation') {
|
|
2291
2291
|
const v_error = (() => {
|
|
2292
2292
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2293
2293
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2402,7 +2402,7 @@ function validate$$(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
2402
2402
|
if (obj.unitOfMeasure !== undefined) {
|
|
2403
2403
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
2404
2404
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
2405
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
2405
|
+
const referencepath_unitOfMeasureValidationError = validate$17(obj_unitOfMeasure, path_unitOfMeasure);
|
|
2406
2406
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
2407
2407
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
2408
2408
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2413,7 +2413,7 @@ function validate$$(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
2413
2413
|
return v_error === undefined ? null : v_error;
|
|
2414
2414
|
}
|
|
2415
2415
|
|
|
2416
|
-
function validate
|
|
2416
|
+
function validate$$(obj, path = 'ConfiguratorProductSellingModelOutputRepresentation') {
|
|
2417
2417
|
const v_error = (() => {
|
|
2418
2418
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2419
2419
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2464,7 +2464,7 @@ function validate$_(obj, path = 'ConfiguratorProductSellingModelOutputRepresenta
|
|
|
2464
2464
|
return v_error === undefined ? null : v_error;
|
|
2465
2465
|
}
|
|
2466
2466
|
|
|
2467
|
-
function validate$
|
|
2467
|
+
function validate$_(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepresentation') {
|
|
2468
2468
|
const v_error = (() => {
|
|
2469
2469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2470
2470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2486,7 +2486,7 @@ function validate$Z(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
2486
2486
|
if (obj.productSellingModel !== undefined) {
|
|
2487
2487
|
const obj_productSellingModel = obj.productSellingModel;
|
|
2488
2488
|
const path_productSellingModel = path + '.productSellingModel';
|
|
2489
|
-
const referencepath_productSellingModelValidationError = validate
|
|
2489
|
+
const referencepath_productSellingModelValidationError = validate$$(obj_productSellingModel, path_productSellingModel);
|
|
2490
2490
|
if (referencepath_productSellingModelValidationError !== null) {
|
|
2491
2491
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOutputRepresentation (at "' + path_productSellingModel + '")\n';
|
|
2492
2492
|
message += referencepath_productSellingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2504,7 +2504,7 @@ function validate$Z(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
2504
2504
|
return v_error === undefined ? null : v_error;
|
|
2505
2505
|
}
|
|
2506
2506
|
|
|
2507
|
-
function validate$
|
|
2507
|
+
function validate$Z(obj, path = 'ConfiguratorQualificationContextOutputRepresentation') {
|
|
2508
2508
|
const v_error = (() => {
|
|
2509
2509
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2510
2510
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2527,7 +2527,7 @@ function validate$Y(obj, path = 'ConfiguratorQualificationContextOutputRepresent
|
|
|
2527
2527
|
return v_error === undefined ? null : v_error;
|
|
2528
2528
|
}
|
|
2529
2529
|
|
|
2530
|
-
function validate$
|
|
2530
|
+
function validate$Y(obj, path = 'ConfiguratorProductCatalogOutputRepresentation') {
|
|
2531
2531
|
const v_error = (() => {
|
|
2532
2532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2533
2533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2541,7 +2541,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2541
2541
|
for (let i = 0; i < obj_additionalFields.length; i++) {
|
|
2542
2542
|
const obj_additionalFields_item = obj_additionalFields[i];
|
|
2543
2543
|
const path_additionalFields_item = path_additionalFields + '[' + i + ']';
|
|
2544
|
-
const referencepath_additionalFields_itemValidationError = validate$
|
|
2544
|
+
const referencepath_additionalFields_itemValidationError = validate$1a(obj_additionalFields_item, path_additionalFields_item);
|
|
2545
2545
|
if (referencepath_additionalFields_itemValidationError !== null) {
|
|
2546
2546
|
let message = 'Object doesn\'t match ConfiguratorAdditionalFieldsOutputRepresentation (at "' + path_additionalFields_item + '")\n';
|
|
2547
2547
|
message += referencepath_additionalFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2558,7 +2558,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2558
2558
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
2559
2559
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
2560
2560
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
2561
|
-
const referencepath_attributeCategories_itemValidationError = validate$
|
|
2561
|
+
const referencepath_attributeCategories_itemValidationError = validate$15(obj_attributeCategories_item, path_attributeCategories_item);
|
|
2562
2562
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
2563
2563
|
let message = 'Object doesn\'t match ConfiguratorAttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
2564
2564
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2680,7 +2680,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2680
2680
|
for (let i = 0; i < obj_prices.length; i++) {
|
|
2681
2681
|
const obj_prices_item = obj_prices[i];
|
|
2682
2682
|
const path_prices_item = path_prices + '[' + i + ']';
|
|
2683
|
-
const referencepath_prices_itemValidationError = validate$
|
|
2683
|
+
const referencepath_prices_itemValidationError = validate$13(obj_prices_item, path_prices_item);
|
|
2684
2684
|
if (referencepath_prices_itemValidationError !== null) {
|
|
2685
2685
|
let message = 'Object doesn\'t match ConfiguratorPriceOutputRepresentation (at "' + path_prices_item + '")\n';
|
|
2686
2686
|
message += referencepath_prices_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2691,7 +2691,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2691
2691
|
if (obj.productClassification !== undefined) {
|
|
2692
2692
|
const obj_productClassification = obj.productClassification;
|
|
2693
2693
|
const path_productClassification = path + '.productClassification';
|
|
2694
|
-
const referencepath_productClassificationValidationError = validate$
|
|
2694
|
+
const referencepath_productClassificationValidationError = validate$12(obj_productClassification, path_productClassification);
|
|
2695
2695
|
if (referencepath_productClassificationValidationError !== null) {
|
|
2696
2696
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
|
|
2697
2697
|
message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2714,7 +2714,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2714
2714
|
for (let i = 0; i < obj_productComponentGroups.length; i++) {
|
|
2715
2715
|
const obj_productComponentGroups_item = obj_productComponentGroups[i];
|
|
2716
2716
|
const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
|
|
2717
|
-
const referencepath_productComponentGroups_itemValidationError = validate$
|
|
2717
|
+
const referencepath_productComponentGroups_itemValidationError = validate$11(obj_productComponentGroups_item, path_productComponentGroups_item);
|
|
2718
2718
|
if (referencepath_productComponentGroups_itemValidationError !== null) {
|
|
2719
2719
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
|
|
2720
2720
|
message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2725,7 +2725,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2725
2725
|
if (obj.productRelatedComponent !== undefined) {
|
|
2726
2726
|
const obj_productRelatedComponent = obj.productRelatedComponent;
|
|
2727
2727
|
const path_productRelatedComponent = path + '.productRelatedComponent';
|
|
2728
|
-
const referencepath_productRelatedComponentValidationError = validate
|
|
2728
|
+
const referencepath_productRelatedComponentValidationError = validate$10(obj_productRelatedComponent, path_productRelatedComponent);
|
|
2729
2729
|
if (referencepath_productRelatedComponentValidationError !== null) {
|
|
2730
2730
|
let message = 'Object doesn\'t match ConfiguratorProductRelatedComponentOutputRepresentation (at "' + path_productRelatedComponent + '")\n';
|
|
2731
2731
|
message += referencepath_productRelatedComponentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2741,7 +2741,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2741
2741
|
for (let i = 0; i < obj_productSellingModelOptions.length; i++) {
|
|
2742
2742
|
const obj_productSellingModelOptions_item = obj_productSellingModelOptions[i];
|
|
2743
2743
|
const path_productSellingModelOptions_item = path_productSellingModelOptions + '[' + i + ']';
|
|
2744
|
-
const referencepath_productSellingModelOptions_itemValidationError = validate$
|
|
2744
|
+
const referencepath_productSellingModelOptions_itemValidationError = validate$_(obj_productSellingModelOptions_item, path_productSellingModelOptions_item);
|
|
2745
2745
|
if (referencepath_productSellingModelOptions_itemValidationError !== null) {
|
|
2746
2746
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOptionOutputRepresentation (at "' + path_productSellingModelOptions_item + '")\n';
|
|
2747
2747
|
message += referencepath_productSellingModelOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2766,7 +2766,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2766
2766
|
if (obj.qualificationContext !== undefined) {
|
|
2767
2767
|
const obj_qualificationContext = obj.qualificationContext;
|
|
2768
2768
|
const path_qualificationContext = path + '.qualificationContext';
|
|
2769
|
-
const referencepath_qualificationContextValidationError = validate$
|
|
2769
|
+
const referencepath_qualificationContextValidationError = validate$Z(obj_qualificationContext, path_qualificationContext);
|
|
2770
2770
|
if (referencepath_qualificationContextValidationError !== null) {
|
|
2771
2771
|
let message = 'Object doesn\'t match ConfiguratorQualificationContextOutputRepresentation (at "' + path_qualificationContext + '")\n';
|
|
2772
2772
|
message += referencepath_qualificationContextValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2783,7 +2783,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2783
2783
|
if (obj.unitOfMeasure !== undefined) {
|
|
2784
2784
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
2785
2785
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
2786
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
2786
|
+
const referencepath_unitOfMeasureValidationError = validate$17(obj_unitOfMeasure, path_unitOfMeasure);
|
|
2787
2787
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
2788
2788
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
2789
2789
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2796,7 +2796,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2796
2796
|
|
|
2797
2797
|
const TTL$g = 1000;
|
|
2798
2798
|
const VERSION$o = "2b964fefc1aca8e13065fe8adf646aac";
|
|
2799
|
-
function validate$
|
|
2799
|
+
function validate$X(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
2800
2800
|
const v_error = (() => {
|
|
2801
2801
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2802
2802
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2810,7 +2810,7 @@ function validate$W(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
|
2810
2810
|
for (let i = 0; i < obj_catalogProducts.length; i++) {
|
|
2811
2811
|
const obj_catalogProducts_item = obj_catalogProducts[i];
|
|
2812
2812
|
const path_catalogProducts_item = path_catalogProducts + '[' + i + ']';
|
|
2813
|
-
const referencepath_catalogProducts_itemValidationError = validate$
|
|
2813
|
+
const referencepath_catalogProducts_itemValidationError = validate$Y(obj_catalogProducts_item, path_catalogProducts_item);
|
|
2814
2814
|
if (referencepath_catalogProducts_itemValidationError !== null) {
|
|
2815
2815
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_catalogProducts_item + '")\n';
|
|
2816
2816
|
message += referencepath_catalogProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2918,7 +2918,7 @@ function equals$o(existing, incoming) {
|
|
|
2918
2918
|
}
|
|
2919
2919
|
const ingest$h = function ConfiguratorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2920
2920
|
if (process.env.NODE_ENV !== 'production') {
|
|
2921
|
-
const validateError = validate$
|
|
2921
|
+
const validateError = validate$X(input);
|
|
2922
2922
|
if (validateError !== null) {
|
|
2923
2923
|
throw validateError;
|
|
2924
2924
|
}
|
|
@@ -2984,7 +2984,7 @@ const createResourceParams$n = /*#__PURE__*/ createResourceParams$r(configure_Co
|
|
|
2984
2984
|
function typeCheckConfig$n(untrustedConfig) {
|
|
2985
2985
|
const config = {};
|
|
2986
2986
|
const untrustedConfig_configuratorInput = untrustedConfig.configuratorInput;
|
|
2987
|
-
const referenceConfiguratorInputRepresentationValidationError = validate$
|
|
2987
|
+
const referenceConfiguratorInputRepresentationValidationError = validate$1b(untrustedConfig_configuratorInput);
|
|
2988
2988
|
if (referenceConfiguratorInputRepresentationValidationError === null) {
|
|
2989
2989
|
config.configuratorInput = untrustedConfig_configuratorInput;
|
|
2990
2990
|
}
|
|
@@ -3032,7 +3032,7 @@ const configureAdapterFactory = (luvio) => {
|
|
|
3032
3032
|
};
|
|
3033
3033
|
};
|
|
3034
3034
|
|
|
3035
|
-
function validate$
|
|
3035
|
+
function validate$W(obj, path = 'CreateCartInputRepresentation') {
|
|
3036
3036
|
const v_error = (() => {
|
|
3037
3037
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3038
3038
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3103,14 +3103,14 @@ function validate$V(obj, path = 'CreateCartInputRepresentation') {
|
|
|
3103
3103
|
|
|
3104
3104
|
const TTL$f = 1000;
|
|
3105
3105
|
const VERSION$n = "1f730145ab6b9f6b4d070b5eade57b4c";
|
|
3106
|
-
function validate$
|
|
3106
|
+
function validate$V(obj, path = 'CreateCartOutputRepresentation') {
|
|
3107
3107
|
const v_error = (() => {
|
|
3108
3108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3109
3109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3110
3110
|
}
|
|
3111
3111
|
const obj_apiStatus = obj.apiStatus;
|
|
3112
3112
|
const path_apiStatus = path + '.apiStatus';
|
|
3113
|
-
const referencepath_apiStatusValidationError = validate$
|
|
3113
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
3114
3114
|
if (referencepath_apiStatusValidationError !== null) {
|
|
3115
3115
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
3116
3116
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3155,7 +3155,7 @@ function equals$n(existing, incoming) {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
const ingest$g = function CreateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3157
3157
|
if (process.env.NODE_ENV !== 'production') {
|
|
3158
|
-
const validateError = validate$
|
|
3158
|
+
const validateError = validate$V(input);
|
|
3159
3159
|
if (validateError !== null) {
|
|
3160
3160
|
throw validateError;
|
|
3161
3161
|
}
|
|
@@ -3221,7 +3221,7 @@ const createResourceParams$m = /*#__PURE__*/ createResourceParams$r(createCart_C
|
|
|
3221
3221
|
function typeCheckConfig$m(untrustedConfig) {
|
|
3222
3222
|
const config = {};
|
|
3223
3223
|
const untrustedConfig_createCartRequestPayload = untrustedConfig.createCartRequestPayload;
|
|
3224
|
-
const referenceCreateCartInputRepresentationValidationError = validate$
|
|
3224
|
+
const referenceCreateCartInputRepresentationValidationError = validate$W(untrustedConfig_createCartRequestPayload);
|
|
3225
3225
|
if (referenceCreateCartInputRepresentationValidationError === null) {
|
|
3226
3226
|
config.createCartRequestPayload = untrustedConfig_createCartRequestPayload;
|
|
3227
3227
|
}
|
|
@@ -3269,7 +3269,7 @@ const createCartAdapterFactory = (luvio) => {
|
|
|
3269
3269
|
};
|
|
3270
3270
|
};
|
|
3271
3271
|
|
|
3272
|
-
function validate$
|
|
3272
|
+
function validate$U(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
3273
3273
|
const v_error = (() => {
|
|
3274
3274
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3275
3275
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3308,14 +3308,14 @@ function validate$T(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
|
3308
3308
|
|
|
3309
3309
|
const TTL$e = 1000;
|
|
3310
3310
|
const VERSION$m = "34153309b079451754e6d3fbf85bb8bd";
|
|
3311
|
-
function validate$
|
|
3311
|
+
function validate$T(obj, path = 'CreateCartItemsOutputRepresentation') {
|
|
3312
3312
|
const v_error = (() => {
|
|
3313
3313
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3314
3314
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3315
3315
|
}
|
|
3316
3316
|
const obj_apiStatus = obj.apiStatus;
|
|
3317
3317
|
const path_apiStatus = path + '.apiStatus';
|
|
3318
|
-
const referencepath_apiStatusValidationError = validate$
|
|
3318
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
3319
3319
|
if (referencepath_apiStatusValidationError !== null) {
|
|
3320
3320
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
3321
3321
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3360,7 +3360,7 @@ function equals$m(existing, incoming) {
|
|
|
3360
3360
|
}
|
|
3361
3361
|
const ingest$f = function CreateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3362
3362
|
if (process.env.NODE_ENV !== 'production') {
|
|
3363
|
-
const validateError = validate$
|
|
3363
|
+
const validateError = validate$T(input);
|
|
3364
3364
|
if (validateError !== null) {
|
|
3365
3365
|
throw validateError;
|
|
3366
3366
|
}
|
|
@@ -3428,7 +3428,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
3428
3428
|
const config = {};
|
|
3429
3429
|
typeCheckConfig$r(untrustedConfig, config, createCartItems_ConfigPropertyMetadata);
|
|
3430
3430
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
3431
|
-
const referenceCreateCartItemsInputRepresentationValidationError = validate$
|
|
3431
|
+
const referenceCreateCartItemsInputRepresentationValidationError = validate$U(untrustedConfig_requestBody);
|
|
3432
3432
|
if (referenceCreateCartItemsInputRepresentationValidationError === null) {
|
|
3433
3433
|
config.requestBody = untrustedConfig_requestBody;
|
|
3434
3434
|
}
|
|
@@ -3478,7 +3478,7 @@ const createCartItemsAdapterFactory = (luvio) => {
|
|
|
3478
3478
|
|
|
3479
3479
|
const TTL$d = 1000;
|
|
3480
3480
|
const VERSION$l = "09d50a26bf62c8269bab20d873985dd0";
|
|
3481
|
-
function validate$
|
|
3481
|
+
function validate$S(obj, path = 'CreateFavoriteOutputRepresentation') {
|
|
3482
3482
|
const v_error = (() => {
|
|
3483
3483
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3484
3484
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3532,7 +3532,7 @@ function equals$l(existing, incoming) {
|
|
|
3532
3532
|
}
|
|
3533
3533
|
const ingest$e = function CreateFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3534
3534
|
if (process.env.NODE_ENV !== 'production') {
|
|
3535
|
-
const validateError = validate$
|
|
3535
|
+
const validateError = validate$S(input);
|
|
3536
3536
|
if (validateError !== null) {
|
|
3537
3537
|
throw validateError;
|
|
3538
3538
|
}
|
|
@@ -3647,7 +3647,7 @@ const createFavoriteAdapterFactory = (luvio) => {
|
|
|
3647
3647
|
|
|
3648
3648
|
const TTL$c = 1000;
|
|
3649
3649
|
const VERSION$k = "8e3c9e65f1fddd951abbd11521a4b723";
|
|
3650
|
-
function validate$
|
|
3650
|
+
function validate$R(obj, path = 'ConfiguratorRuleOutputRepresentation') {
|
|
3651
3651
|
const v_error = (() => {
|
|
3652
3652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3653
3653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3731,7 +3731,7 @@ function equals$k(existing, incoming) {
|
|
|
3731
3731
|
}
|
|
3732
3732
|
const ingest$d = function ConfiguratorRuleOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3733
3733
|
if (process.env.NODE_ENV !== 'production') {
|
|
3734
|
-
const validateError = validate$
|
|
3734
|
+
const validateError = validate$R(input);
|
|
3735
3735
|
if (validateError !== null) {
|
|
3736
3736
|
throw validateError;
|
|
3737
3737
|
}
|
|
@@ -3894,7 +3894,7 @@ const createRuleAdapterFactory = (luvio) => {
|
|
|
3894
3894
|
|
|
3895
3895
|
const TTL$b = 1000;
|
|
3896
3896
|
const VERSION$j = "6bce26088e4b8564d9ee7c02403d414b";
|
|
3897
|
-
function validate$
|
|
3897
|
+
function validate$Q(obj, path = 'FavoriteOutputRepresenation') {
|
|
3898
3898
|
const v_error = (() => {
|
|
3899
3899
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3900
3900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3956,7 +3956,7 @@ function equals$j(existing, incoming) {
|
|
|
3956
3956
|
}
|
|
3957
3957
|
const ingest$c = function FavoriteOutputRepresenationIngest(input, path, luvio, store, timestamp) {
|
|
3958
3958
|
if (process.env.NODE_ENV !== 'production') {
|
|
3959
|
-
const validateError = validate$
|
|
3959
|
+
const validateError = validate$Q(input);
|
|
3960
3960
|
if (validateError !== null) {
|
|
3961
3961
|
throw validateError;
|
|
3962
3962
|
}
|
|
@@ -4060,6 +4060,22 @@ const deleteFavoriteAdapterFactory = (luvio) => {
|
|
|
4060
4060
|
};
|
|
4061
4061
|
};
|
|
4062
4062
|
|
|
4063
|
+
function validate$P(obj, path = 'ConfigRuleOptionsInputRepresentation') {
|
|
4064
|
+
const v_error = (() => {
|
|
4065
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4066
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4067
|
+
}
|
|
4068
|
+
if (obj.updateContextRequired !== undefined) {
|
|
4069
|
+
const obj_updateContextRequired = obj.updateContextRequired;
|
|
4070
|
+
const path_updateContextRequired = path + '.updateContextRequired';
|
|
4071
|
+
if (typeof obj_updateContextRequired !== 'boolean') {
|
|
4072
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_updateContextRequired + '" (at "' + path_updateContextRequired + '")');
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
})();
|
|
4076
|
+
return v_error === undefined ? null : v_error;
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4063
4079
|
function validate$O(obj, path = 'ConfigRuleErrorsOutputRepresentation') {
|
|
4064
4080
|
const v_error = (() => {
|
|
4065
4081
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4428,11 +4444,9 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$r(executeConfi
|
|
|
4428
4444
|
function typeCheckConfig$h(untrustedConfig) {
|
|
4429
4445
|
const config = {};
|
|
4430
4446
|
const untrustedConfig_ruleOptions = untrustedConfig.ruleOptions;
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
config.ruleOptions = untrustedConfig_ruleOptions_object;
|
|
4435
|
-
}
|
|
4447
|
+
const referenceConfigRuleOptionsInputRepresentationValidationError = validate$P(untrustedConfig_ruleOptions);
|
|
4448
|
+
if (referenceConfigRuleOptionsInputRepresentationValidationError === null) {
|
|
4449
|
+
config.ruleOptions = untrustedConfig_ruleOptions;
|
|
4436
4450
|
}
|
|
4437
4451
|
const untrustedConfig_transactionContextId = untrustedConfig.transactionContextId;
|
|
4438
4452
|
if (typeof untrustedConfig_transactionContextId === 'string') {
|
|
@@ -6500,7 +6514,7 @@ function validate$C(obj, path = 'GetCartOutputRepresentation') {
|
|
|
6500
6514
|
}
|
|
6501
6515
|
const obj_apiStatus = obj.apiStatus;
|
|
6502
6516
|
const path_apiStatus = path + '.apiStatus';
|
|
6503
|
-
const referencepath_apiStatusValidationError = validate$
|
|
6517
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
6504
6518
|
if (referencepath_apiStatusValidationError !== null) {
|
|
6505
6519
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
6506
6520
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6815,7 +6829,7 @@ function validate$B(obj, path = 'FavoriteListOutputRepresenation') {
|
|
|
6815
6829
|
for (let i = 0; i < obj_savedConfigurations.length; i++) {
|
|
6816
6830
|
const obj_savedConfigurations_item = obj_savedConfigurations[i];
|
|
6817
6831
|
const path_savedConfigurations_item = path_savedConfigurations + '[' + i + ']';
|
|
6818
|
-
const referencepath_savedConfigurations_itemValidationError = validate$
|
|
6832
|
+
const referencepath_savedConfigurations_itemValidationError = validate$Q(obj_savedConfigurations_item, path_savedConfigurations_item);
|
|
6819
6833
|
if (referencepath_savedConfigurations_itemValidationError !== null) {
|
|
6820
6834
|
let message = 'Object doesn\'t match FavoriteOutputRepresenation (at "' + path_savedConfigurations_item + '")\n';
|
|
6821
6835
|
message += referencepath_savedConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7202,7 +7216,7 @@ function validate$A(obj, path = 'RelatedObjectFilterInputRepresentation') {
|
|
|
7202
7216
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
7203
7217
|
const obj_criteria_item = obj_criteria[i];
|
|
7204
7218
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
7205
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
7219
|
+
const referencepath_criteria_itemValidationError = validate$1l(obj_criteria_item, path_criteria_item);
|
|
7206
7220
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
7207
7221
|
let message = 'Object doesn\'t match FilterCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
7208
7222
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7283,7 +7297,7 @@ function validate$x(obj, path = 'GuidedSelectionOutputRepresentation') {
|
|
|
7283
7297
|
}
|
|
7284
7298
|
const obj_apiStatus = obj.apiStatus;
|
|
7285
7299
|
const path_apiStatus = path + '.apiStatus';
|
|
7286
|
-
const referencepath_apiStatusValidationError = validate$
|
|
7300
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
7287
7301
|
if (referencepath_apiStatusValidationError !== null) {
|
|
7288
7302
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
7289
7303
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7502,7 +7516,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
7502
7516
|
}
|
|
7503
7517
|
}
|
|
7504
7518
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
7505
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
7519
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
7506
7520
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
7507
7521
|
config.filter = untrustedConfig_filter;
|
|
7508
7522
|
}
|
|
@@ -7789,7 +7803,7 @@ function validate$u(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
|
7789
7803
|
}
|
|
7790
7804
|
const obj_apiStatus = obj.apiStatus;
|
|
7791
7805
|
const path_apiStatus = path + '.apiStatus';
|
|
7792
|
-
const referencepath_apiStatusValidationError = validate$
|
|
7806
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
7793
7807
|
if (referencepath_apiStatusValidationError !== null) {
|
|
7794
7808
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
7795
7809
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9231,7 +9245,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9231
9245
|
}
|
|
9232
9246
|
}
|
|
9233
9247
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
9234
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
9248
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
9235
9249
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
9236
9250
|
config.filter = untrustedConfig_filter;
|
|
9237
9251
|
}
|
|
@@ -9759,7 +9773,7 @@ function validate$8(obj, path = 'SmartSelectionOutputRepresentation') {
|
|
|
9759
9773
|
}
|
|
9760
9774
|
const obj_apiStatus = obj.apiStatus;
|
|
9761
9775
|
const path_apiStatus = path + '.apiStatus';
|
|
9762
|
-
const referencepath_apiStatusValidationError = validate$
|
|
9776
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
9763
9777
|
if (referencepath_apiStatusValidationError !== null) {
|
|
9764
9778
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
9765
9779
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10096,7 +10110,7 @@ function validate$4(obj, path = 'UpdateCartOutputRepresentation') {
|
|
|
10096
10110
|
}
|
|
10097
10111
|
const obj_apiStatus = obj.apiStatus;
|
|
10098
10112
|
const path_apiStatus = path + '.apiStatus';
|
|
10099
|
-
const referencepath_apiStatusValidationError = validate$
|
|
10113
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
10100
10114
|
if (referencepath_apiStatusValidationError !== null) {
|
|
10101
10115
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
10102
10116
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10304,7 +10318,7 @@ function validate$2(obj, path = 'UpdateCartItemsOutputRepresentation') {
|
|
|
10304
10318
|
}
|
|
10305
10319
|
const obj_apiStatus = obj.apiStatus;
|
|
10306
10320
|
const path_apiStatus = path + '.apiStatus';
|
|
10307
|
-
const referencepath_apiStatusValidationError = validate$
|
|
10321
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
10308
10322
|
if (referencepath_apiStatusValidationError !== null) {
|
|
10309
10323
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
10310
10324
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11059,4 +11073,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11059
11073
|
});
|
|
11060
11074
|
|
|
11061
11075
|
export { bulkProductDetails, categoryDetails, categoryList, configure, createCart, createCartItems, createFavorite, createRule, deleteFavorite, executeConfigRules, getCart, getCart_imperative, getFavorite, getFavoriteId, getFavoriteIdNotifyChange, getFavoriteId_imperative, getFavorite_imperative, guidedSelectionProductList, preview, priceCart, productDetails, productList, productRecommendations, searchProductList, shareFavorite, smartProductSelection, updateCart, updateCartItems, updateFavorite, updateRule, validateRule };
|
|
11062
|
-
// version: 1.428.0-
|
|
11076
|
+
// version: 1.428.0-dev2-2d5e0a6e5f
|