@salesforce/lds-adapters-industries-cpq 1.428.0-dev1 → 1.428.0-dev11
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
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
|
}
|
|
@@ -511,6 +511,14 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
511
511
|
const untrustedConfig_additionalFields = untrustedConfig.additionalFields;
|
|
512
512
|
if (untrustedIsObject(untrustedConfig_additionalFields)) {
|
|
513
513
|
const untrustedConfig_additionalFields_object = {};
|
|
514
|
+
const untrustedConfig_additionalFields_keys = Object.keys(untrustedConfig_additionalFields);
|
|
515
|
+
for (let i = 0, arrayLength = untrustedConfig_additionalFields_keys.length; i < arrayLength; i++) {
|
|
516
|
+
const key = untrustedConfig_additionalFields_keys[i];
|
|
517
|
+
const untrustedConfig_additionalFields_prop = untrustedConfig_additionalFields[key];
|
|
518
|
+
if (untrustedConfig_additionalFields_object !== undefined) {
|
|
519
|
+
untrustedConfig_additionalFields_object[key] = untrustedConfig_additionalFields_prop;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
514
522
|
if (untrustedConfig_additionalFields_object !== undefined && Object.keys(untrustedConfig_additionalFields_object).length >= 0) {
|
|
515
523
|
config.additionalFields = untrustedConfig_additionalFields_object;
|
|
516
524
|
}
|
|
@@ -520,7 +528,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
520
528
|
const untrustedConfig_productData_array = [];
|
|
521
529
|
for (let i = 0, arrayLength = untrustedConfig_productData.length; i < arrayLength; i++) {
|
|
522
530
|
const untrustedConfig_productData_item = untrustedConfig_productData[i];
|
|
523
|
-
const referenceProductDataInputValidationError = validate$
|
|
531
|
+
const referenceProductDataInputValidationError = validate$1p(untrustedConfig_productData_item);
|
|
524
532
|
if (referenceProductDataInputValidationError === null) {
|
|
525
533
|
untrustedConfig_productData_array.push(untrustedConfig_productData_item);
|
|
526
534
|
}
|
|
@@ -530,6 +538,14 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
530
538
|
const untrustedConfig_userContext = untrustedConfig.userContext;
|
|
531
539
|
if (untrustedIsObject(untrustedConfig_userContext)) {
|
|
532
540
|
const untrustedConfig_userContext_object = {};
|
|
541
|
+
const untrustedConfig_userContext_keys = Object.keys(untrustedConfig_userContext);
|
|
542
|
+
for (let i = 0, arrayLength = untrustedConfig_userContext_keys.length; i < arrayLength; i++) {
|
|
543
|
+
const key = untrustedConfig_userContext_keys[i];
|
|
544
|
+
const untrustedConfig_userContext_prop = untrustedConfig_userContext[key];
|
|
545
|
+
if (untrustedConfig_userContext_object !== undefined) {
|
|
546
|
+
untrustedConfig_userContext_object[key] = untrustedConfig_userContext_prop;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
533
549
|
if (untrustedConfig_userContext_object !== undefined && Object.keys(untrustedConfig_userContext_object).length >= 0) {
|
|
534
550
|
config.userContext = untrustedConfig_userContext_object;
|
|
535
551
|
}
|
|
@@ -578,7 +594,7 @@ const bulkProductDetailsAdapterFactory = (luvio) => {
|
|
|
578
594
|
};
|
|
579
595
|
};
|
|
580
596
|
|
|
581
|
-
function validate$
|
|
597
|
+
function validate$1l(obj, path = 'FilterCriteriaInputRepresentation') {
|
|
582
598
|
const v_error = (() => {
|
|
583
599
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
584
600
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -609,7 +625,7 @@ function validate$1k(obj, path = 'FilterCriteriaInputRepresentation') {
|
|
|
609
625
|
return v_error === undefined ? null : v_error;
|
|
610
626
|
}
|
|
611
627
|
|
|
612
|
-
function validate$
|
|
628
|
+
function validate$1k(obj, path = 'FilterInputRepresentation') {
|
|
613
629
|
const v_error = (() => {
|
|
614
630
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
615
631
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -622,7 +638,7 @@ function validate$1j(obj, path = 'FilterInputRepresentation') {
|
|
|
622
638
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
623
639
|
const obj_criteria_item = obj_criteria[i];
|
|
624
640
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
625
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
641
|
+
const referencepath_criteria_itemValidationError = validate$1l(obj_criteria_item, path_criteria_item);
|
|
626
642
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
627
643
|
let message = 'Object doesn\'t match FilterCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
628
644
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -635,14 +651,14 @@ function validate$1j(obj, path = 'FilterInputRepresentation') {
|
|
|
635
651
|
|
|
636
652
|
const TTL$i = 1000;
|
|
637
653
|
const VERSION$q = "2f20f99218d11f5ad756aff76b7a815e";
|
|
638
|
-
function validate$
|
|
654
|
+
function validate$1j(obj, path = 'CpqBaseDetailsOutputRepresentation') {
|
|
639
655
|
const v_error = (() => {
|
|
640
656
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
641
657
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
642
658
|
}
|
|
643
659
|
const obj_apiStatus = obj.apiStatus;
|
|
644
660
|
const path_apiStatus = path + '.apiStatus';
|
|
645
|
-
const referencepath_apiStatusValidationError = validate$
|
|
661
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
646
662
|
if (referencepath_apiStatusValidationError !== null) {
|
|
647
663
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
648
664
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -692,7 +708,7 @@ function equals$q(existing, incoming) {
|
|
|
692
708
|
}
|
|
693
709
|
const ingest$j = function CpqBaseDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
694
710
|
if (process.env.NODE_ENV !== 'production') {
|
|
695
|
-
const validateError = validate$
|
|
711
|
+
const validateError = validate$1j(input);
|
|
696
712
|
if (validateError !== null) {
|
|
697
713
|
throw validateError;
|
|
698
714
|
}
|
|
@@ -772,7 +788,7 @@ function typeCheckConfig$p(untrustedConfig) {
|
|
|
772
788
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
773
789
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
774
790
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
775
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
791
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
776
792
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
777
793
|
config.filter = untrustedConfig_filter;
|
|
778
794
|
}
|
|
@@ -835,7 +851,7 @@ const categoryDetailsAdapterFactory = (luvio) => {
|
|
|
835
851
|
};
|
|
836
852
|
};
|
|
837
853
|
|
|
838
|
-
function validate$
|
|
854
|
+
function validate$1i(obj, path = 'FacetValueRepresentation') {
|
|
839
855
|
const v_error = (() => {
|
|
840
856
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
841
857
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -858,7 +874,7 @@ function validate$1h(obj, path = 'FacetValueRepresentation') {
|
|
|
858
874
|
return v_error === undefined ? null : v_error;
|
|
859
875
|
}
|
|
860
876
|
|
|
861
|
-
function validate$
|
|
877
|
+
function validate$1h(obj, path = 'SearchProductsFacetRepresentation') {
|
|
862
878
|
const v_error = (() => {
|
|
863
879
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
864
880
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -900,7 +916,7 @@ function validate$1g(obj, path = 'SearchProductsFacetRepresentation') {
|
|
|
900
916
|
for (let i = 0; i < obj_values.length; i++) {
|
|
901
917
|
const obj_values_item = obj_values[i];
|
|
902
918
|
const path_values_item = path_values + '[' + i + ']';
|
|
903
|
-
const referencepath_values_itemValidationError = validate$
|
|
919
|
+
const referencepath_values_itemValidationError = validate$1i(obj_values_item, path_values_item);
|
|
904
920
|
if (referencepath_values_itemValidationError !== null) {
|
|
905
921
|
let message = 'Object doesn\'t match FacetValueRepresentation (at "' + path_values_item + '")\n';
|
|
906
922
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -914,14 +930,14 @@ function validate$1g(obj, path = 'SearchProductsFacetRepresentation') {
|
|
|
914
930
|
|
|
915
931
|
const TTL$h = 1000;
|
|
916
932
|
const VERSION$p = "4b7b85fac2d5af69b24fafa7375618f8";
|
|
917
|
-
function validate$
|
|
933
|
+
function validate$1g(obj, path = 'CpqBaseListOutputRepresentation') {
|
|
918
934
|
const v_error = (() => {
|
|
919
935
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
920
936
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
921
937
|
}
|
|
922
938
|
const obj_apiStatus = obj.apiStatus;
|
|
923
939
|
const path_apiStatus = path + '.apiStatus';
|
|
924
|
-
const referencepath_apiStatusValidationError = validate$
|
|
940
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
925
941
|
if (referencepath_apiStatusValidationError !== null) {
|
|
926
942
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
927
943
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -942,7 +958,7 @@ function validate$1f(obj, path = 'CpqBaseListOutputRepresentation') {
|
|
|
942
958
|
for (let i = 0; i < obj_facets.length; i++) {
|
|
943
959
|
const obj_facets_item = obj_facets[i];
|
|
944
960
|
const path_facets_item = path_facets + '[' + i + ']';
|
|
945
|
-
const referencepath_facets_itemValidationError = validate$
|
|
961
|
+
const referencepath_facets_itemValidationError = validate$1h(obj_facets_item, path_facets_item);
|
|
946
962
|
if (referencepath_facets_itemValidationError !== null) {
|
|
947
963
|
let message = 'Object doesn\'t match SearchProductsFacetRepresentation (at "' + path_facets_item + '")\n';
|
|
948
964
|
message += referencepath_facets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1021,7 +1037,7 @@ function equals$p(existing, incoming) {
|
|
|
1021
1037
|
}
|
|
1022
1038
|
const ingest$i = function CpqBaseListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1023
1039
|
if (process.env.NODE_ENV !== 'production') {
|
|
1024
|
-
const validateError = validate$
|
|
1040
|
+
const validateError = validate$1g(input);
|
|
1025
1041
|
if (validateError !== null) {
|
|
1026
1042
|
throw validateError;
|
|
1027
1043
|
}
|
|
@@ -1102,7 +1118,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
1102
1118
|
const untrustedConfig_additionalContextData = untrustedConfig.additionalContextData;
|
|
1103
1119
|
config.additionalContextData = untrustedConfig_additionalContextData;
|
|
1104
1120
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
1105
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
1121
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
1106
1122
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
1107
1123
|
config.filter = untrustedConfig_filter;
|
|
1108
1124
|
}
|
|
@@ -1165,7 +1181,7 @@ const categoryListAdapterFactory = (luvio) => {
|
|
|
1165
1181
|
};
|
|
1166
1182
|
};
|
|
1167
1183
|
|
|
1168
|
-
function validate$
|
|
1184
|
+
function validate$1f(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
1169
1185
|
const v_error = (() => {
|
|
1170
1186
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1171
1187
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1193,7 +1209,7 @@ function validate$1e(obj, path = 'ConfiguratorAddedNodeInputRepresentation') {
|
|
|
1193
1209
|
return v_error === undefined ? null : v_error;
|
|
1194
1210
|
}
|
|
1195
1211
|
|
|
1196
|
-
function validate$
|
|
1212
|
+
function validate$1e(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
1197
1213
|
const v_error = (() => {
|
|
1198
1214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1199
1215
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1258,7 +1274,7 @@ function validate$1d(obj, path = 'ConfiguratorOptionsInputRepresentation') {
|
|
|
1258
1274
|
return v_error === undefined ? null : v_error;
|
|
1259
1275
|
}
|
|
1260
1276
|
|
|
1261
|
-
function validate$
|
|
1277
|
+
function validate$1d(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
1262
1278
|
const v_error = (() => {
|
|
1263
1279
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1264
1280
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1281,7 +1297,7 @@ function validate$1c(obj, path = 'ConfiguratorDeletedNodeInputRepresentation') {
|
|
|
1281
1297
|
return v_error === undefined ? null : v_error;
|
|
1282
1298
|
}
|
|
1283
1299
|
|
|
1284
|
-
function validate$
|
|
1300
|
+
function validate$1c(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
1285
1301
|
const v_error = (() => {
|
|
1286
1302
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1287
1303
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1309,7 +1325,7 @@ function validate$1b(obj, path = 'ConfiguratorUpdatedNodeInputRepresentation') {
|
|
|
1309
1325
|
return v_error === undefined ? null : v_error;
|
|
1310
1326
|
}
|
|
1311
1327
|
|
|
1312
|
-
function validate$
|
|
1328
|
+
function validate$1b(obj, path = 'ConfiguratorInputRepresentation') {
|
|
1313
1329
|
const v_error = (() => {
|
|
1314
1330
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1315
1331
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1323,7 +1339,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1323
1339
|
for (let i = 0; i < obj_addedNodes.length; i++) {
|
|
1324
1340
|
const obj_addedNodes_item = obj_addedNodes[i];
|
|
1325
1341
|
const path_addedNodes_item = path_addedNodes + '[' + i + ']';
|
|
1326
|
-
const referencepath_addedNodes_itemValidationError = validate$
|
|
1342
|
+
const referencepath_addedNodes_itemValidationError = validate$1f(obj_addedNodes_item, path_addedNodes_item);
|
|
1327
1343
|
if (referencepath_addedNodes_itemValidationError !== null) {
|
|
1328
1344
|
let message = 'Object doesn\'t match ConfiguratorAddedNodeInputRepresentation (at "' + path_addedNodes_item + '")\n';
|
|
1329
1345
|
message += referencepath_addedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1334,7 +1350,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1334
1350
|
if (obj.configuratorOptions !== undefined) {
|
|
1335
1351
|
const obj_configuratorOptions = obj.configuratorOptions;
|
|
1336
1352
|
const path_configuratorOptions = path + '.configuratorOptions';
|
|
1337
|
-
const referencepath_configuratorOptionsValidationError = validate$
|
|
1353
|
+
const referencepath_configuratorOptionsValidationError = validate$1e(obj_configuratorOptions, path_configuratorOptions);
|
|
1338
1354
|
if (referencepath_configuratorOptionsValidationError !== null) {
|
|
1339
1355
|
let message = 'Object doesn\'t match ConfiguratorOptionsInputRepresentation (at "' + path_configuratorOptions + '")\n';
|
|
1340
1356
|
message += referencepath_configuratorOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1399,7 +1415,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1399
1415
|
for (let i = 0; i < obj_deletedNodes.length; i++) {
|
|
1400
1416
|
const obj_deletedNodes_item = obj_deletedNodes[i];
|
|
1401
1417
|
const path_deletedNodes_item = path_deletedNodes + '[' + i + ']';
|
|
1402
|
-
const referencepath_deletedNodes_itemValidationError = validate$
|
|
1418
|
+
const referencepath_deletedNodes_itemValidationError = validate$1d(obj_deletedNodes_item, path_deletedNodes_item);
|
|
1403
1419
|
if (referencepath_deletedNodes_itemValidationError !== null) {
|
|
1404
1420
|
let message = 'Object doesn\'t match ConfiguratorDeletedNodeInputRepresentation (at "' + path_deletedNodes_item + '")\n';
|
|
1405
1421
|
message += referencepath_deletedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1507,7 +1523,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1507
1523
|
for (let i = 0; i < obj_updatedNodes.length; i++) {
|
|
1508
1524
|
const obj_updatedNodes_item = obj_updatedNodes[i];
|
|
1509
1525
|
const path_updatedNodes_item = path_updatedNodes + '[' + i + ']';
|
|
1510
|
-
const referencepath_updatedNodes_itemValidationError = validate$
|
|
1526
|
+
const referencepath_updatedNodes_itemValidationError = validate$1c(obj_updatedNodes_item, path_updatedNodes_item);
|
|
1511
1527
|
if (referencepath_updatedNodes_itemValidationError !== null) {
|
|
1512
1528
|
let message = 'Object doesn\'t match ConfiguratorUpdatedNodeInputRepresentation (at "' + path_updatedNodes_item + '")\n';
|
|
1513
1529
|
message += referencepath_updatedNodes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1519,7 +1535,7 @@ function validate$1a(obj, path = 'ConfiguratorInputRepresentation') {
|
|
|
1519
1535
|
return v_error === undefined ? null : v_error;
|
|
1520
1536
|
}
|
|
1521
1537
|
|
|
1522
|
-
function validate$
|
|
1538
|
+
function validate$1a(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentation') {
|
|
1523
1539
|
const v_error = (() => {
|
|
1524
1540
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1525
1541
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1556,7 +1572,7 @@ function validate$19(obj, path = 'ConfiguratorAdditionalFieldsOutputRepresentati
|
|
|
1556
1572
|
return v_error === undefined ? null : v_error;
|
|
1557
1573
|
}
|
|
1558
1574
|
|
|
1559
|
-
function validate$
|
|
1575
|
+
function validate$19(obj, path = 'ConfiguratorAttributePicklistValueOutputRepresentation') {
|
|
1560
1576
|
const v_error = (() => {
|
|
1561
1577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1562
1578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1635,7 +1651,7 @@ function validate$18(obj, path = 'ConfiguratorAttributePicklistValueOutputRepres
|
|
|
1635
1651
|
return v_error === undefined ? null : v_error;
|
|
1636
1652
|
}
|
|
1637
1653
|
|
|
1638
|
-
function validate$
|
|
1654
|
+
function validate$18(obj, path = 'ConfiguratorAttributePicklistOutputRepresentation') {
|
|
1639
1655
|
const v_error = (() => {
|
|
1640
1656
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1641
1657
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1677,7 +1693,7 @@ function validate$17(obj, path = 'ConfiguratorAttributePicklistOutputRepresentat
|
|
|
1677
1693
|
for (let i = 0; i < obj_values.length; i++) {
|
|
1678
1694
|
const obj_values_item = obj_values[i];
|
|
1679
1695
|
const path_values_item = path_values + '[' + i + ']';
|
|
1680
|
-
const referencepath_values_itemValidationError = validate$
|
|
1696
|
+
const referencepath_values_itemValidationError = validate$19(obj_values_item, path_values_item);
|
|
1681
1697
|
if (referencepath_values_itemValidationError !== null) {
|
|
1682
1698
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
1683
1699
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1689,7 +1705,7 @@ function validate$17(obj, path = 'ConfiguratorAttributePicklistOutputRepresentat
|
|
|
1689
1705
|
return v_error === undefined ? null : v_error;
|
|
1690
1706
|
}
|
|
1691
1707
|
|
|
1692
|
-
function validate$
|
|
1708
|
+
function validate$17(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation') {
|
|
1693
1709
|
const v_error = (() => {
|
|
1694
1710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1695
1711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1733,7 +1749,7 @@ function validate$16(obj, path = 'ConfiguratorUnitOfMeasureOutputRepresentation'
|
|
|
1733
1749
|
return v_error === undefined ? null : v_error;
|
|
1734
1750
|
}
|
|
1735
1751
|
|
|
1736
|
-
function validate$
|
|
1752
|
+
function validate$16(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
1737
1753
|
const v_error = (() => {
|
|
1738
1754
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1739
1755
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1755,7 +1771,7 @@ function validate$15(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
1755
1771
|
if (obj.attributePicklist !== undefined) {
|
|
1756
1772
|
const obj_attributePicklist = obj.attributePicklist;
|
|
1757
1773
|
const path_attributePicklist = path + '.attributePicklist';
|
|
1758
|
-
const referencepath_attributePicklistValidationError = validate$
|
|
1774
|
+
const referencepath_attributePicklistValidationError = validate$18(obj_attributePicklist, path_attributePicklist);
|
|
1759
1775
|
if (referencepath_attributePicklistValidationError !== null) {
|
|
1760
1776
|
let message = 'Object doesn\'t match ConfiguratorAttributePicklistOutputRepresentation (at "' + path_attributePicklist + '")\n';
|
|
1761
1777
|
message += referencepath_attributePicklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1912,7 +1928,7 @@ function validate$15(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
1912
1928
|
if (obj.unitOfMeasure !== undefined) {
|
|
1913
1929
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
1914
1930
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
1915
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
1931
|
+
const referencepath_unitOfMeasureValidationError = validate$17(obj_unitOfMeasure, path_unitOfMeasure);
|
|
1916
1932
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
1917
1933
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
1918
1934
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1944,7 +1960,7 @@ function validate$15(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
|
|
|
1944
1960
|
return v_error === undefined ? null : v_error;
|
|
1945
1961
|
}
|
|
1946
1962
|
|
|
1947
|
-
function validate$
|
|
1963
|
+
function validate$15(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentation') {
|
|
1948
1964
|
const v_error = (() => {
|
|
1949
1965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1950
1966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1958,7 +1974,7 @@ function validate$14(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentat
|
|
|
1958
1974
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1959
1975
|
const obj_attributes_item = obj_attributes[i];
|
|
1960
1976
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1961
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1977
|
+
const referencepath_attributes_itemValidationError = validate$16(obj_attributes_item, path_attributes_item);
|
|
1962
1978
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1963
1979
|
let message = 'Object doesn\'t match ConfiguratorAttributeOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
1964
1980
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2019,7 +2035,7 @@ function validate$14(obj, path = 'ConfiguratorAttributeCategoryOutputRepresentat
|
|
|
2019
2035
|
return v_error === undefined ? null : v_error;
|
|
2020
2036
|
}
|
|
2021
2037
|
|
|
2022
|
-
function validate$
|
|
2038
|
+
function validate$14(obj, path = 'ConfiguratorPricingModelOutputRepresentation') {
|
|
2023
2039
|
const v_error = (() => {
|
|
2024
2040
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2025
2041
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2070,7 +2086,7 @@ function validate$13(obj, path = 'ConfiguratorPricingModelOutputRepresentation')
|
|
|
2070
2086
|
return v_error === undefined ? null : v_error;
|
|
2071
2087
|
}
|
|
2072
2088
|
|
|
2073
|
-
function validate$
|
|
2089
|
+
function validate$13(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
2074
2090
|
const v_error = (() => {
|
|
2075
2091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2076
2092
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2134,7 +2150,7 @@ function validate$12(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
2134
2150
|
if (obj.pricingModel !== undefined) {
|
|
2135
2151
|
const obj_pricingModel = obj.pricingModel;
|
|
2136
2152
|
const path_pricingModel = path + '.pricingModel';
|
|
2137
|
-
const referencepath_pricingModelValidationError = validate$
|
|
2153
|
+
const referencepath_pricingModelValidationError = validate$14(obj_pricingModel, path_pricingModel);
|
|
2138
2154
|
if (referencepath_pricingModelValidationError !== null) {
|
|
2139
2155
|
let message = 'Object doesn\'t match ConfiguratorPricingModelOutputRepresentation (at "' + path_pricingModel + '")\n';
|
|
2140
2156
|
message += referencepath_pricingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2148,7 +2164,7 @@ function validate$12(obj, path = 'ConfiguratorPriceOutputRepresentation') {
|
|
|
2148
2164
|
return v_error === undefined ? null : v_error;
|
|
2149
2165
|
}
|
|
2150
2166
|
|
|
2151
|
-
function validate$
|
|
2167
|
+
function validate$12(obj, path = 'ConfiguratorProductClassificationOutputRepresentation') {
|
|
2152
2168
|
const v_error = (() => {
|
|
2153
2169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2154
2170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2164,7 +2180,7 @@ function validate$11(obj, path = 'ConfiguratorProductClassificationOutputReprese
|
|
|
2164
2180
|
return v_error === undefined ? null : v_error;
|
|
2165
2181
|
}
|
|
2166
2182
|
|
|
2167
|
-
function validate$
|
|
2183
|
+
function validate$11(obj, path = 'ConfiguratorProductComponentGroupOutputRepresentation') {
|
|
2168
2184
|
const v_error = (() => {
|
|
2169
2185
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2170
2186
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2178,7 +2194,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2178
2194
|
for (let i = 0; i < obj_childGroups.length; i++) {
|
|
2179
2195
|
const obj_childGroups_item = obj_childGroups[i];
|
|
2180
2196
|
const path_childGroups_item = path_childGroups + '[' + i + ']';
|
|
2181
|
-
const referencepath_childGroups_itemValidationError = validate$
|
|
2197
|
+
const referencepath_childGroups_itemValidationError = validate$11(obj_childGroups_item, path_childGroups_item);
|
|
2182
2198
|
if (referencepath_childGroups_itemValidationError !== null) {
|
|
2183
2199
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_childGroups_item + '")\n';
|
|
2184
2200
|
message += referencepath_childGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2195,7 +2211,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2195
2211
|
for (let i = 0; i < obj_classifications.length; i++) {
|
|
2196
2212
|
const obj_classifications_item = obj_classifications[i];
|
|
2197
2213
|
const path_classifications_item = path_classifications + '[' + i + ']';
|
|
2198
|
-
const referencepath_classifications_itemValidationError = validate$
|
|
2214
|
+
const referencepath_classifications_itemValidationError = validate$12(obj_classifications_item, path_classifications_item);
|
|
2199
2215
|
if (referencepath_classifications_itemValidationError !== null) {
|
|
2200
2216
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_classifications_item + '")\n';
|
|
2201
2217
|
message += referencepath_classifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2219,7 +2235,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2219
2235
|
for (let i = 0; i < obj_components.length; i++) {
|
|
2220
2236
|
const obj_components_item = obj_components[i];
|
|
2221
2237
|
const path_components_item = path_components + '[' + i + ']';
|
|
2222
|
-
const referencepath_components_itemValidationError = validate$
|
|
2238
|
+
const referencepath_components_itemValidationError = validate$Y(obj_components_item, path_components_item);
|
|
2223
2239
|
if (referencepath_components_itemValidationError !== null) {
|
|
2224
2240
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_components_item + '")\n';
|
|
2225
2241
|
message += referencepath_components_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2287,7 +2303,7 @@ function validate$10(obj, path = 'ConfiguratorProductComponentGroupOutputReprese
|
|
|
2287
2303
|
return v_error === undefined ? null : v_error;
|
|
2288
2304
|
}
|
|
2289
2305
|
|
|
2290
|
-
function validate
|
|
2306
|
+
function validate$10(obj, path = 'ConfiguratorProductRelatedComponentOutputRepresentation') {
|
|
2291
2307
|
const v_error = (() => {
|
|
2292
2308
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2293
2309
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2402,7 +2418,7 @@ function validate$$(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
2402
2418
|
if (obj.unitOfMeasure !== undefined) {
|
|
2403
2419
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
2404
2420
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
2405
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
2421
|
+
const referencepath_unitOfMeasureValidationError = validate$17(obj_unitOfMeasure, path_unitOfMeasure);
|
|
2406
2422
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
2407
2423
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
2408
2424
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2413,7 +2429,7 @@ function validate$$(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
|
|
|
2413
2429
|
return v_error === undefined ? null : v_error;
|
|
2414
2430
|
}
|
|
2415
2431
|
|
|
2416
|
-
function validate
|
|
2432
|
+
function validate$$(obj, path = 'ConfiguratorProductSellingModelOutputRepresentation') {
|
|
2417
2433
|
const v_error = (() => {
|
|
2418
2434
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2419
2435
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2464,7 +2480,7 @@ function validate$_(obj, path = 'ConfiguratorProductSellingModelOutputRepresenta
|
|
|
2464
2480
|
return v_error === undefined ? null : v_error;
|
|
2465
2481
|
}
|
|
2466
2482
|
|
|
2467
|
-
function validate$
|
|
2483
|
+
function validate$_(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepresentation') {
|
|
2468
2484
|
const v_error = (() => {
|
|
2469
2485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2470
2486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2486,7 +2502,7 @@ function validate$Z(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
2486
2502
|
if (obj.productSellingModel !== undefined) {
|
|
2487
2503
|
const obj_productSellingModel = obj.productSellingModel;
|
|
2488
2504
|
const path_productSellingModel = path + '.productSellingModel';
|
|
2489
|
-
const referencepath_productSellingModelValidationError = validate
|
|
2505
|
+
const referencepath_productSellingModelValidationError = validate$$(obj_productSellingModel, path_productSellingModel);
|
|
2490
2506
|
if (referencepath_productSellingModelValidationError !== null) {
|
|
2491
2507
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOutputRepresentation (at "' + path_productSellingModel + '")\n';
|
|
2492
2508
|
message += referencepath_productSellingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2504,7 +2520,7 @@ function validate$Z(obj, path = 'ConfiguratorProductSellingModelOptionOutputRepr
|
|
|
2504
2520
|
return v_error === undefined ? null : v_error;
|
|
2505
2521
|
}
|
|
2506
2522
|
|
|
2507
|
-
function validate$
|
|
2523
|
+
function validate$Z(obj, path = 'ConfiguratorQualificationContextOutputRepresentation') {
|
|
2508
2524
|
const v_error = (() => {
|
|
2509
2525
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2510
2526
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2527,7 +2543,7 @@ function validate$Y(obj, path = 'ConfiguratorQualificationContextOutputRepresent
|
|
|
2527
2543
|
return v_error === undefined ? null : v_error;
|
|
2528
2544
|
}
|
|
2529
2545
|
|
|
2530
|
-
function validate$
|
|
2546
|
+
function validate$Y(obj, path = 'ConfiguratorProductCatalogOutputRepresentation') {
|
|
2531
2547
|
const v_error = (() => {
|
|
2532
2548
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2533
2549
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2541,7 +2557,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2541
2557
|
for (let i = 0; i < obj_additionalFields.length; i++) {
|
|
2542
2558
|
const obj_additionalFields_item = obj_additionalFields[i];
|
|
2543
2559
|
const path_additionalFields_item = path_additionalFields + '[' + i + ']';
|
|
2544
|
-
const referencepath_additionalFields_itemValidationError = validate$
|
|
2560
|
+
const referencepath_additionalFields_itemValidationError = validate$1a(obj_additionalFields_item, path_additionalFields_item);
|
|
2545
2561
|
if (referencepath_additionalFields_itemValidationError !== null) {
|
|
2546
2562
|
let message = 'Object doesn\'t match ConfiguratorAdditionalFieldsOutputRepresentation (at "' + path_additionalFields_item + '")\n';
|
|
2547
2563
|
message += referencepath_additionalFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2558,7 +2574,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2558
2574
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
2559
2575
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
2560
2576
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
2561
|
-
const referencepath_attributeCategories_itemValidationError = validate$
|
|
2577
|
+
const referencepath_attributeCategories_itemValidationError = validate$15(obj_attributeCategories_item, path_attributeCategories_item);
|
|
2562
2578
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
2563
2579
|
let message = 'Object doesn\'t match ConfiguratorAttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
2564
2580
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2680,7 +2696,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2680
2696
|
for (let i = 0; i < obj_prices.length; i++) {
|
|
2681
2697
|
const obj_prices_item = obj_prices[i];
|
|
2682
2698
|
const path_prices_item = path_prices + '[' + i + ']';
|
|
2683
|
-
const referencepath_prices_itemValidationError = validate$
|
|
2699
|
+
const referencepath_prices_itemValidationError = validate$13(obj_prices_item, path_prices_item);
|
|
2684
2700
|
if (referencepath_prices_itemValidationError !== null) {
|
|
2685
2701
|
let message = 'Object doesn\'t match ConfiguratorPriceOutputRepresentation (at "' + path_prices_item + '")\n';
|
|
2686
2702
|
message += referencepath_prices_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2691,7 +2707,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2691
2707
|
if (obj.productClassification !== undefined) {
|
|
2692
2708
|
const obj_productClassification = obj.productClassification;
|
|
2693
2709
|
const path_productClassification = path + '.productClassification';
|
|
2694
|
-
const referencepath_productClassificationValidationError = validate$
|
|
2710
|
+
const referencepath_productClassificationValidationError = validate$12(obj_productClassification, path_productClassification);
|
|
2695
2711
|
if (referencepath_productClassificationValidationError !== null) {
|
|
2696
2712
|
let message = 'Object doesn\'t match ConfiguratorProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
|
|
2697
2713
|
message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2714,7 +2730,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2714
2730
|
for (let i = 0; i < obj_productComponentGroups.length; i++) {
|
|
2715
2731
|
const obj_productComponentGroups_item = obj_productComponentGroups[i];
|
|
2716
2732
|
const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
|
|
2717
|
-
const referencepath_productComponentGroups_itemValidationError = validate$
|
|
2733
|
+
const referencepath_productComponentGroups_itemValidationError = validate$11(obj_productComponentGroups_item, path_productComponentGroups_item);
|
|
2718
2734
|
if (referencepath_productComponentGroups_itemValidationError !== null) {
|
|
2719
2735
|
let message = 'Object doesn\'t match ConfiguratorProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
|
|
2720
2736
|
message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2725,7 +2741,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2725
2741
|
if (obj.productRelatedComponent !== undefined) {
|
|
2726
2742
|
const obj_productRelatedComponent = obj.productRelatedComponent;
|
|
2727
2743
|
const path_productRelatedComponent = path + '.productRelatedComponent';
|
|
2728
|
-
const referencepath_productRelatedComponentValidationError = validate
|
|
2744
|
+
const referencepath_productRelatedComponentValidationError = validate$10(obj_productRelatedComponent, path_productRelatedComponent);
|
|
2729
2745
|
if (referencepath_productRelatedComponentValidationError !== null) {
|
|
2730
2746
|
let message = 'Object doesn\'t match ConfiguratorProductRelatedComponentOutputRepresentation (at "' + path_productRelatedComponent + '")\n';
|
|
2731
2747
|
message += referencepath_productRelatedComponentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2741,7 +2757,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2741
2757
|
for (let i = 0; i < obj_productSellingModelOptions.length; i++) {
|
|
2742
2758
|
const obj_productSellingModelOptions_item = obj_productSellingModelOptions[i];
|
|
2743
2759
|
const path_productSellingModelOptions_item = path_productSellingModelOptions + '[' + i + ']';
|
|
2744
|
-
const referencepath_productSellingModelOptions_itemValidationError = validate$
|
|
2760
|
+
const referencepath_productSellingModelOptions_itemValidationError = validate$_(obj_productSellingModelOptions_item, path_productSellingModelOptions_item);
|
|
2745
2761
|
if (referencepath_productSellingModelOptions_itemValidationError !== null) {
|
|
2746
2762
|
let message = 'Object doesn\'t match ConfiguratorProductSellingModelOptionOutputRepresentation (at "' + path_productSellingModelOptions_item + '")\n';
|
|
2747
2763
|
message += referencepath_productSellingModelOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2766,7 +2782,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2766
2782
|
if (obj.qualificationContext !== undefined) {
|
|
2767
2783
|
const obj_qualificationContext = obj.qualificationContext;
|
|
2768
2784
|
const path_qualificationContext = path + '.qualificationContext';
|
|
2769
|
-
const referencepath_qualificationContextValidationError = validate$
|
|
2785
|
+
const referencepath_qualificationContextValidationError = validate$Z(obj_qualificationContext, path_qualificationContext);
|
|
2770
2786
|
if (referencepath_qualificationContextValidationError !== null) {
|
|
2771
2787
|
let message = 'Object doesn\'t match ConfiguratorQualificationContextOutputRepresentation (at "' + path_qualificationContext + '")\n';
|
|
2772
2788
|
message += referencepath_qualificationContextValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2783,7 +2799,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2783
2799
|
if (obj.unitOfMeasure !== undefined) {
|
|
2784
2800
|
const obj_unitOfMeasure = obj.unitOfMeasure;
|
|
2785
2801
|
const path_unitOfMeasure = path + '.unitOfMeasure';
|
|
2786
|
-
const referencepath_unitOfMeasureValidationError = validate$
|
|
2802
|
+
const referencepath_unitOfMeasureValidationError = validate$17(obj_unitOfMeasure, path_unitOfMeasure);
|
|
2787
2803
|
if (referencepath_unitOfMeasureValidationError !== null) {
|
|
2788
2804
|
let message = 'Object doesn\'t match ConfiguratorUnitOfMeasureOutputRepresentation (at "' + path_unitOfMeasure + '")\n';
|
|
2789
2805
|
message += referencepath_unitOfMeasureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2796,7 +2812,7 @@ function validate$X(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
|
|
|
2796
2812
|
|
|
2797
2813
|
const TTL$g = 1000;
|
|
2798
2814
|
const VERSION$o = "2b964fefc1aca8e13065fe8adf646aac";
|
|
2799
|
-
function validate$
|
|
2815
|
+
function validate$X(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
2800
2816
|
const v_error = (() => {
|
|
2801
2817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2802
2818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2810,7 +2826,7 @@ function validate$W(obj, path = 'ConfiguratorOutputRepresentation') {
|
|
|
2810
2826
|
for (let i = 0; i < obj_catalogProducts.length; i++) {
|
|
2811
2827
|
const obj_catalogProducts_item = obj_catalogProducts[i];
|
|
2812
2828
|
const path_catalogProducts_item = path_catalogProducts + '[' + i + ']';
|
|
2813
|
-
const referencepath_catalogProducts_itemValidationError = validate$
|
|
2829
|
+
const referencepath_catalogProducts_itemValidationError = validate$Y(obj_catalogProducts_item, path_catalogProducts_item);
|
|
2814
2830
|
if (referencepath_catalogProducts_itemValidationError !== null) {
|
|
2815
2831
|
let message = 'Object doesn\'t match ConfiguratorProductCatalogOutputRepresentation (at "' + path_catalogProducts_item + '")\n';
|
|
2816
2832
|
message += referencepath_catalogProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2918,7 +2934,7 @@ function equals$o(existing, incoming) {
|
|
|
2918
2934
|
}
|
|
2919
2935
|
const ingest$h = function ConfiguratorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2920
2936
|
if (process.env.NODE_ENV !== 'production') {
|
|
2921
|
-
const validateError = validate$
|
|
2937
|
+
const validateError = validate$X(input);
|
|
2922
2938
|
if (validateError !== null) {
|
|
2923
2939
|
throw validateError;
|
|
2924
2940
|
}
|
|
@@ -2984,7 +3000,7 @@ const createResourceParams$n = /*#__PURE__*/ createResourceParams$r(configure_Co
|
|
|
2984
3000
|
function typeCheckConfig$n(untrustedConfig) {
|
|
2985
3001
|
const config = {};
|
|
2986
3002
|
const untrustedConfig_configuratorInput = untrustedConfig.configuratorInput;
|
|
2987
|
-
const referenceConfiguratorInputRepresentationValidationError = validate$
|
|
3003
|
+
const referenceConfiguratorInputRepresentationValidationError = validate$1b(untrustedConfig_configuratorInput);
|
|
2988
3004
|
if (referenceConfiguratorInputRepresentationValidationError === null) {
|
|
2989
3005
|
config.configuratorInput = untrustedConfig_configuratorInput;
|
|
2990
3006
|
}
|
|
@@ -3032,7 +3048,7 @@ const configureAdapterFactory = (luvio) => {
|
|
|
3032
3048
|
};
|
|
3033
3049
|
};
|
|
3034
3050
|
|
|
3035
|
-
function validate$
|
|
3051
|
+
function validate$W(obj, path = 'CreateCartInputRepresentation') {
|
|
3036
3052
|
const v_error = (() => {
|
|
3037
3053
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3038
3054
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3103,14 +3119,14 @@ function validate$V(obj, path = 'CreateCartInputRepresentation') {
|
|
|
3103
3119
|
|
|
3104
3120
|
const TTL$f = 1000;
|
|
3105
3121
|
const VERSION$n = "1f730145ab6b9f6b4d070b5eade57b4c";
|
|
3106
|
-
function validate$
|
|
3122
|
+
function validate$V(obj, path = 'CreateCartOutputRepresentation') {
|
|
3107
3123
|
const v_error = (() => {
|
|
3108
3124
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3109
3125
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3110
3126
|
}
|
|
3111
3127
|
const obj_apiStatus = obj.apiStatus;
|
|
3112
3128
|
const path_apiStatus = path + '.apiStatus';
|
|
3113
|
-
const referencepath_apiStatusValidationError = validate$
|
|
3129
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
3114
3130
|
if (referencepath_apiStatusValidationError !== null) {
|
|
3115
3131
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
3116
3132
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3155,7 +3171,7 @@ function equals$n(existing, incoming) {
|
|
|
3155
3171
|
}
|
|
3156
3172
|
const ingest$g = function CreateCartOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3157
3173
|
if (process.env.NODE_ENV !== 'production') {
|
|
3158
|
-
const validateError = validate$
|
|
3174
|
+
const validateError = validate$V(input);
|
|
3159
3175
|
if (validateError !== null) {
|
|
3160
3176
|
throw validateError;
|
|
3161
3177
|
}
|
|
@@ -3221,7 +3237,7 @@ const createResourceParams$m = /*#__PURE__*/ createResourceParams$r(createCart_C
|
|
|
3221
3237
|
function typeCheckConfig$m(untrustedConfig) {
|
|
3222
3238
|
const config = {};
|
|
3223
3239
|
const untrustedConfig_createCartRequestPayload = untrustedConfig.createCartRequestPayload;
|
|
3224
|
-
const referenceCreateCartInputRepresentationValidationError = validate$
|
|
3240
|
+
const referenceCreateCartInputRepresentationValidationError = validate$W(untrustedConfig_createCartRequestPayload);
|
|
3225
3241
|
if (referenceCreateCartInputRepresentationValidationError === null) {
|
|
3226
3242
|
config.createCartRequestPayload = untrustedConfig_createCartRequestPayload;
|
|
3227
3243
|
}
|
|
@@ -3269,7 +3285,7 @@ const createCartAdapterFactory = (luvio) => {
|
|
|
3269
3285
|
};
|
|
3270
3286
|
};
|
|
3271
3287
|
|
|
3272
|
-
function validate$
|
|
3288
|
+
function validate$U(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
3273
3289
|
const v_error = (() => {
|
|
3274
3290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3275
3291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3308,14 +3324,14 @@ function validate$T(obj, path = 'CreateCartItemsInputRepresentation') {
|
|
|
3308
3324
|
|
|
3309
3325
|
const TTL$e = 1000;
|
|
3310
3326
|
const VERSION$m = "34153309b079451754e6d3fbf85bb8bd";
|
|
3311
|
-
function validate$
|
|
3327
|
+
function validate$T(obj, path = 'CreateCartItemsOutputRepresentation') {
|
|
3312
3328
|
const v_error = (() => {
|
|
3313
3329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3314
3330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3315
3331
|
}
|
|
3316
3332
|
const obj_apiStatus = obj.apiStatus;
|
|
3317
3333
|
const path_apiStatus = path + '.apiStatus';
|
|
3318
|
-
const referencepath_apiStatusValidationError = validate$
|
|
3334
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
3319
3335
|
if (referencepath_apiStatusValidationError !== null) {
|
|
3320
3336
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
3321
3337
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3360,7 +3376,7 @@ function equals$m(existing, incoming) {
|
|
|
3360
3376
|
}
|
|
3361
3377
|
const ingest$f = function CreateCartItemsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3362
3378
|
if (process.env.NODE_ENV !== 'production') {
|
|
3363
|
-
const validateError = validate$
|
|
3379
|
+
const validateError = validate$T(input);
|
|
3364
3380
|
if (validateError !== null) {
|
|
3365
3381
|
throw validateError;
|
|
3366
3382
|
}
|
|
@@ -3428,7 +3444,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
3428
3444
|
const config = {};
|
|
3429
3445
|
typeCheckConfig$r(untrustedConfig, config, createCartItems_ConfigPropertyMetadata);
|
|
3430
3446
|
const untrustedConfig_requestBody = untrustedConfig.requestBody;
|
|
3431
|
-
const referenceCreateCartItemsInputRepresentationValidationError = validate$
|
|
3447
|
+
const referenceCreateCartItemsInputRepresentationValidationError = validate$U(untrustedConfig_requestBody);
|
|
3432
3448
|
if (referenceCreateCartItemsInputRepresentationValidationError === null) {
|
|
3433
3449
|
config.requestBody = untrustedConfig_requestBody;
|
|
3434
3450
|
}
|
|
@@ -3478,7 +3494,7 @@ const createCartItemsAdapterFactory = (luvio) => {
|
|
|
3478
3494
|
|
|
3479
3495
|
const TTL$d = 1000;
|
|
3480
3496
|
const VERSION$l = "09d50a26bf62c8269bab20d873985dd0";
|
|
3481
|
-
function validate$
|
|
3497
|
+
function validate$S(obj, path = 'CreateFavoriteOutputRepresentation') {
|
|
3482
3498
|
const v_error = (() => {
|
|
3483
3499
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3484
3500
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3532,7 +3548,7 @@ function equals$l(existing, incoming) {
|
|
|
3532
3548
|
}
|
|
3533
3549
|
const ingest$e = function CreateFavoriteOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3534
3550
|
if (process.env.NODE_ENV !== 'production') {
|
|
3535
|
-
const validateError = validate$
|
|
3551
|
+
const validateError = validate$S(input);
|
|
3536
3552
|
if (validateError !== null) {
|
|
3537
3553
|
throw validateError;
|
|
3538
3554
|
}
|
|
@@ -3647,7 +3663,7 @@ const createFavoriteAdapterFactory = (luvio) => {
|
|
|
3647
3663
|
|
|
3648
3664
|
const TTL$c = 1000;
|
|
3649
3665
|
const VERSION$k = "8e3c9e65f1fddd951abbd11521a4b723";
|
|
3650
|
-
function validate$
|
|
3666
|
+
function validate$R(obj, path = 'ConfiguratorRuleOutputRepresentation') {
|
|
3651
3667
|
const v_error = (() => {
|
|
3652
3668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3653
3669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3731,7 +3747,7 @@ function equals$k(existing, incoming) {
|
|
|
3731
3747
|
}
|
|
3732
3748
|
const ingest$d = function ConfiguratorRuleOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3733
3749
|
if (process.env.NODE_ENV !== 'production') {
|
|
3734
|
-
const validateError = validate$
|
|
3750
|
+
const validateError = validate$R(input);
|
|
3735
3751
|
if (validateError !== null) {
|
|
3736
3752
|
throw validateError;
|
|
3737
3753
|
}
|
|
@@ -3894,7 +3910,7 @@ const createRuleAdapterFactory = (luvio) => {
|
|
|
3894
3910
|
|
|
3895
3911
|
const TTL$b = 1000;
|
|
3896
3912
|
const VERSION$j = "6bce26088e4b8564d9ee7c02403d414b";
|
|
3897
|
-
function validate$
|
|
3913
|
+
function validate$Q(obj, path = 'FavoriteOutputRepresenation') {
|
|
3898
3914
|
const v_error = (() => {
|
|
3899
3915
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3900
3916
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3956,7 +3972,7 @@ function equals$j(existing, incoming) {
|
|
|
3956
3972
|
}
|
|
3957
3973
|
const ingest$c = function FavoriteOutputRepresenationIngest(input, path, luvio, store, timestamp) {
|
|
3958
3974
|
if (process.env.NODE_ENV !== 'production') {
|
|
3959
|
-
const validateError = validate$
|
|
3975
|
+
const validateError = validate$Q(input);
|
|
3960
3976
|
if (validateError !== null) {
|
|
3961
3977
|
throw validateError;
|
|
3962
3978
|
}
|
|
@@ -4060,6 +4076,22 @@ const deleteFavoriteAdapterFactory = (luvio) => {
|
|
|
4060
4076
|
};
|
|
4061
4077
|
};
|
|
4062
4078
|
|
|
4079
|
+
function validate$P(obj, path = 'ConfigRuleOptionsInputRepresentation') {
|
|
4080
|
+
const v_error = (() => {
|
|
4081
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4082
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4083
|
+
}
|
|
4084
|
+
if (obj.updateContextRequired !== undefined) {
|
|
4085
|
+
const obj_updateContextRequired = obj.updateContextRequired;
|
|
4086
|
+
const path_updateContextRequired = path + '.updateContextRequired';
|
|
4087
|
+
if (typeof obj_updateContextRequired !== 'boolean') {
|
|
4088
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_updateContextRequired + '" (at "' + path_updateContextRequired + '")');
|
|
4089
|
+
}
|
|
4090
|
+
}
|
|
4091
|
+
})();
|
|
4092
|
+
return v_error === undefined ? null : v_error;
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4063
4095
|
function validate$O(obj, path = 'ConfigRuleErrorsOutputRepresentation') {
|
|
4064
4096
|
const v_error = (() => {
|
|
4065
4097
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4428,11 +4460,9 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$r(executeConfi
|
|
|
4428
4460
|
function typeCheckConfig$h(untrustedConfig) {
|
|
4429
4461
|
const config = {};
|
|
4430
4462
|
const untrustedConfig_ruleOptions = untrustedConfig.ruleOptions;
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
config.ruleOptions = untrustedConfig_ruleOptions_object;
|
|
4435
|
-
}
|
|
4463
|
+
const referenceConfigRuleOptionsInputRepresentationValidationError = validate$P(untrustedConfig_ruleOptions);
|
|
4464
|
+
if (referenceConfigRuleOptionsInputRepresentationValidationError === null) {
|
|
4465
|
+
config.ruleOptions = untrustedConfig_ruleOptions;
|
|
4436
4466
|
}
|
|
4437
4467
|
const untrustedConfig_transactionContextId = untrustedConfig.transactionContextId;
|
|
4438
4468
|
if (typeof untrustedConfig_transactionContextId === 'string') {
|
|
@@ -6500,7 +6530,7 @@ function validate$C(obj, path = 'GetCartOutputRepresentation') {
|
|
|
6500
6530
|
}
|
|
6501
6531
|
const obj_apiStatus = obj.apiStatus;
|
|
6502
6532
|
const path_apiStatus = path + '.apiStatus';
|
|
6503
|
-
const referencepath_apiStatusValidationError = validate$
|
|
6533
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
6504
6534
|
if (referencepath_apiStatusValidationError !== null) {
|
|
6505
6535
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
6506
6536
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6815,7 +6845,7 @@ function validate$B(obj, path = 'FavoriteListOutputRepresenation') {
|
|
|
6815
6845
|
for (let i = 0; i < obj_savedConfigurations.length; i++) {
|
|
6816
6846
|
const obj_savedConfigurations_item = obj_savedConfigurations[i];
|
|
6817
6847
|
const path_savedConfigurations_item = path_savedConfigurations + '[' + i + ']';
|
|
6818
|
-
const referencepath_savedConfigurations_itemValidationError = validate$
|
|
6848
|
+
const referencepath_savedConfigurations_itemValidationError = validate$Q(obj_savedConfigurations_item, path_savedConfigurations_item);
|
|
6819
6849
|
if (referencepath_savedConfigurations_itemValidationError !== null) {
|
|
6820
6850
|
let message = 'Object doesn\'t match FavoriteOutputRepresenation (at "' + path_savedConfigurations_item + '")\n';
|
|
6821
6851
|
message += referencepath_savedConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7202,7 +7232,7 @@ function validate$A(obj, path = 'RelatedObjectFilterInputRepresentation') {
|
|
|
7202
7232
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
7203
7233
|
const obj_criteria_item = obj_criteria[i];
|
|
7204
7234
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
7205
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
7235
|
+
const referencepath_criteria_itemValidationError = validate$1l(obj_criteria_item, path_criteria_item);
|
|
7206
7236
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
7207
7237
|
let message = 'Object doesn\'t match FilterCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
|
|
7208
7238
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7283,7 +7313,7 @@ function validate$x(obj, path = 'GuidedSelectionOutputRepresentation') {
|
|
|
7283
7313
|
}
|
|
7284
7314
|
const obj_apiStatus = obj.apiStatus;
|
|
7285
7315
|
const path_apiStatus = path + '.apiStatus';
|
|
7286
|
-
const referencepath_apiStatusValidationError = validate$
|
|
7316
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
7287
7317
|
if (referencepath_apiStatusValidationError !== null) {
|
|
7288
7318
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
7289
7319
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7502,7 +7532,7 @@ function typeCheckConfig$d(untrustedConfig) {
|
|
|
7502
7532
|
}
|
|
7503
7533
|
}
|
|
7504
7534
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
7505
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
7535
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
7506
7536
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
7507
7537
|
config.filter = untrustedConfig_filter;
|
|
7508
7538
|
}
|
|
@@ -7789,7 +7819,7 @@ function validate$u(obj, path = 'CartPricingTotalOutputRepresentation') {
|
|
|
7789
7819
|
}
|
|
7790
7820
|
const obj_apiStatus = obj.apiStatus;
|
|
7791
7821
|
const path_apiStatus = path + '.apiStatus';
|
|
7792
|
-
const referencepath_apiStatusValidationError = validate$
|
|
7822
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
7793
7823
|
if (referencepath_apiStatusValidationError !== null) {
|
|
7794
7824
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
7795
7825
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9231,7 +9261,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
9231
9261
|
}
|
|
9232
9262
|
}
|
|
9233
9263
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
9234
|
-
const referenceFilterInputRepresentationValidationError = validate$
|
|
9264
|
+
const referenceFilterInputRepresentationValidationError = validate$1k(untrustedConfig_filter);
|
|
9235
9265
|
if (referenceFilterInputRepresentationValidationError === null) {
|
|
9236
9266
|
config.filter = untrustedConfig_filter;
|
|
9237
9267
|
}
|
|
@@ -9759,7 +9789,7 @@ function validate$8(obj, path = 'SmartSelectionOutputRepresentation') {
|
|
|
9759
9789
|
}
|
|
9760
9790
|
const obj_apiStatus = obj.apiStatus;
|
|
9761
9791
|
const path_apiStatus = path + '.apiStatus';
|
|
9762
|
-
const referencepath_apiStatusValidationError = validate$
|
|
9792
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
9763
9793
|
if (referencepath_apiStatusValidationError !== null) {
|
|
9764
9794
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
9765
9795
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10096,7 +10126,7 @@ function validate$4(obj, path = 'UpdateCartOutputRepresentation') {
|
|
|
10096
10126
|
}
|
|
10097
10127
|
const obj_apiStatus = obj.apiStatus;
|
|
10098
10128
|
const path_apiStatus = path + '.apiStatus';
|
|
10099
|
-
const referencepath_apiStatusValidationError = validate$
|
|
10129
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
10100
10130
|
if (referencepath_apiStatusValidationError !== null) {
|
|
10101
10131
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
10102
10132
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10304,7 +10334,7 @@ function validate$2(obj, path = 'UpdateCartItemsOutputRepresentation') {
|
|
|
10304
10334
|
}
|
|
10305
10335
|
const obj_apiStatus = obj.apiStatus;
|
|
10306
10336
|
const path_apiStatus = path + '.apiStatus';
|
|
10307
|
-
const referencepath_apiStatusValidationError = validate$
|
|
10337
|
+
const referencepath_apiStatusValidationError = validate$1n(obj_apiStatus, path_apiStatus);
|
|
10308
10338
|
if (referencepath_apiStatusValidationError !== null) {
|
|
10309
10339
|
let message = 'Object doesn\'t match ApiStatusOutputRepresentation (at "' + path_apiStatus + '")\n';
|
|
10310
10340
|
message += referencepath_apiStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11059,4 +11089,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11059
11089
|
});
|
|
11060
11090
|
|
|
11061
11091
|
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-
|
|
11092
|
+
// version: 1.428.0-dev11-659d2de2fa
|