@salesforce/lds-adapters-industries-epc 1.449.0 → 1.451.0-dev1
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-epc.js +209 -44
- package/dist/es/es2018/types/src/generated/adapters/getIndexConfigurations.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/updateIndexConfigurations.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexConfigurations.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectPcmIndexConfigurations.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/FieldsInfoOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationCollectionInputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationCollectionOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationsUpdateOutputRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SortRuleInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SortRuleOutputRepresentation.d.ts +46 -0
- package/package.json +4 -10
- package/sfdc/index.js +344 -179
- package/src/raml/api.raml +88 -0
package/sfdc/index.js
CHANGED
|
@@ -90,7 +90,7 @@ function createLink(ref) {
|
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
function validate$
|
|
93
|
+
function validate$19(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
|
|
94
94
|
const v_error = (() => {
|
|
95
95
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
96
96
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -111,7 +111,7 @@ function validate$17(obj, path = 'ProductAttributeDefinitionListInputRepresentat
|
|
|
111
111
|
return v_error === undefined ? null : v_error;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function validate$
|
|
114
|
+
function validate$18(obj, path = 'ProductAttributeDefinitionRepresentation') {
|
|
115
115
|
const v_error = (() => {
|
|
116
116
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
117
117
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -136,7 +136,7 @@ function validate$16(obj, path = 'ProductAttributeDefinitionRepresentation') {
|
|
|
136
136
|
|
|
137
137
|
const TTL$i = 6000;
|
|
138
138
|
const VERSION$i = "e67d3c8569b9667eac98cc1a9840041c";
|
|
139
|
-
function validate$
|
|
139
|
+
function validate$17(obj, path = 'ProductAttributeDefinitionListRepresentation') {
|
|
140
140
|
const v_error = (() => {
|
|
141
141
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
142
142
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -149,7 +149,7 @@ function validate$15(obj, path = 'ProductAttributeDefinitionListRepresentation')
|
|
|
149
149
|
for (let i = 0; i < obj_data.length; i++) {
|
|
150
150
|
const obj_data_item = obj_data[i];
|
|
151
151
|
const path_data_item = path_data + '[' + i + ']';
|
|
152
|
-
const referencepath_data_itemValidationError = validate$
|
|
152
|
+
const referencepath_data_itemValidationError = validate$18(obj_data_item, path_data_item);
|
|
153
153
|
if (referencepath_data_itemValidationError !== null) {
|
|
154
154
|
let message = 'Object doesn\'t match ProductAttributeDefinitionRepresentation (at "' + path_data_item + '")\n';
|
|
155
155
|
message += referencepath_data_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -193,7 +193,7 @@ function equals$i(existing, incoming) {
|
|
|
193
193
|
}
|
|
194
194
|
const ingest$i = function ProductAttributeDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
195
195
|
if (process.env.NODE_ENV !== 'production') {
|
|
196
|
-
const validateError = validate$
|
|
196
|
+
const validateError = validate$17(input);
|
|
197
197
|
if (validateError !== null) {
|
|
198
198
|
throw validateError;
|
|
199
199
|
}
|
|
@@ -259,7 +259,7 @@ const createResourceParams$i = /*#__PURE__*/ createResourceParams$j(createProduc
|
|
|
259
259
|
function typeCheckConfig$i(untrustedConfig) {
|
|
260
260
|
const config = {};
|
|
261
261
|
const untrustedConfig_productAttributeDefinitionListInputPayload = untrustedConfig.productAttributeDefinitionListInputPayload;
|
|
262
|
-
const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$
|
|
262
|
+
const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$19(untrustedConfig_productAttributeDefinitionListInputPayload);
|
|
263
263
|
if (referenceProductAttributeDefinitionListInputRepresentationValidationError === null) {
|
|
264
264
|
config.productAttributeDefinitionListInputPayload = untrustedConfig_productAttributeDefinitionListInputPayload;
|
|
265
265
|
}
|
|
@@ -307,7 +307,7 @@ const createProductAttributeDefinitionAdapterFactory = (luvio) => {
|
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
|
|
310
|
-
function validate$
|
|
310
|
+
function validate$16(obj, path = 'DeactivateInputRepresentation') {
|
|
311
311
|
const v_error = (() => {
|
|
312
312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
313
313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -340,7 +340,7 @@ function validate$14(obj, path = 'DeactivateInputRepresentation') {
|
|
|
340
340
|
return v_error === undefined ? null : v_error;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
function validate$
|
|
343
|
+
function validate$15(obj, path = 'ErrorOutputRepresentation') {
|
|
344
344
|
const v_error = (() => {
|
|
345
345
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
346
346
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -373,7 +373,7 @@ function validate$13(obj, path = 'ErrorOutputRepresentation') {
|
|
|
373
373
|
|
|
374
374
|
const TTL$h = 6000;
|
|
375
375
|
const VERSION$h = "67abdeaa299bae24f468fd2e78cd1e1e";
|
|
376
|
-
function validate$
|
|
376
|
+
function validate$14(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
377
377
|
const v_error = (() => {
|
|
378
378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
379
379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -386,7 +386,7 @@ function validate$12(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
|
386
386
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
387
387
|
const obj_errors_item = obj_errors[i];
|
|
388
388
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
389
|
-
const referencepath_errors_itemValidationError = validate$
|
|
389
|
+
const referencepath_errors_itemValidationError = validate$15(obj_errors_item, path_errors_item);
|
|
390
390
|
if (referencepath_errors_itemValidationError !== null) {
|
|
391
391
|
let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
392
392
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -430,7 +430,7 @@ function equals$h(existing, incoming) {
|
|
|
430
430
|
}
|
|
431
431
|
const ingest$h = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
432
432
|
if (process.env.NODE_ENV !== 'production') {
|
|
433
|
-
const validateError = validate$
|
|
433
|
+
const validateError = validate$14(input);
|
|
434
434
|
if (validateError !== null) {
|
|
435
435
|
throw validateError;
|
|
436
436
|
}
|
|
@@ -496,7 +496,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$j(deactivate_C
|
|
|
496
496
|
function typeCheckConfig$h(untrustedConfig) {
|
|
497
497
|
const config = {};
|
|
498
498
|
const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
|
|
499
|
-
const referenceDeactivateInputRepresentationValidationError = validate$
|
|
499
|
+
const referenceDeactivateInputRepresentationValidationError = validate$16(untrustedConfig_deactivateInputPayload);
|
|
500
500
|
if (referenceDeactivateInputRepresentationValidationError === null) {
|
|
501
501
|
config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
|
|
502
502
|
}
|
|
@@ -544,7 +544,7 @@ const deactivateAdapterFactory = (luvio) => {
|
|
|
544
544
|
};
|
|
545
545
|
};
|
|
546
546
|
|
|
547
|
-
function validate$
|
|
547
|
+
function validate$13(obj, path = 'EpcErrorOutputRepresentation') {
|
|
548
548
|
const v_error = (() => {
|
|
549
549
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
550
550
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -602,7 +602,7 @@ function validate$11(obj, path = 'EpcErrorOutputRepresentation') {
|
|
|
602
602
|
return v_error === undefined ? null : v_error;
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
function validate$
|
|
605
|
+
function validate$12(obj, path = 'SnapshotIndexInfoOutputRepresentation') {
|
|
606
606
|
const v_error = (() => {
|
|
607
607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
608
608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -639,7 +639,7 @@ function validate$10(obj, path = 'SnapshotIndexInfoOutputRepresentation') {
|
|
|
639
639
|
return v_error === undefined ? null : v_error;
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
function validate
|
|
642
|
+
function validate$11(obj, path = 'SnapshotIndexLogOutputRepresentation') {
|
|
643
643
|
const v_error = (() => {
|
|
644
644
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
645
645
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -704,7 +704,7 @@ function validate$$(obj, path = 'SnapshotIndexLogOutputRepresentation') {
|
|
|
704
704
|
return v_error === undefined ? null : v_error;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
function validate$
|
|
707
|
+
function validate$10(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
708
708
|
const v_error = (() => {
|
|
709
709
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
710
710
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -746,7 +746,7 @@ function validate$_(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
746
746
|
for (let i = 0; i < obj_indexInfos.length; i++) {
|
|
747
747
|
const obj_indexInfos_item = obj_indexInfos[i];
|
|
748
748
|
const path_indexInfos_item = path_indexInfos + '[' + i + ']';
|
|
749
|
-
const referencepath_indexInfos_itemValidationError = validate$
|
|
749
|
+
const referencepath_indexInfos_itemValidationError = validate$12(obj_indexInfos_item, path_indexInfos_item);
|
|
750
750
|
if (referencepath_indexInfos_itemValidationError !== null) {
|
|
751
751
|
let message = 'Object doesn\'t match SnapshotIndexInfoOutputRepresentation (at "' + path_indexInfos_item + '")\n';
|
|
752
752
|
message += referencepath_indexInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -763,7 +763,7 @@ function validate$_(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
763
763
|
for (let i = 0; i < obj_indexLogs.length; i++) {
|
|
764
764
|
const obj_indexLogs_item = obj_indexLogs[i];
|
|
765
765
|
const path_indexLogs_item = path_indexLogs + '[' + i + ']';
|
|
766
|
-
const referencepath_indexLogs_itemValidationError = validate
|
|
766
|
+
const referencepath_indexLogs_itemValidationError = validate$11(obj_indexLogs_item, path_indexLogs_item);
|
|
767
767
|
if (referencepath_indexLogs_itemValidationError !== null) {
|
|
768
768
|
let message = 'Object doesn\'t match SnapshotIndexLogOutputRepresentation (at "' + path_indexLogs_item + '")\n';
|
|
769
769
|
message += referencepath_indexLogs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -803,7 +803,7 @@ function validate$_(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
803
803
|
return v_error === undefined ? null : v_error;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
function validate
|
|
806
|
+
function validate$$(obj, path = 'SnapshotOutputRepresentation') {
|
|
807
807
|
const v_error = (() => {
|
|
808
808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
809
809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -845,7 +845,7 @@ function validate$Z(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
845
845
|
for (let i = 0; i < obj_snapshotIndexes.length; i++) {
|
|
846
846
|
const obj_snapshotIndexes_item = obj_snapshotIndexes[i];
|
|
847
847
|
const path_snapshotIndexes_item = path_snapshotIndexes + '[' + i + ']';
|
|
848
|
-
const referencepath_snapshotIndexes_itemValidationError = validate$
|
|
848
|
+
const referencepath_snapshotIndexes_itemValidationError = validate$10(obj_snapshotIndexes_item, path_snapshotIndexes_item);
|
|
849
849
|
if (referencepath_snapshotIndexes_itemValidationError !== null) {
|
|
850
850
|
let message = 'Object doesn\'t match SnapshotIndexOutputRepresentation (at "' + path_snapshotIndexes_item + '")\n';
|
|
851
851
|
message += referencepath_snapshotIndexes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -859,7 +859,7 @@ function validate$Z(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
859
859
|
|
|
860
860
|
const TTL$g = 6000;
|
|
861
861
|
const VERSION$g = "a482669465add5966119b942982ae104";
|
|
862
|
-
function validate$
|
|
862
|
+
function validate$_(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
863
863
|
const v_error = (() => {
|
|
864
864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
865
865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -873,7 +873,7 @@ function validate$Y(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
873
873
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
874
874
|
const obj_errors_item = obj_errors[i];
|
|
875
875
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
876
|
-
const referencepath_errors_itemValidationError = validate$
|
|
876
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
877
877
|
if (referencepath_errors_itemValidationError !== null) {
|
|
878
878
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
879
879
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -884,7 +884,7 @@ function validate$Y(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
884
884
|
if (obj.snapshot !== undefined) {
|
|
885
885
|
const obj_snapshot = obj.snapshot;
|
|
886
886
|
const path_snapshot = path + '.snapshot';
|
|
887
|
-
const referencepath_snapshotValidationError = validate
|
|
887
|
+
const referencepath_snapshotValidationError = validate$$(obj_snapshot, path_snapshot);
|
|
888
888
|
if (referencepath_snapshotValidationError !== null) {
|
|
889
889
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshot + '")\n';
|
|
890
890
|
message += referencepath_snapshotValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -928,7 +928,7 @@ function equals$g(existing, incoming) {
|
|
|
928
928
|
}
|
|
929
929
|
const ingest$g = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
930
930
|
if (process.env.NODE_ENV !== 'production') {
|
|
931
|
-
const validateError = validate$
|
|
931
|
+
const validateError = validate$_(input);
|
|
932
932
|
if (validateError !== null) {
|
|
933
933
|
throw validateError;
|
|
934
934
|
}
|
|
@@ -1041,7 +1041,7 @@ const deploySnapshotIndexAdapterFactory = (luvio) => {
|
|
|
1041
1041
|
};
|
|
1042
1042
|
};
|
|
1043
1043
|
|
|
1044
|
-
function validate$
|
|
1044
|
+
function validate$Z(obj, path = 'PCMRecordOutputRepresentation') {
|
|
1045
1045
|
const v_error = (() => {
|
|
1046
1046
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1047
1047
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1064,7 +1064,7 @@ function validate$X(obj, path = 'PCMRecordOutputRepresentation') {
|
|
|
1064
1064
|
return v_error === undefined ? null : v_error;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
function validate$
|
|
1067
|
+
function validate$Y(obj, path = 'RelatedObjectRecordsOutputRepresentation') {
|
|
1068
1068
|
const v_error = (() => {
|
|
1069
1069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1070
1070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1082,7 +1082,7 @@ function validate$W(obj, path = 'RelatedObjectRecordsOutputRepresentation') {
|
|
|
1082
1082
|
for (let i = 0; i < obj_records.length; i++) {
|
|
1083
1083
|
const obj_records_item = obj_records[i];
|
|
1084
1084
|
const path_records_item = path_records + '[' + i + ']';
|
|
1085
|
-
const referencepath_records_itemValidationError = validate$
|
|
1085
|
+
const referencepath_records_itemValidationError = validate$Z(obj_records_item, path_records_item);
|
|
1086
1086
|
if (referencepath_records_itemValidationError !== null) {
|
|
1087
1087
|
let message = 'Object doesn\'t match PCMRecordOutputRepresentation (at "' + path_records_item + '")\n';
|
|
1088
1088
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1098,7 +1098,7 @@ function validate$W(obj, path = 'RelatedObjectRecordsOutputRepresentation') {
|
|
|
1098
1098
|
return v_error === undefined ? null : v_error;
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
|
-
function validate$
|
|
1101
|
+
function validate$X(obj, path = 'RelatedRecordsOutputRepresentation') {
|
|
1102
1102
|
const v_error = (() => {
|
|
1103
1103
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1104
1104
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1116,7 +1116,7 @@ function validate$V(obj, path = 'RelatedRecordsOutputRepresentation') {
|
|
|
1116
1116
|
for (let i = 0; i < obj_relatedObjectRecords.length; i++) {
|
|
1117
1117
|
const obj_relatedObjectRecords_item = obj_relatedObjectRecords[i];
|
|
1118
1118
|
const path_relatedObjectRecords_item = path_relatedObjectRecords + '[' + i + ']';
|
|
1119
|
-
const referencepath_relatedObjectRecords_itemValidationError = validate$
|
|
1119
|
+
const referencepath_relatedObjectRecords_itemValidationError = validate$Y(obj_relatedObjectRecords_item, path_relatedObjectRecords_item);
|
|
1120
1120
|
if (referencepath_relatedObjectRecords_itemValidationError !== null) {
|
|
1121
1121
|
let message = 'Object doesn\'t match RelatedObjectRecordsOutputRepresentation (at "' + path_relatedObjectRecords_item + '")\n';
|
|
1122
1122
|
message += referencepath_relatedObjectRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1127,7 +1127,7 @@ function validate$V(obj, path = 'RelatedRecordsOutputRepresentation') {
|
|
|
1127
1127
|
return v_error === undefined ? null : v_error;
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
function validate$
|
|
1130
|
+
function validate$W(obj, path = 'Status') {
|
|
1131
1131
|
const v_error = (() => {
|
|
1132
1132
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1133
1133
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1148,7 +1148,7 @@ function validate$U(obj, path = 'Status') {
|
|
|
1148
1148
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1149
1149
|
const obj_errors_item = obj_errors[i];
|
|
1150
1150
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1151
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1151
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
1152
1152
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1153
1153
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1154
1154
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1169,7 +1169,7 @@ function validate$U(obj, path = 'Status') {
|
|
|
1169
1169
|
|
|
1170
1170
|
const TTL$f = 6000;
|
|
1171
1171
|
const VERSION$f = "d5517610afe11029dab748699bf3154b";
|
|
1172
|
-
function validate$
|
|
1172
|
+
function validate$V(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
1173
1173
|
const v_error = (() => {
|
|
1174
1174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1175
1175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1187,7 +1187,7 @@ function validate$T(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
|
1187
1187
|
for (let i = 0; i < obj_relatedRecords.length; i++) {
|
|
1188
1188
|
const obj_relatedRecords_item = obj_relatedRecords[i];
|
|
1189
1189
|
const path_relatedRecords_item = path_relatedRecords + '[' + i + ']';
|
|
1190
|
-
const referencepath_relatedRecords_itemValidationError = validate$
|
|
1190
|
+
const referencepath_relatedRecords_itemValidationError = validate$X(obj_relatedRecords_item, path_relatedRecords_item);
|
|
1191
1191
|
if (referencepath_relatedRecords_itemValidationError !== null) {
|
|
1192
1192
|
let message = 'Object doesn\'t match RelatedRecordsOutputRepresentation (at "' + path_relatedRecords_item + '")\n';
|
|
1193
1193
|
message += referencepath_relatedRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1196,7 +1196,7 @@ function validate$T(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
const obj_status = obj.status;
|
|
1198
1198
|
const path_status = path + '.status';
|
|
1199
|
-
const referencepath_statusValidationError = validate$
|
|
1199
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
1200
1200
|
if (referencepath_statusValidationError !== null) {
|
|
1201
1201
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
1202
1202
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1234,7 +1234,7 @@ function equals$f(existing, incoming) {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
const ingest$f = function RelatedRecordsListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1236
1236
|
if (process.env.NODE_ENV !== 'production') {
|
|
1237
|
-
const validateError = validate$
|
|
1237
|
+
const validateError = validate$V(input);
|
|
1238
1238
|
if (validateError !== null) {
|
|
1239
1239
|
throw validateError;
|
|
1240
1240
|
}
|
|
@@ -1356,7 +1356,7 @@ const fetchRelatedRecordsAdapterFactory = (luvio) => {
|
|
|
1356
1356
|
};
|
|
1357
1357
|
};
|
|
1358
1358
|
|
|
1359
|
-
function validate$
|
|
1359
|
+
function validate$U(obj, path = 'FacetValueOutputRepresentation') {
|
|
1360
1360
|
const v_error = (() => {
|
|
1361
1361
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1362
1362
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1386,7 +1386,7 @@ function validate$S(obj, path = 'FacetValueOutputRepresentation') {
|
|
|
1386
1386
|
return v_error === undefined ? null : v_error;
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
|
-
function validate$
|
|
1389
|
+
function validate$T(obj, path = 'SearchFacetOutputRepresentation') {
|
|
1390
1390
|
const v_error = (() => {
|
|
1391
1391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1392
1392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1435,7 +1435,7 @@ function validate$R(obj, path = 'SearchFacetOutputRepresentation') {
|
|
|
1435
1435
|
for (let i = 0; i < obj_values.length; i++) {
|
|
1436
1436
|
const obj_values_item = obj_values[i];
|
|
1437
1437
|
const path_values_item = path_values + '[' + i + ']';
|
|
1438
|
-
const referencepath_values_itemValidationError = validate$
|
|
1438
|
+
const referencepath_values_itemValidationError = validate$U(obj_values_item, path_values_item);
|
|
1439
1439
|
if (referencepath_values_itemValidationError !== null) {
|
|
1440
1440
|
let message = 'Object doesn\'t match FacetValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
1441
1441
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1447,7 +1447,7 @@ function validate$R(obj, path = 'SearchFacetOutputRepresentation') {
|
|
|
1447
1447
|
return v_error === undefined ? null : v_error;
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
|
-
function validate$
|
|
1450
|
+
function validate$S(obj, path = 'AttributePicklistValueOutputRepresentation') {
|
|
1451
1451
|
const v_error = (() => {
|
|
1452
1452
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1453
1453
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1512,7 +1512,7 @@ function validate$Q(obj, path = 'AttributePicklistValueOutputRepresentation') {
|
|
|
1512
1512
|
return v_error === undefined ? null : v_error;
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
|
-
function validate$
|
|
1515
|
+
function validate$R(obj, path = 'AttributePicklistOutputRepresentation') {
|
|
1516
1516
|
const v_error = (() => {
|
|
1517
1517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1518
1518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1554,7 +1554,7 @@ function validate$P(obj, path = 'AttributePicklistOutputRepresentation') {
|
|
|
1554
1554
|
for (let i = 0; i < obj_values.length; i++) {
|
|
1555
1555
|
const obj_values_item = obj_values[i];
|
|
1556
1556
|
const path_values_item = path_values + '[' + i + ']';
|
|
1557
|
-
const referencepath_values_itemValidationError = validate$
|
|
1557
|
+
const referencepath_values_itemValidationError = validate$S(obj_values_item, path_values_item);
|
|
1558
1558
|
if (referencepath_values_itemValidationError !== null) {
|
|
1559
1559
|
let message = 'Object doesn\'t match AttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
|
|
1560
1560
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1566,7 +1566,7 @@ function validate$P(obj, path = 'AttributePicklistOutputRepresentation') {
|
|
|
1566
1566
|
return v_error === undefined ? null : v_error;
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
|
-
function validate$
|
|
1569
|
+
function validate$Q(obj, path = 'UnitOfMeasureInfoOutputRepresentation') {
|
|
1570
1570
|
const v_error = (() => {
|
|
1571
1571
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1572
1572
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1610,8 +1610,8 @@ function validate$O(obj, path = 'UnitOfMeasureInfoOutputRepresentation') {
|
|
|
1610
1610
|
return v_error === undefined ? null : v_error;
|
|
1611
1611
|
}
|
|
1612
1612
|
|
|
1613
|
-
function validate$
|
|
1614
|
-
const validateAbstractAttributeDefinitionOutputRepresentation_validateError = validate$
|
|
1613
|
+
function validate$P(obj, path = 'AttributeDefinitionOutputRepresentation') {
|
|
1614
|
+
const validateAbstractAttributeDefinitionOutputRepresentation_validateError = validate$O(obj, path);
|
|
1615
1615
|
if (validateAbstractAttributeDefinitionOutputRepresentation_validateError !== null) {
|
|
1616
1616
|
return validateAbstractAttributeDefinitionOutputRepresentation_validateError;
|
|
1617
1617
|
}
|
|
@@ -1644,7 +1644,7 @@ var DiscriminatorValues$1;
|
|
|
1644
1644
|
DiscriminatorValues["ProductClassificationAttributeDefinitionOutputRepresentation"] = "ProductClassificationAttributeDefinitionOutputRepresentation";
|
|
1645
1645
|
DiscriminatorValues["AttributeDefinitionOutputRepresentation"] = "AttributeDefinitionOutputRepresentation";
|
|
1646
1646
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
1647
|
-
function validate$
|
|
1647
|
+
function validate$O(obj, path = 'AbstractAttributeDefinitionOutputRepresentation') {
|
|
1648
1648
|
const v_error = (() => {
|
|
1649
1649
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1650
1650
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1799,7 +1799,7 @@ function validate$M(obj, path = 'AbstractAttributeDefinitionOutputRepresentation
|
|
|
1799
1799
|
if (obj.picklist !== undefined) {
|
|
1800
1800
|
const obj_picklist = obj.picklist;
|
|
1801
1801
|
const path_picklist = path + '.picklist';
|
|
1802
|
-
const referencepath_picklistValidationError = validate$
|
|
1802
|
+
const referencepath_picklistValidationError = validate$R(obj_picklist, path_picklist);
|
|
1803
1803
|
if (referencepath_picklistValidationError !== null) {
|
|
1804
1804
|
let message = 'Object doesn\'t match AttributePicklistOutputRepresentation (at "' + path_picklist + '")\n';
|
|
1805
1805
|
message += referencepath_picklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1837,7 +1837,7 @@ function validate$M(obj, path = 'AbstractAttributeDefinitionOutputRepresentation
|
|
|
1837
1837
|
if (obj.unitOfMeasureInfo !== undefined) {
|
|
1838
1838
|
const obj_unitOfMeasureInfo = obj.unitOfMeasureInfo;
|
|
1839
1839
|
const path_unitOfMeasureInfo = path + '.unitOfMeasureInfo';
|
|
1840
|
-
const referencepath_unitOfMeasureInfoValidationError = validate$
|
|
1840
|
+
const referencepath_unitOfMeasureInfoValidationError = validate$Q(obj_unitOfMeasureInfo, path_unitOfMeasureInfo);
|
|
1841
1841
|
if (referencepath_unitOfMeasureInfoValidationError !== null) {
|
|
1842
1842
|
let message = 'Object doesn\'t match UnitOfMeasureInfoOutputRepresentation (at "' + path_unitOfMeasureInfo + '")\n';
|
|
1843
1843
|
message += referencepath_unitOfMeasureInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1862,8 +1862,8 @@ function validate$M(obj, path = 'AbstractAttributeDefinitionOutputRepresentation
|
|
|
1862
1862
|
return v_error === undefined ? null : v_error;
|
|
1863
1863
|
}
|
|
1864
1864
|
|
|
1865
|
-
function validate$
|
|
1866
|
-
const validateAbstractAttributeDefinitionOutputRepresentation_validateError = validate$
|
|
1865
|
+
function validate$N(obj, path = 'ProductClassificationAttributeDefinitionOutputRepresentation') {
|
|
1866
|
+
const validateAbstractAttributeDefinitionOutputRepresentation_validateError = validate$O(obj, path);
|
|
1867
1867
|
if (validateAbstractAttributeDefinitionOutputRepresentation_validateError !== null) {
|
|
1868
1868
|
return validateAbstractAttributeDefinitionOutputRepresentation_validateError;
|
|
1869
1869
|
}
|
|
@@ -1875,8 +1875,8 @@ function validate$L(obj, path = 'ProductClassificationAttributeDefinitionOutputR
|
|
|
1875
1875
|
return v_error === undefined ? null : v_error;
|
|
1876
1876
|
}
|
|
1877
1877
|
|
|
1878
|
-
function validate$
|
|
1879
|
-
const validateAbstractAttributeCategoryOutputRepresentation_validateError = validate$
|
|
1878
|
+
function validate$M(obj, path = 'ProductClassificationAttributeCategoryOutputRepresentation') {
|
|
1879
|
+
const validateAbstractAttributeCategoryOutputRepresentation_validateError = validate$L(obj, path);
|
|
1880
1880
|
if (validateAbstractAttributeCategoryOutputRepresentation_validateError !== null) {
|
|
1881
1881
|
return validateAbstractAttributeCategoryOutputRepresentation_validateError;
|
|
1882
1882
|
}
|
|
@@ -1893,7 +1893,7 @@ function validate$K(obj, path = 'ProductClassificationAttributeCategoryOutputRep
|
|
|
1893
1893
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1894
1894
|
const obj_attributes_item = obj_attributes[i];
|
|
1895
1895
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1896
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1896
|
+
const referencepath_attributes_itemValidationError = validate$N(obj_attributes_item, path_attributes_item);
|
|
1897
1897
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1898
1898
|
let message = 'Object doesn\'t match ProductClassificationAttributeDefinitionOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
1899
1899
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1910,7 +1910,7 @@ var DiscriminatorValues;
|
|
|
1910
1910
|
DiscriminatorValues["AttributeCategoryOutputRepresentation"] = "AttributeCategoryOutputRepresentation";
|
|
1911
1911
|
DiscriminatorValues["ProductClassificationAttributeCategoryOutputRepresentation"] = "ProductClassificationAttributeCategoryOutputRepresentation";
|
|
1912
1912
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
1913
|
-
function validate$
|
|
1913
|
+
function validate$L(obj, path = 'AbstractAttributeCategoryOutputRepresentation') {
|
|
1914
1914
|
const v_error = (() => {
|
|
1915
1915
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1916
1916
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1954,8 +1954,8 @@ function validate$J(obj, path = 'AbstractAttributeCategoryOutputRepresentation')
|
|
|
1954
1954
|
return v_error === undefined ? null : v_error;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
function validate$
|
|
1958
|
-
const validateAbstractAttributeCategoryOutputRepresentation_validateError = validate$
|
|
1957
|
+
function validate$K(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
1958
|
+
const validateAbstractAttributeCategoryOutputRepresentation_validateError = validate$L(obj, path);
|
|
1959
1959
|
if (validateAbstractAttributeCategoryOutputRepresentation_validateError !== null) {
|
|
1960
1960
|
return validateAbstractAttributeCategoryOutputRepresentation_validateError;
|
|
1961
1961
|
}
|
|
@@ -1972,7 +1972,7 @@ function validate$I(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
1972
1972
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
1973
1973
|
const obj_attributes_item = obj_attributes[i];
|
|
1974
1974
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
1975
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
1975
|
+
const referencepath_attributes_itemValidationError = validate$P(obj_attributes_item, path_attributes_item);
|
|
1976
1976
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
1977
1977
|
let message = 'Object doesn\'t match AttributeDefinitionOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
1978
1978
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1984,7 +1984,7 @@ function validate$I(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
1984
1984
|
return v_error === undefined ? null : v_error;
|
|
1985
1985
|
}
|
|
1986
1986
|
|
|
1987
|
-
function validate$
|
|
1987
|
+
function validate$J(obj, path = 'CatalogOutputRepresentation') {
|
|
1988
1988
|
const v_error = (() => {
|
|
1989
1989
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1990
1990
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2049,7 +2049,7 @@ function validate$H(obj, path = 'CatalogOutputRepresentation') {
|
|
|
2049
2049
|
return v_error === undefined ? null : v_error;
|
|
2050
2050
|
}
|
|
2051
2051
|
|
|
2052
|
-
function validate$
|
|
2052
|
+
function validate$I(obj, path = 'CategoryOutputRepresentation') {
|
|
2053
2053
|
const v_error = (() => {
|
|
2054
2054
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2055
2055
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2133,7 +2133,7 @@ function validate$G(obj, path = 'CategoryOutputRepresentation') {
|
|
|
2133
2133
|
for (let i = 0; i < obj_subCategories.length; i++) {
|
|
2134
2134
|
const obj_subCategories_item = obj_subCategories[i];
|
|
2135
2135
|
const path_subCategories_item = path_subCategories + '[' + i + ']';
|
|
2136
|
-
const referencepath_subCategories_itemValidationError = validate$
|
|
2136
|
+
const referencepath_subCategories_itemValidationError = validate$I(obj_subCategories_item, path_subCategories_item);
|
|
2137
2137
|
if (referencepath_subCategories_itemValidationError !== null) {
|
|
2138
2138
|
let message = 'Object doesn\'t match CategoryOutputRepresentation (at "' + path_subCategories_item + '")\n';
|
|
2139
2139
|
message += referencepath_subCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2145,7 +2145,7 @@ function validate$G(obj, path = 'CategoryOutputRepresentation') {
|
|
|
2145
2145
|
return v_error === undefined ? null : v_error;
|
|
2146
2146
|
}
|
|
2147
2147
|
|
|
2148
|
-
function validate$
|
|
2148
|
+
function validate$H(obj, path = 'ProductClassificationOutputRepresentation') {
|
|
2149
2149
|
const v_error = (() => {
|
|
2150
2150
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2151
2151
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2189,7 +2189,7 @@ function validate$F(obj, path = 'ProductClassificationOutputRepresentation') {
|
|
|
2189
2189
|
return v_error === undefined ? null : v_error;
|
|
2190
2190
|
}
|
|
2191
2191
|
|
|
2192
|
-
function validate$
|
|
2192
|
+
function validate$G(obj, path = 'ProductComponentGroupOutputRepresentation') {
|
|
2193
2193
|
const v_error = (() => {
|
|
2194
2194
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2195
2195
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2203,7 +2203,7 @@ function validate$E(obj, path = 'ProductComponentGroupOutputRepresentation') {
|
|
|
2203
2203
|
for (let i = 0; i < obj_childGroups.length; i++) {
|
|
2204
2204
|
const obj_childGroups_item = obj_childGroups[i];
|
|
2205
2205
|
const path_childGroups_item = path_childGroups + '[' + i + ']';
|
|
2206
|
-
const referencepath_childGroups_itemValidationError = validate$
|
|
2206
|
+
const referencepath_childGroups_itemValidationError = validate$G(obj_childGroups_item, path_childGroups_item);
|
|
2207
2207
|
if (referencepath_childGroups_itemValidationError !== null) {
|
|
2208
2208
|
let message = 'Object doesn\'t match ProductComponentGroupOutputRepresentation (at "' + path_childGroups_item + '")\n';
|
|
2209
2209
|
message += referencepath_childGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2299,7 +2299,7 @@ function validate$E(obj, path = 'ProductComponentGroupOutputRepresentation') {
|
|
|
2299
2299
|
return v_error === undefined ? null : v_error;
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
function validate$
|
|
2302
|
+
function validate$F(obj, path = 'ProductRelatedComponentOutputRepresentation') {
|
|
2303
2303
|
const v_error = (() => {
|
|
2304
2304
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2305
2305
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2428,7 +2428,7 @@ function validate$D(obj, path = 'ProductRelatedComponentOutputRepresentation') {
|
|
|
2428
2428
|
if (obj.unitOfMeasureInfo !== undefined) {
|
|
2429
2429
|
const obj_unitOfMeasureInfo = obj.unitOfMeasureInfo;
|
|
2430
2430
|
const path_unitOfMeasureInfo = path + '.unitOfMeasureInfo';
|
|
2431
|
-
const referencepath_unitOfMeasureInfoValidationError = validate$
|
|
2431
|
+
const referencepath_unitOfMeasureInfoValidationError = validate$Q(obj_unitOfMeasureInfo, path_unitOfMeasureInfo);
|
|
2432
2432
|
if (referencepath_unitOfMeasureInfoValidationError !== null) {
|
|
2433
2433
|
let message = 'Object doesn\'t match UnitOfMeasureInfoOutputRepresentation (at "' + path_unitOfMeasureInfo + '")\n';
|
|
2434
2434
|
message += referencepath_unitOfMeasureInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2439,7 +2439,7 @@ function validate$D(obj, path = 'ProductRelatedComponentOutputRepresentation') {
|
|
|
2439
2439
|
return v_error === undefined ? null : v_error;
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
|
-
function validate$
|
|
2442
|
+
function validate$E(obj, path = 'ProductSellingModelOutputRepresentation') {
|
|
2443
2443
|
const v_error = (() => {
|
|
2444
2444
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2445
2445
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2497,7 +2497,7 @@ function validate$C(obj, path = 'ProductSellingModelOutputRepresentation') {
|
|
|
2497
2497
|
return v_error === undefined ? null : v_error;
|
|
2498
2498
|
}
|
|
2499
2499
|
|
|
2500
|
-
function validate$
|
|
2500
|
+
function validate$D(obj, path = 'ProductSellingModelOptionOutputRepresentation') {
|
|
2501
2501
|
const v_error = (() => {
|
|
2502
2502
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2503
2503
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2526,7 +2526,7 @@ function validate$B(obj, path = 'ProductSellingModelOptionOutputRepresentation')
|
|
|
2526
2526
|
if (obj.productSellingModel !== undefined) {
|
|
2527
2527
|
const obj_productSellingModel = obj.productSellingModel;
|
|
2528
2528
|
const path_productSellingModel = path + '.productSellingModel';
|
|
2529
|
-
const referencepath_productSellingModelValidationError = validate$
|
|
2529
|
+
const referencepath_productSellingModelValidationError = validate$E(obj_productSellingModel, path_productSellingModel);
|
|
2530
2530
|
if (referencepath_productSellingModelValidationError !== null) {
|
|
2531
2531
|
let message = 'Object doesn\'t match ProductSellingModelOutputRepresentation (at "' + path_productSellingModel + '")\n';
|
|
2532
2532
|
message += referencepath_productSellingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2537,7 +2537,7 @@ function validate$B(obj, path = 'ProductSellingModelOptionOutputRepresentation')
|
|
|
2537
2537
|
return v_error === undefined ? null : v_error;
|
|
2538
2538
|
}
|
|
2539
2539
|
|
|
2540
|
-
function validate$
|
|
2540
|
+
function validate$C(obj, path = 'ProductSpecificationTypeOutputRepresentation') {
|
|
2541
2541
|
const v_error = (() => {
|
|
2542
2542
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2543
2543
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2555,7 +2555,7 @@ function validate$A(obj, path = 'ProductSpecificationTypeOutputRepresentation')
|
|
|
2555
2555
|
|
|
2556
2556
|
const TTL$e = 6000;
|
|
2557
2557
|
const VERSION$e = "0499f7d6e755368ef949d75dddfc5514";
|
|
2558
|
-
function validate$
|
|
2558
|
+
function validate$B(obj, path = 'ProductOutputRepresentation') {
|
|
2559
2559
|
const v_error = (() => {
|
|
2560
2560
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2561
2561
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2585,7 +2585,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2585
2585
|
for (let i = 0; i < obj_attributeCategory.length; i++) {
|
|
2586
2586
|
const obj_attributeCategory_item = obj_attributeCategory[i];
|
|
2587
2587
|
const path_attributeCategory_item = path_attributeCategory + '[' + i + ']';
|
|
2588
|
-
const referencepath_attributeCategory_itemValidationError = validate$
|
|
2588
|
+
const referencepath_attributeCategory_itemValidationError = validate$K(obj_attributeCategory_item, path_attributeCategory_item);
|
|
2589
2589
|
if (referencepath_attributeCategory_itemValidationError !== null) {
|
|
2590
2590
|
let message = 'Object doesn\'t match AttributeCategoryOutputRepresentation (at "' + path_attributeCategory_item + '")\n';
|
|
2591
2591
|
message += referencepath_attributeCategory_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2602,7 +2602,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2602
2602
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
2603
2603
|
const obj_attributes_item = obj_attributes[i];
|
|
2604
2604
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
2605
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
2605
|
+
const referencepath_attributes_itemValidationError = validate$P(obj_attributes_item, path_attributes_item);
|
|
2606
2606
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
2607
2607
|
let message = 'Object doesn\'t match AttributeDefinitionOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
2608
2608
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2626,7 +2626,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2626
2626
|
for (let i = 0; i < obj_catalogs.length; i++) {
|
|
2627
2627
|
const obj_catalogs_item = obj_catalogs[i];
|
|
2628
2628
|
const path_catalogs_item = path_catalogs + '[' + i + ']';
|
|
2629
|
-
const referencepath_catalogs_itemValidationError = validate$
|
|
2629
|
+
const referencepath_catalogs_itemValidationError = validate$J(obj_catalogs_item, path_catalogs_item);
|
|
2630
2630
|
if (referencepath_catalogs_itemValidationError !== null) {
|
|
2631
2631
|
let message = 'Object doesn\'t match CatalogOutputRepresentation (at "' + path_catalogs_item + '")\n';
|
|
2632
2632
|
message += referencepath_catalogs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2643,7 +2643,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2643
2643
|
for (let i = 0; i < obj_categories.length; i++) {
|
|
2644
2644
|
const obj_categories_item = obj_categories[i];
|
|
2645
2645
|
const path_categories_item = path_categories + '[' + i + ']';
|
|
2646
|
-
const referencepath_categories_itemValidationError = validate$
|
|
2646
|
+
const referencepath_categories_itemValidationError = validate$I(obj_categories_item, path_categories_item);
|
|
2647
2647
|
if (referencepath_categories_itemValidationError !== null) {
|
|
2648
2648
|
let message = 'Object doesn\'t match CategoryOutputRepresentation (at "' + path_categories_item + '")\n';
|
|
2649
2649
|
message += referencepath_categories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2660,7 +2660,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2660
2660
|
for (let i = 0; i < obj_childProducts.length; i++) {
|
|
2661
2661
|
const obj_childProducts_item = obj_childProducts[i];
|
|
2662
2662
|
const path_childProducts_item = path_childProducts + '[' + i + ']';
|
|
2663
|
-
const referencepath_childProducts_itemValidationError = validate$
|
|
2663
|
+
const referencepath_childProducts_itemValidationError = validate$B(obj_childProducts_item, path_childProducts_item);
|
|
2664
2664
|
if (referencepath_childProducts_itemValidationError !== null) {
|
|
2665
2665
|
let message = 'Object doesn\'t match ProductOutputRepresentation (at "' + path_childProducts_item + '")\n';
|
|
2666
2666
|
message += referencepath_childProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2748,7 +2748,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2748
2748
|
if (obj.productClassification !== undefined) {
|
|
2749
2749
|
const obj_productClassification = obj.productClassification;
|
|
2750
2750
|
const path_productClassification = path + '.productClassification';
|
|
2751
|
-
const referencepath_productClassificationValidationError = validate$
|
|
2751
|
+
const referencepath_productClassificationValidationError = validate$H(obj_productClassification, path_productClassification);
|
|
2752
2752
|
if (referencepath_productClassificationValidationError !== null) {
|
|
2753
2753
|
let message = 'Object doesn\'t match ProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
|
|
2754
2754
|
message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2771,7 +2771,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2771
2771
|
for (let i = 0; i < obj_productComponentGroups.length; i++) {
|
|
2772
2772
|
const obj_productComponentGroups_item = obj_productComponentGroups[i];
|
|
2773
2773
|
const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
|
|
2774
|
-
const referencepath_productComponentGroups_itemValidationError = validate$
|
|
2774
|
+
const referencepath_productComponentGroups_itemValidationError = validate$G(obj_productComponentGroups_item, path_productComponentGroups_item);
|
|
2775
2775
|
if (referencepath_productComponentGroups_itemValidationError !== null) {
|
|
2776
2776
|
let message = 'Object doesn\'t match ProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
|
|
2777
2777
|
message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2782,7 +2782,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2782
2782
|
if (obj.productRelatedComponent !== undefined) {
|
|
2783
2783
|
const obj_productRelatedComponent = obj.productRelatedComponent;
|
|
2784
2784
|
const path_productRelatedComponent = path + '.productRelatedComponent';
|
|
2785
|
-
const referencepath_productRelatedComponentValidationError = validate$
|
|
2785
|
+
const referencepath_productRelatedComponentValidationError = validate$F(obj_productRelatedComponent, path_productRelatedComponent);
|
|
2786
2786
|
if (referencepath_productRelatedComponentValidationError !== null) {
|
|
2787
2787
|
let message = 'Object doesn\'t match ProductRelatedComponentOutputRepresentation (at "' + path_productRelatedComponent + '")\n';
|
|
2788
2788
|
message += referencepath_productRelatedComponentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2798,7 +2798,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2798
2798
|
for (let i = 0; i < obj_productSellingModelOptions.length; i++) {
|
|
2799
2799
|
const obj_productSellingModelOptions_item = obj_productSellingModelOptions[i];
|
|
2800
2800
|
const path_productSellingModelOptions_item = path_productSellingModelOptions + '[' + i + ']';
|
|
2801
|
-
const referencepath_productSellingModelOptions_itemValidationError = validate$
|
|
2801
|
+
const referencepath_productSellingModelOptions_itemValidationError = validate$D(obj_productSellingModelOptions_item, path_productSellingModelOptions_item);
|
|
2802
2802
|
if (referencepath_productSellingModelOptions_itemValidationError !== null) {
|
|
2803
2803
|
let message = 'Object doesn\'t match ProductSellingModelOptionOutputRepresentation (at "' + path_productSellingModelOptions_item + '")\n';
|
|
2804
2804
|
message += referencepath_productSellingModelOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2809,7 +2809,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2809
2809
|
if (obj.productSpecificationType !== undefined) {
|
|
2810
2810
|
const obj_productSpecificationType = obj.productSpecificationType;
|
|
2811
2811
|
const path_productSpecificationType = path + '.productSpecificationType';
|
|
2812
|
-
const referencepath_productSpecificationTypeValidationError = validate$
|
|
2812
|
+
const referencepath_productSpecificationTypeValidationError = validate$C(obj_productSpecificationType, path_productSpecificationType);
|
|
2813
2813
|
if (referencepath_productSpecificationTypeValidationError !== null) {
|
|
2814
2814
|
let message = 'Object doesn\'t match ProductSpecificationTypeOutputRepresentation (at "' + path_productSpecificationType + '")\n';
|
|
2815
2815
|
message += referencepath_productSpecificationTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2826,7 +2826,7 @@ function validate$z(obj, path = 'ProductOutputRepresentation') {
|
|
|
2826
2826
|
if (obj.unitOfMeasureInfo !== undefined) {
|
|
2827
2827
|
const obj_unitOfMeasureInfo = obj.unitOfMeasureInfo;
|
|
2828
2828
|
const path_unitOfMeasureInfo = path + '.unitOfMeasureInfo';
|
|
2829
|
-
const referencepath_unitOfMeasureInfoValidationError = validate$
|
|
2829
|
+
const referencepath_unitOfMeasureInfoValidationError = validate$Q(obj_unitOfMeasureInfo, path_unitOfMeasureInfo);
|
|
2830
2830
|
if (referencepath_unitOfMeasureInfoValidationError !== null) {
|
|
2831
2831
|
let message = 'Object doesn\'t match UnitOfMeasureInfoOutputRepresentation (at "' + path_unitOfMeasureInfo + '")\n';
|
|
2832
2832
|
message += referencepath_unitOfMeasureInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2856,7 +2856,7 @@ function equals$e(existing, incoming) {
|
|
|
2856
2856
|
}
|
|
2857
2857
|
const ingest$e = function ProductOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2858
2858
|
if (process.env.NODE_ENV !== 'production') {
|
|
2859
|
-
const validateError = validate$
|
|
2859
|
+
const validateError = validate$B(input);
|
|
2860
2860
|
if (validateError !== null) {
|
|
2861
2861
|
throw validateError;
|
|
2862
2862
|
}
|
|
@@ -2878,7 +2878,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2878
2878
|
|
|
2879
2879
|
const TTL$d = 6000;
|
|
2880
2880
|
const VERSION$d = "361d9a572bd27fa309dcdf0c067fb41e";
|
|
2881
|
-
function validate$
|
|
2881
|
+
function validate$A(obj, path = 'ProductsBulkOutputRepresentation') {
|
|
2882
2882
|
const v_error = (() => {
|
|
2883
2883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2884
2884
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2904,7 +2904,7 @@ function validate$y(obj, path = 'ProductsBulkOutputRepresentation') {
|
|
|
2904
2904
|
for (let i = 0; i < obj_facets.length; i++) {
|
|
2905
2905
|
const obj_facets_item = obj_facets[i];
|
|
2906
2906
|
const path_facets_item = path_facets + '[' + i + ']';
|
|
2907
|
-
const referencepath_facets_itemValidationError = validate$
|
|
2907
|
+
const referencepath_facets_itemValidationError = validate$T(obj_facets_item, path_facets_item);
|
|
2908
2908
|
if (referencepath_facets_itemValidationError !== null) {
|
|
2909
2909
|
let message = 'Object doesn\'t match SearchFacetOutputRepresentation (at "' + path_facets_item + '")\n';
|
|
2910
2910
|
message += referencepath_facets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2921,7 +2921,7 @@ function validate$y(obj, path = 'ProductsBulkOutputRepresentation') {
|
|
|
2921
2921
|
for (let i = 0; i < obj_products.length; i++) {
|
|
2922
2922
|
const obj_products_item = obj_products[i];
|
|
2923
2923
|
const path_products_item = path_products + '[' + i + ']';
|
|
2924
|
-
const referencepath_products_itemValidationError = validate$
|
|
2924
|
+
const referencepath_products_itemValidationError = validate$B(obj_products_item, path_products_item);
|
|
2925
2925
|
if (referencepath_products_itemValidationError !== null) {
|
|
2926
2926
|
let message = 'Object doesn\'t match ProductOutputRepresentation (at "' + path_products_item + '")\n';
|
|
2927
2927
|
message += referencepath_products_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2932,7 +2932,7 @@ function validate$y(obj, path = 'ProductsBulkOutputRepresentation') {
|
|
|
2932
2932
|
if (obj.status !== undefined) {
|
|
2933
2933
|
const obj_status = obj.status;
|
|
2934
2934
|
const path_status = path + '.status';
|
|
2935
|
-
const referencepath_statusValidationError = validate$
|
|
2935
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
2936
2936
|
if (referencepath_statusValidationError !== null) {
|
|
2937
2937
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
2938
2938
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2971,7 +2971,7 @@ function equals$d(existing, incoming) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
const ingest$d = function ProductsBulkOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2973
2973
|
if (process.env.NODE_ENV !== 'production') {
|
|
2974
|
-
const validateError = validate$
|
|
2974
|
+
const validateError = validate$A(input);
|
|
2975
2975
|
if (validateError !== null) {
|
|
2976
2976
|
throw validateError;
|
|
2977
2977
|
}
|
|
@@ -3106,7 +3106,7 @@ const getBulkProductDetailsAdapterFactory = (luvio) => {
|
|
|
3106
3106
|
};
|
|
3107
3107
|
};
|
|
3108
3108
|
|
|
3109
|
-
function validate$
|
|
3109
|
+
function validate$z(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation') {
|
|
3110
3110
|
const v_error = (() => {
|
|
3111
3111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3112
3112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3129,7 +3129,7 @@ function validate$x(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation')
|
|
|
3129
3129
|
return v_error === undefined ? null : v_error;
|
|
3130
3130
|
}
|
|
3131
3131
|
|
|
3132
|
-
function validate$
|
|
3132
|
+
function validate$y(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation') {
|
|
3133
3133
|
const v_error = (() => {
|
|
3134
3134
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3135
3135
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3142,7 +3142,7 @@ function validate$w(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation')
|
|
|
3142
3142
|
for (let i = 0; i < obj_configRuleHashColumnsInfo.length; i++) {
|
|
3143
3143
|
const obj_configRuleHashColumnsInfo_item = obj_configRuleHashColumnsInfo[i];
|
|
3144
3144
|
const path_configRuleHashColumnsInfo_item = path_configRuleHashColumnsInfo + '[' + i + ']';
|
|
3145
|
-
const referencepath_configRuleHashColumnsInfo_itemValidationError = validate$
|
|
3145
|
+
const referencepath_configRuleHashColumnsInfo_itemValidationError = validate$z(obj_configRuleHashColumnsInfo_item, path_configRuleHashColumnsInfo_item);
|
|
3146
3146
|
if (referencepath_configRuleHashColumnsInfo_itemValidationError !== null) {
|
|
3147
3147
|
let message = 'Object doesn\'t match ConfigRuleHashColumnInfoOutputRepresentation (at "' + path_configRuleHashColumnsInfo_item + '")\n';
|
|
3148
3148
|
message += referencepath_configRuleHashColumnsInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3153,7 +3153,7 @@ function validate$w(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation')
|
|
|
3153
3153
|
return v_error === undefined ? null : v_error;
|
|
3154
3154
|
}
|
|
3155
3155
|
|
|
3156
|
-
function validate$
|
|
3156
|
+
function validate$x(obj, path = 'ContextFieldInfoOutputRepresentation') {
|
|
3157
3157
|
const v_error = (() => {
|
|
3158
3158
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3159
3159
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3204,7 +3204,7 @@ function validate$v(obj, path = 'ContextFieldInfoOutputRepresentation') {
|
|
|
3204
3204
|
return v_error === undefined ? null : v_error;
|
|
3205
3205
|
}
|
|
3206
3206
|
|
|
3207
|
-
function validate$
|
|
3207
|
+
function validate$w(obj, path = 'ContextFieldsInfoOutputRepresentation') {
|
|
3208
3208
|
const v_error = (() => {
|
|
3209
3209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3210
3210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3217,7 +3217,7 @@ function validate$u(obj, path = 'ContextFieldsInfoOutputRepresentation') {
|
|
|
3217
3217
|
for (let i = 0; i < obj_contextFieldsInfo.length; i++) {
|
|
3218
3218
|
const obj_contextFieldsInfo_item = obj_contextFieldsInfo[i];
|
|
3219
3219
|
const path_contextFieldsInfo_item = path_contextFieldsInfo + '[' + i + ']';
|
|
3220
|
-
const referencepath_contextFieldsInfo_itemValidationError = validate$
|
|
3220
|
+
const referencepath_contextFieldsInfo_itemValidationError = validate$x(obj_contextFieldsInfo_item, path_contextFieldsInfo_item);
|
|
3221
3221
|
if (referencepath_contextFieldsInfo_itemValidationError !== null) {
|
|
3222
3222
|
let message = 'Object doesn\'t match ContextFieldInfoOutputRepresentation (at "' + path_contextFieldsInfo_item + '")\n';
|
|
3223
3223
|
message += referencepath_contextFieldsInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3228,7 +3228,7 @@ function validate$u(obj, path = 'ContextFieldsInfoOutputRepresentation') {
|
|
|
3228
3228
|
return v_error === undefined ? null : v_error;
|
|
3229
3229
|
}
|
|
3230
3230
|
|
|
3231
|
-
function validate$
|
|
3231
|
+
function validate$v(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
3232
3232
|
const v_error = (() => {
|
|
3233
3233
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3234
3234
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3243,7 +3243,7 @@ function validate$t(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
|
3243
3243
|
if (obj.childNodes !== undefined) {
|
|
3244
3244
|
const obj_childNodes = obj.childNodes;
|
|
3245
3245
|
const path_childNodes = path + '.childNodes';
|
|
3246
|
-
const referencepath_childNodesValidationError = validate$
|
|
3246
|
+
const referencepath_childNodesValidationError = validate$u(obj_childNodes, path_childNodes);
|
|
3247
3247
|
if (referencepath_childNodesValidationError !== null) {
|
|
3248
3248
|
let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_childNodes + '")\n';
|
|
3249
3249
|
message += referencepath_childNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3253,7 +3253,7 @@ function validate$t(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
|
3253
3253
|
if (obj.fields !== undefined) {
|
|
3254
3254
|
const obj_fields = obj.fields;
|
|
3255
3255
|
const path_fields = path + '.fields';
|
|
3256
|
-
const referencepath_fieldsValidationError = validate$
|
|
3256
|
+
const referencepath_fieldsValidationError = validate$w(obj_fields, path_fields);
|
|
3257
3257
|
if (referencepath_fieldsValidationError !== null) {
|
|
3258
3258
|
let message = 'Object doesn\'t match ContextFieldsInfoOutputRepresentation (at "' + path_fields + '")\n';
|
|
3259
3259
|
message += referencepath_fieldsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3285,7 +3285,7 @@ function validate$t(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
|
3285
3285
|
return v_error === undefined ? null : v_error;
|
|
3286
3286
|
}
|
|
3287
3287
|
|
|
3288
|
-
function validate$
|
|
3288
|
+
function validate$u(obj, path = 'ContextNodesInfoOutputRepresentation') {
|
|
3289
3289
|
const v_error = (() => {
|
|
3290
3290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3291
3291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3298,7 +3298,7 @@ function validate$s(obj, path = 'ContextNodesInfoOutputRepresentation') {
|
|
|
3298
3298
|
for (let i = 0; i < obj_contextNodesInfo.length; i++) {
|
|
3299
3299
|
const obj_contextNodesInfo_item = obj_contextNodesInfo[i];
|
|
3300
3300
|
const path_contextNodesInfo_item = path_contextNodesInfo + '[' + i + ']';
|
|
3301
|
-
const referencepath_contextNodesInfo_itemValidationError = validate$
|
|
3301
|
+
const referencepath_contextNodesInfo_itemValidationError = validate$v(obj_contextNodesInfo_item, path_contextNodesInfo_item);
|
|
3302
3302
|
if (referencepath_contextNodesInfo_itemValidationError !== null) {
|
|
3303
3303
|
let message = 'Object doesn\'t match ContextNodeInfoOutputRepresentation (at "' + path_contextNodesInfo_item + '")\n';
|
|
3304
3304
|
message += referencepath_contextNodesInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3311,7 +3311,7 @@ function validate$s(obj, path = 'ContextNodesInfoOutputRepresentation') {
|
|
|
3311
3311
|
|
|
3312
3312
|
const TTL$c = 6000;
|
|
3313
3313
|
const VERSION$c = "a6f17b790f912a982a35bff584a89eb6";
|
|
3314
|
-
function validate$
|
|
3314
|
+
function validate$t(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
3315
3315
|
const v_error = (() => {
|
|
3316
3316
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3317
3317
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3319,7 +3319,7 @@ function validate$r(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
3319
3319
|
if (obj.configRuleHashColumns !== undefined) {
|
|
3320
3320
|
const obj_configRuleHashColumns = obj.configRuleHashColumns;
|
|
3321
3321
|
const path_configRuleHashColumns = path + '.configRuleHashColumns';
|
|
3322
|
-
const referencepath_configRuleHashColumnsValidationError = validate$
|
|
3322
|
+
const referencepath_configRuleHashColumnsValidationError = validate$y(obj_configRuleHashColumns, path_configRuleHashColumns);
|
|
3323
3323
|
if (referencepath_configRuleHashColumnsValidationError !== null) {
|
|
3324
3324
|
let message = 'Object doesn\'t match ConfigRuleHashColumnsInfoOutputRepresentation (at "' + path_configRuleHashColumns + '")\n';
|
|
3325
3325
|
message += referencepath_configRuleHashColumnsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3343,7 +3343,7 @@ function validate$r(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
3343
3343
|
if (obj.contextNodes !== undefined) {
|
|
3344
3344
|
const obj_contextNodes = obj.contextNodes;
|
|
3345
3345
|
const path_contextNodes = path + '.contextNodes';
|
|
3346
|
-
const referencepath_contextNodesValidationError = validate$
|
|
3346
|
+
const referencepath_contextNodesValidationError = validate$u(obj_contextNodes, path_contextNodes);
|
|
3347
3347
|
if (referencepath_contextNodesValidationError !== null) {
|
|
3348
3348
|
let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_contextNodes + '")\n';
|
|
3349
3349
|
message += referencepath_contextNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3360,7 +3360,7 @@ function validate$r(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
3360
3360
|
if (obj.status !== undefined) {
|
|
3361
3361
|
const obj_status = obj.status;
|
|
3362
3362
|
const path_status = path + '.status';
|
|
3363
|
-
const referencepath_statusValidationError = validate$
|
|
3363
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
3364
3364
|
if (referencepath_statusValidationError !== null) {
|
|
3365
3365
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
3366
3366
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3390,7 +3390,7 @@ function equals$c(existing, incoming) {
|
|
|
3390
3390
|
}
|
|
3391
3391
|
const ingest$c = function ConfigRuleMetadataOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3392
3392
|
if (process.env.NODE_ENV !== 'production') {
|
|
3393
|
-
const validateError = validate$
|
|
3393
|
+
const validateError = validate$t(input);
|
|
3394
3394
|
if (validateError !== null) {
|
|
3395
3395
|
throw validateError;
|
|
3396
3396
|
}
|
|
@@ -3552,7 +3552,7 @@ const getConfigRuleMetadataAdapterFactory = (luvio) => function epc__getConfigRu
|
|
|
3552
3552
|
|
|
3553
3553
|
const TTL$b = 6000;
|
|
3554
3554
|
const VERSION$b = "0e533503a3df0b0f709f7ff83f175d06";
|
|
3555
|
-
function validate$
|
|
3555
|
+
function validate$s(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
3556
3556
|
const v_error = (() => {
|
|
3557
3557
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3558
3558
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3574,7 +3574,7 @@ function validate$q(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
|
3574
3574
|
if (obj.contextNodes !== undefined) {
|
|
3575
3575
|
const obj_contextNodes = obj.contextNodes;
|
|
3576
3576
|
const path_contextNodes = path + '.contextNodes';
|
|
3577
|
-
const referencepath_contextNodesValidationError = validate$
|
|
3577
|
+
const referencepath_contextNodesValidationError = validate$u(obj_contextNodes, path_contextNodes);
|
|
3578
3578
|
if (referencepath_contextNodesValidationError !== null) {
|
|
3579
3579
|
let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_contextNodes + '")\n';
|
|
3580
3580
|
message += referencepath_contextNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3591,7 +3591,7 @@ function validate$q(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
|
3591
3591
|
if (obj.status !== undefined) {
|
|
3592
3592
|
const obj_status = obj.status;
|
|
3593
3593
|
const path_status = path + '.status';
|
|
3594
|
-
const referencepath_statusValidationError = validate$
|
|
3594
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
3595
3595
|
if (referencepath_statusValidationError !== null) {
|
|
3596
3596
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
3597
3597
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3621,7 +3621,7 @@ function equals$b(existing, incoming) {
|
|
|
3621
3621
|
}
|
|
3622
3622
|
const ingest$b = function ContextDefinitionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3623
3623
|
if (process.env.NODE_ENV !== 'production') {
|
|
3624
|
-
const validateError = validate$
|
|
3624
|
+
const validateError = validate$s(input);
|
|
3625
3625
|
if (validateError !== null) {
|
|
3626
3626
|
throw validateError;
|
|
3627
3627
|
}
|
|
@@ -3780,7 +3780,7 @@ const getContextDefinitionInfoByIdAdapterFactory = (luvio) => function epc__getC
|
|
|
3780
3780
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
3781
3781
|
};
|
|
3782
3782
|
|
|
3783
|
-
function validate$
|
|
3783
|
+
function validate$r(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
3784
3784
|
const v_error = (() => {
|
|
3785
3785
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3786
3786
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3852,7 +3852,7 @@ function validate$p(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
|
3852
3852
|
return v_error === undefined ? null : v_error;
|
|
3853
3853
|
}
|
|
3854
3854
|
|
|
3855
|
-
function validate$
|
|
3855
|
+
function validate$q(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
3856
3856
|
const v_error = (() => {
|
|
3857
3857
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3858
3858
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3885,6 +3885,13 @@ function validate$o(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
|
3885
3885
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSearchableConfigurable + '" (at "' + path_isSearchableConfigurable + '")');
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
|
+
if (obj.isSortableConfigurable !== undefined) {
|
|
3889
|
+
const obj_isSortableConfigurable = obj.isSortableConfigurable;
|
|
3890
|
+
const path_isSortableConfigurable = path + '.isSortableConfigurable';
|
|
3891
|
+
if (typeof obj_isSortableConfigurable !== 'boolean') {
|
|
3892
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSortableConfigurable + '" (at "' + path_isSortableConfigurable + '")');
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3888
3895
|
if (obj.label !== undefined) {
|
|
3889
3896
|
const obj_label = obj.label;
|
|
3890
3897
|
const path_label = path + '.label';
|
|
@@ -3910,7 +3917,7 @@ function validate$o(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
|
3910
3917
|
return v_error === undefined ? null : v_error;
|
|
3911
3918
|
}
|
|
3912
3919
|
|
|
3913
|
-
function validate$
|
|
3920
|
+
function validate$p(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
3914
3921
|
const v_error = (() => {
|
|
3915
3922
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3916
3923
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3924,7 +3931,7 @@ function validate$n(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
3924
3931
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
3925
3932
|
const obj_fields_item = obj_fields[i];
|
|
3926
3933
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
3927
|
-
const referencepath_fields_itemValidationError = validate$
|
|
3934
|
+
const referencepath_fields_itemValidationError = validate$q(obj_fields_item, path_fields_item);
|
|
3928
3935
|
if (referencepath_fields_itemValidationError !== null) {
|
|
3929
3936
|
let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
3930
3937
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3943,7 +3950,7 @@ function validate$n(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
3943
3950
|
return v_error === undefined ? null : v_error;
|
|
3944
3951
|
}
|
|
3945
3952
|
|
|
3946
|
-
function validate$
|
|
3953
|
+
function validate$o(obj, path = 'MetadataOutputRepresentation') {
|
|
3947
3954
|
const v_error = (() => {
|
|
3948
3955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3949
3956
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3957,7 +3964,7 @@ function validate$m(obj, path = 'MetadataOutputRepresentation') {
|
|
|
3957
3964
|
for (let i = 0; i < obj_objectInfos.length; i++) {
|
|
3958
3965
|
const obj_objectInfos_item = obj_objectInfos[i];
|
|
3959
3966
|
const path_objectInfos_item = path_objectInfos + '[' + i + ']';
|
|
3960
|
-
const referencepath_objectInfos_itemValidationError = validate$
|
|
3967
|
+
const referencepath_objectInfos_itemValidationError = validate$p(obj_objectInfos_item, path_objectInfos_item);
|
|
3961
3968
|
if (referencepath_objectInfos_itemValidationError !== null) {
|
|
3962
3969
|
let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
|
|
3963
3970
|
message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3969,9 +3976,67 @@ function validate$m(obj, path = 'MetadataOutputRepresentation') {
|
|
|
3969
3976
|
return v_error === undefined ? null : v_error;
|
|
3970
3977
|
}
|
|
3971
3978
|
|
|
3979
|
+
function validate$n(obj, path = 'SortRuleOutputRepresentation') {
|
|
3980
|
+
const v_error = (() => {
|
|
3981
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3982
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3983
|
+
}
|
|
3984
|
+
if (obj.id !== undefined) {
|
|
3985
|
+
const obj_id = obj.id;
|
|
3986
|
+
const path_id = path + '.id';
|
|
3987
|
+
if (typeof obj_id !== 'string') {
|
|
3988
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
if (obj.sortCustomFieldId !== undefined) {
|
|
3992
|
+
const obj_sortCustomFieldId = obj.sortCustomFieldId;
|
|
3993
|
+
const path_sortCustomFieldId = path + '.sortCustomFieldId';
|
|
3994
|
+
if (typeof obj_sortCustomFieldId !== 'string') {
|
|
3995
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortCustomFieldId + '" (at "' + path_sortCustomFieldId + '")');
|
|
3996
|
+
}
|
|
3997
|
+
}
|
|
3998
|
+
if (obj.sortDirection !== undefined) {
|
|
3999
|
+
const obj_sortDirection = obj.sortDirection;
|
|
4000
|
+
const path_sortDirection = path + '.sortDirection';
|
|
4001
|
+
if (typeof obj_sortDirection !== 'string') {
|
|
4002
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortDirection + '" (at "' + path_sortDirection + '")');
|
|
4003
|
+
}
|
|
4004
|
+
}
|
|
4005
|
+
if (obj.sortLabelSuffix !== undefined) {
|
|
4006
|
+
const obj_sortLabelSuffix = obj.sortLabelSuffix;
|
|
4007
|
+
const path_sortLabelSuffix = path + '.sortLabelSuffix';
|
|
4008
|
+
if (typeof obj_sortLabelSuffix !== 'string') {
|
|
4009
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortLabelSuffix + '" (at "' + path_sortLabelSuffix + '")');
|
|
4010
|
+
}
|
|
4011
|
+
}
|
|
4012
|
+
if (obj.sortRuleRank !== undefined) {
|
|
4013
|
+
const obj_sortRuleRank = obj.sortRuleRank;
|
|
4014
|
+
const path_sortRuleRank = path + '.sortRuleRank';
|
|
4015
|
+
if (typeof obj_sortRuleRank !== 'number' || (typeof obj_sortRuleRank === 'number' && Math.floor(obj_sortRuleRank) !== obj_sortRuleRank)) {
|
|
4016
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sortRuleRank + '" (at "' + path_sortRuleRank + '")');
|
|
4017
|
+
}
|
|
4018
|
+
}
|
|
4019
|
+
if (obj.sortRuleType !== undefined) {
|
|
4020
|
+
const obj_sortRuleType = obj.sortRuleType;
|
|
4021
|
+
const path_sortRuleType = path + '.sortRuleType';
|
|
4022
|
+
if (typeof obj_sortRuleType !== 'string') {
|
|
4023
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortRuleType + '" (at "' + path_sortRuleType + '")');
|
|
4024
|
+
}
|
|
4025
|
+
}
|
|
4026
|
+
if (obj.standardField !== undefined) {
|
|
4027
|
+
const obj_standardField = obj.standardField;
|
|
4028
|
+
const path_standardField = path + '.standardField';
|
|
4029
|
+
if (typeof obj_standardField !== 'string') {
|
|
4030
|
+
return new TypeError('Expected "string" but received "' + typeof obj_standardField + '" (at "' + path_standardField + '")');
|
|
4031
|
+
}
|
|
4032
|
+
}
|
|
4033
|
+
})();
|
|
4034
|
+
return v_error === undefined ? null : v_error;
|
|
4035
|
+
}
|
|
4036
|
+
|
|
3972
4037
|
const TTL$a = 6000;
|
|
3973
|
-
const VERSION$a = "
|
|
3974
|
-
function validate$
|
|
4038
|
+
const VERSION$a = "9bd54319c74dcb38555c4c75d6755ddc";
|
|
4039
|
+
function validate$m(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
|
|
3975
4040
|
const v_error = (() => {
|
|
3976
4041
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3977
4042
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3992,7 +4057,7 @@ function validate$l(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
3992
4057
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
3993
4058
|
const obj_errors_item = obj_errors[i];
|
|
3994
4059
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
3995
|
-
const referencepath_errors_itemValidationError = validate$
|
|
4060
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
3996
4061
|
if (referencepath_errors_itemValidationError !== null) {
|
|
3997
4062
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
3998
4063
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4009,7 +4074,7 @@ function validate$l(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
4009
4074
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
4010
4075
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
4011
4076
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
4012
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
4077
|
+
const referencepath_indexConfigurations_itemValidationError = validate$r(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
4013
4078
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
4014
4079
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
4015
4080
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4020,13 +4085,30 @@ function validate$l(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
4020
4085
|
if (obj.metadata !== undefined) {
|
|
4021
4086
|
const obj_metadata = obj.metadata;
|
|
4022
4087
|
const path_metadata = path + '.metadata';
|
|
4023
|
-
const referencepath_metadataValidationError = validate$
|
|
4088
|
+
const referencepath_metadataValidationError = validate$o(obj_metadata, path_metadata);
|
|
4024
4089
|
if (referencepath_metadataValidationError !== null) {
|
|
4025
4090
|
let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
4026
4091
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4027
4092
|
return new TypeError(message);
|
|
4028
4093
|
}
|
|
4029
4094
|
}
|
|
4095
|
+
if (obj.sortRules !== undefined) {
|
|
4096
|
+
const obj_sortRules = obj.sortRules;
|
|
4097
|
+
const path_sortRules = path + '.sortRules';
|
|
4098
|
+
if (!ArrayIsArray(obj_sortRules)) {
|
|
4099
|
+
return new TypeError('Expected "array" but received "' + typeof obj_sortRules + '" (at "' + path_sortRules + '")');
|
|
4100
|
+
}
|
|
4101
|
+
for (let i = 0; i < obj_sortRules.length; i++) {
|
|
4102
|
+
const obj_sortRules_item = obj_sortRules[i];
|
|
4103
|
+
const path_sortRules_item = path_sortRules + '[' + i + ']';
|
|
4104
|
+
const referencepath_sortRules_itemValidationError = validate$n(obj_sortRules_item, path_sortRules_item);
|
|
4105
|
+
if (referencepath_sortRules_itemValidationError !== null) {
|
|
4106
|
+
let message = 'Object doesn\'t match SortRuleOutputRepresentation (at "' + path_sortRules_item + '")\n';
|
|
4107
|
+
message += referencepath_sortRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4108
|
+
return new TypeError(message);
|
|
4109
|
+
}
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4030
4112
|
if (obj.statusCode !== undefined) {
|
|
4031
4113
|
const obj_statusCode = obj.statusCode;
|
|
4032
4114
|
const path_statusCode = path + '.statusCode';
|
|
@@ -4057,7 +4139,7 @@ function equals$a(existing, incoming) {
|
|
|
4057
4139
|
}
|
|
4058
4140
|
const ingest$a = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4059
4141
|
if (process.env.NODE_ENV !== 'production') {
|
|
4060
|
-
const validateError = validate$
|
|
4142
|
+
const validateError = validate$m(input);
|
|
4061
4143
|
if (validateError !== null) {
|
|
4062
4144
|
throw validateError;
|
|
4063
4145
|
}
|
|
@@ -4081,7 +4163,7 @@ function select$l(luvio, params) {
|
|
|
4081
4163
|
return select$m();
|
|
4082
4164
|
}
|
|
4083
4165
|
function keyBuilder$i(luvio, params) {
|
|
4084
|
-
return keyPrefix + '::IndexConfigurationCollectionOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'fieldTypes:' + params.queryParams.fieldTypes + ',' + 'includeMetadata:' + params.queryParams.includeMetadata + ')';
|
|
4166
|
+
return keyPrefix + '::IndexConfigurationCollectionOutputRepresentation:(' + 'correlationId:' + params.queryParams.correlationId + ',' + 'fieldTypes:' + params.queryParams.fieldTypes + ',' + 'includeMetadata:' + params.queryParams.includeMetadata + ',' + 'includeIndexConfigurations:' + params.queryParams.includeIndexConfigurations + ',' + 'includeSortRules:' + params.queryParams.includeSortRules + ')';
|
|
4085
4167
|
}
|
|
4086
4168
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
4087
4169
|
getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$i(luvio, resourceParams));
|
|
@@ -4134,6 +4216,8 @@ const getIndexConfigurations_ConfigPropertyMetadata = [
|
|
|
4134
4216
|
generateParamConfigMetadata('correlationId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4135
4217
|
generateParamConfigMetadata('fieldTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
4136
4218
|
generateParamConfigMetadata('includeMetadata', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
4219
|
+
generateParamConfigMetadata('includeIndexConfigurations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
4220
|
+
generateParamConfigMetadata('includeSortRules', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
4137
4221
|
];
|
|
4138
4222
|
const getIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getIndexConfigurations_ConfigPropertyMetadata);
|
|
4139
4223
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$j(getIndexConfigurations_ConfigPropertyMetadata);
|
|
@@ -4217,7 +4301,7 @@ const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexCo
|
|
|
4217
4301
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
4218
4302
|
};
|
|
4219
4303
|
|
|
4220
|
-
function validate$
|
|
4304
|
+
function validate$l(obj, path = 'IndexErrorOutputRepresentation') {
|
|
4221
4305
|
const v_error = (() => {
|
|
4222
4306
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4223
4307
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4263,7 +4347,7 @@ function validate$k(obj, path = 'IndexErrorOutputRepresentation') {
|
|
|
4263
4347
|
|
|
4264
4348
|
const TTL$9 = 6000;
|
|
4265
4349
|
const VERSION$9 = "e31c001fd55621e81285a4979e12f08b";
|
|
4266
|
-
function validate$
|
|
4350
|
+
function validate$k(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
|
|
4267
4351
|
const v_error = (() => {
|
|
4268
4352
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4269
4353
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4277,7 +4361,7 @@ function validate$j(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
|
|
|
4277
4361
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
4278
4362
|
const obj_errors_item = obj_errors[i];
|
|
4279
4363
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
4280
|
-
const referencepath_errors_itemValidationError = validate$
|
|
4364
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
4281
4365
|
if (referencepath_errors_itemValidationError !== null) {
|
|
4282
4366
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
4283
4367
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4288,7 +4372,7 @@ function validate$j(obj, path = 'SnapshotIndexErrorOutputRepresentation') {
|
|
|
4288
4372
|
if (obj.indexErrorDetails !== undefined) {
|
|
4289
4373
|
const obj_indexErrorDetails = obj.indexErrorDetails;
|
|
4290
4374
|
const path_indexErrorDetails = path + '.indexErrorDetails';
|
|
4291
|
-
const referencepath_indexErrorDetailsValidationError = validate$
|
|
4375
|
+
const referencepath_indexErrorDetailsValidationError = validate$l(obj_indexErrorDetails, path_indexErrorDetails);
|
|
4292
4376
|
if (referencepath_indexErrorDetailsValidationError !== null) {
|
|
4293
4377
|
let message = 'Object doesn\'t match IndexErrorOutputRepresentation (at "' + path_indexErrorDetails + '")\n';
|
|
4294
4378
|
message += referencepath_indexErrorDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4323,7 +4407,7 @@ function equals$9(existing, incoming) {
|
|
|
4323
4407
|
}
|
|
4324
4408
|
const ingest$9 = function SnapshotIndexErrorOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4325
4409
|
if (process.env.NODE_ENV !== 'production') {
|
|
4326
|
-
const validateError = validate$
|
|
4410
|
+
const validateError = validate$k(input);
|
|
4327
4411
|
if (validateError !== null) {
|
|
4328
4412
|
throw validateError;
|
|
4329
4413
|
}
|
|
@@ -4482,7 +4566,7 @@ const getIndexErrorAdapterFactory = (luvio) => function epc__getIndexError(untru
|
|
|
4482
4566
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
4483
4567
|
};
|
|
4484
4568
|
|
|
4485
|
-
function validate$
|
|
4569
|
+
function validate$j(obj, path = 'SettingMetadataOutputRepresentation') {
|
|
4486
4570
|
const v_error = (() => {
|
|
4487
4571
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4488
4572
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4505,7 +4589,7 @@ function validate$i(obj, path = 'SettingMetadataOutputRepresentation') {
|
|
|
4505
4589
|
return v_error === undefined ? null : v_error;
|
|
4506
4590
|
}
|
|
4507
4591
|
|
|
4508
|
-
function validate$
|
|
4592
|
+
function validate$i(obj, path = 'SettingOutputRepresentation') {
|
|
4509
4593
|
const v_error = (() => {
|
|
4510
4594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4511
4595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4544,7 +4628,7 @@ function validate$h(obj, path = 'SettingOutputRepresentation') {
|
|
|
4544
4628
|
|
|
4545
4629
|
const TTL$8 = 6000;
|
|
4546
4630
|
const VERSION$8 = "9f52dc7c38815ba6aa72af8ff9843d5b";
|
|
4547
|
-
function validate$
|
|
4631
|
+
function validate$h(obj, path = 'IndexSettingOutputRepresentation') {
|
|
4548
4632
|
const v_error = (() => {
|
|
4549
4633
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4550
4634
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4558,7 +4642,7 @@ function validate$g(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
4558
4642
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
4559
4643
|
const obj_errors_item = obj_errors[i];
|
|
4560
4644
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
4561
|
-
const referencepath_errors_itemValidationError = validate$
|
|
4645
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
4562
4646
|
if (referencepath_errors_itemValidationError !== null) {
|
|
4563
4647
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
4564
4648
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4569,7 +4653,7 @@ function validate$g(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
4569
4653
|
if (obj.metadata !== undefined) {
|
|
4570
4654
|
const obj_metadata = obj.metadata;
|
|
4571
4655
|
const path_metadata = path + '.metadata';
|
|
4572
|
-
const referencepath_metadataValidationError = validate$
|
|
4656
|
+
const referencepath_metadataValidationError = validate$j(obj_metadata, path_metadata);
|
|
4573
4657
|
if (referencepath_metadataValidationError !== null) {
|
|
4574
4658
|
let message = 'Object doesn\'t match SettingMetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
4575
4659
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4579,7 +4663,7 @@ function validate$g(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
4579
4663
|
if (obj.setting !== undefined) {
|
|
4580
4664
|
const obj_setting = obj.setting;
|
|
4581
4665
|
const path_setting = path + '.setting';
|
|
4582
|
-
const referencepath_settingValidationError = validate$
|
|
4666
|
+
const referencepath_settingValidationError = validate$i(obj_setting, path_setting);
|
|
4583
4667
|
if (referencepath_settingValidationError !== null) {
|
|
4584
4668
|
let message = 'Object doesn\'t match SettingOutputRepresentation (at "' + path_setting + '")\n';
|
|
4585
4669
|
message += referencepath_settingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4614,7 +4698,7 @@ function equals$8(existing, incoming) {
|
|
|
4614
4698
|
}
|
|
4615
4699
|
const ingest$8 = function IndexSettingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4616
4700
|
if (process.env.NODE_ENV !== 'production') {
|
|
4617
|
-
const validateError = validate$
|
|
4701
|
+
const validateError = validate$h(input);
|
|
4618
4702
|
if (validateError !== null) {
|
|
4619
4703
|
throw validateError;
|
|
4620
4704
|
}
|
|
@@ -4911,7 +4995,7 @@ const getProductAttributesByProductIdAdapterFactory = (luvio) => function epc__g
|
|
|
4911
4995
|
|
|
4912
4996
|
const TTL$7 = 6000;
|
|
4913
4997
|
const VERSION$7 = "a72ecee33cd540ced40874bd456be25c";
|
|
4914
|
-
function validate$
|
|
4998
|
+
function validate$g(obj, path = 'ProductsOutputRepresentation') {
|
|
4915
4999
|
const v_error = (() => {
|
|
4916
5000
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4917
5001
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4937,7 +5021,7 @@ function validate$f(obj, path = 'ProductsOutputRepresentation') {
|
|
|
4937
5021
|
for (let i = 0; i < obj_facets.length; i++) {
|
|
4938
5022
|
const obj_facets_item = obj_facets[i];
|
|
4939
5023
|
const path_facets_item = path_facets + '[' + i + ']';
|
|
4940
|
-
const referencepath_facets_itemValidationError = validate$
|
|
5024
|
+
const referencepath_facets_itemValidationError = validate$T(obj_facets_item, path_facets_item);
|
|
4941
5025
|
if (referencepath_facets_itemValidationError !== null) {
|
|
4942
5026
|
let message = 'Object doesn\'t match SearchFacetOutputRepresentation (at "' + path_facets_item + '")\n';
|
|
4943
5027
|
message += referencepath_facets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4954,7 +5038,7 @@ function validate$f(obj, path = 'ProductsOutputRepresentation') {
|
|
|
4954
5038
|
for (let i = 0; i < obj_products.length; i++) {
|
|
4955
5039
|
const obj_products_item = obj_products[i];
|
|
4956
5040
|
const path_products_item = path_products + '[' + i + ']';
|
|
4957
|
-
const referencepath_products_itemValidationError = validate$
|
|
5041
|
+
const referencepath_products_itemValidationError = validate$B(obj_products_item, path_products_item);
|
|
4958
5042
|
if (referencepath_products_itemValidationError !== null) {
|
|
4959
5043
|
let message = 'Object doesn\'t match ProductOutputRepresentation (at "' + path_products_item + '")\n';
|
|
4960
5044
|
message += referencepath_products_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4965,7 +5049,7 @@ function validate$f(obj, path = 'ProductsOutputRepresentation') {
|
|
|
4965
5049
|
if (obj.status !== undefined) {
|
|
4966
5050
|
const obj_status = obj.status;
|
|
4967
5051
|
const path_status = path + '.status';
|
|
4968
|
-
const referencepath_statusValidationError = validate$
|
|
5052
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
4969
5053
|
if (referencepath_statusValidationError !== null) {
|
|
4970
5054
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
4971
5055
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4995,7 +5079,7 @@ function equals$7(existing, incoming) {
|
|
|
4995
5079
|
}
|
|
4996
5080
|
const ingest$7 = function ProductsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4997
5081
|
if (process.env.NODE_ENV !== 'production') {
|
|
4998
|
-
const validateError = validate$
|
|
5082
|
+
const validateError = validate$g(input);
|
|
4999
5083
|
if (validateError !== null) {
|
|
5000
5084
|
throw validateError;
|
|
5001
5085
|
}
|
|
@@ -5155,7 +5239,7 @@ const getProductByIdAdapterFactory = (luvio) => function epc__getProductById(unt
|
|
|
5155
5239
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
5156
5240
|
};
|
|
5157
5241
|
|
|
5158
|
-
function validate$
|
|
5242
|
+
function validate$f(obj, path = 'PCMErrorOutputRepresentation') {
|
|
5159
5243
|
const v_error = (() => {
|
|
5160
5244
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5161
5245
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5178,7 +5262,7 @@ function validate$e(obj, path = 'PCMErrorOutputRepresentation') {
|
|
|
5178
5262
|
return v_error === undefined ? null : v_error;
|
|
5179
5263
|
}
|
|
5180
5264
|
|
|
5181
|
-
function validate$
|
|
5265
|
+
function validate$e(obj, path = 'ProductClassificationDetailsOutputRepresentation') {
|
|
5182
5266
|
const v_error = (() => {
|
|
5183
5267
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5184
5268
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5192,7 +5276,7 @@ function validate$d(obj, path = 'ProductClassificationDetailsOutputRepresentatio
|
|
|
5192
5276
|
for (let i = 0; i < obj_attributeCategories.length; i++) {
|
|
5193
5277
|
const obj_attributeCategories_item = obj_attributeCategories[i];
|
|
5194
5278
|
const path_attributeCategories_item = path_attributeCategories + '[' + i + ']';
|
|
5195
|
-
const referencepath_attributeCategories_itemValidationError = validate$
|
|
5279
|
+
const referencepath_attributeCategories_itemValidationError = validate$M(obj_attributeCategories_item, path_attributeCategories_item);
|
|
5196
5280
|
if (referencepath_attributeCategories_itemValidationError !== null) {
|
|
5197
5281
|
let message = 'Object doesn\'t match ProductClassificationAttributeCategoryOutputRepresentation (at "' + path_attributeCategories_item + '")\n';
|
|
5198
5282
|
message += referencepath_attributeCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5209,7 +5293,7 @@ function validate$d(obj, path = 'ProductClassificationDetailsOutputRepresentatio
|
|
|
5209
5293
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
5210
5294
|
const obj_attributes_item = obj_attributes[i];
|
|
5211
5295
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
5212
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
5296
|
+
const referencepath_attributes_itemValidationError = validate$N(obj_attributes_item, path_attributes_item);
|
|
5213
5297
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
5214
5298
|
let message = 'Object doesn\'t match ProductClassificationAttributeDefinitionOutputRepresentation (at "' + path_attributes_item + '")\n';
|
|
5215
5299
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5244,7 +5328,7 @@ function validate$d(obj, path = 'ProductClassificationDetailsOutputRepresentatio
|
|
|
5244
5328
|
|
|
5245
5329
|
const TTL$6 = 6000;
|
|
5246
5330
|
const VERSION$6 = "ea70b4be18ef17a8bb3768906a3d6d94";
|
|
5247
|
-
function validate$
|
|
5331
|
+
function validate$d(obj, path = 'ProductClassificationDetailsCollectionOutputRepresentation') {
|
|
5248
5332
|
const v_error = (() => {
|
|
5249
5333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5250
5334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5258,7 +5342,7 @@ function validate$c(obj, path = 'ProductClassificationDetailsCollectionOutputRep
|
|
|
5258
5342
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
5259
5343
|
const obj_errors_item = obj_errors[i];
|
|
5260
5344
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
5261
|
-
const referencepath_errors_itemValidationError = validate$
|
|
5345
|
+
const referencepath_errors_itemValidationError = validate$f(obj_errors_item, path_errors_item);
|
|
5262
5346
|
if (referencepath_errors_itemValidationError !== null) {
|
|
5263
5347
|
let message = 'Object doesn\'t match PCMErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
5264
5348
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5275,7 +5359,7 @@ function validate$c(obj, path = 'ProductClassificationDetailsCollectionOutputRep
|
|
|
5275
5359
|
for (let i = 0; i < obj_productClassifications.length; i++) {
|
|
5276
5360
|
const obj_productClassifications_item = obj_productClassifications[i];
|
|
5277
5361
|
const path_productClassifications_item = path_productClassifications + '[' + i + ']';
|
|
5278
|
-
const referencepath_productClassifications_itemValidationError = validate$
|
|
5362
|
+
const referencepath_productClassifications_itemValidationError = validate$e(obj_productClassifications_item, path_productClassifications_item);
|
|
5279
5363
|
if (referencepath_productClassifications_itemValidationError !== null) {
|
|
5280
5364
|
let message = 'Object doesn\'t match ProductClassificationDetailsOutputRepresentation (at "' + path_productClassifications_item + '")\n';
|
|
5281
5365
|
message += referencepath_productClassifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5320,7 +5404,7 @@ function equals$6(existing, incoming) {
|
|
|
5320
5404
|
}
|
|
5321
5405
|
const ingest$6 = function ProductClassificationDetailsCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5322
5406
|
if (process.env.NODE_ENV !== 'production') {
|
|
5323
|
-
const validateError = validate$
|
|
5407
|
+
const validateError = validate$d(input);
|
|
5324
5408
|
if (validateError !== null) {
|
|
5325
5409
|
throw validateError;
|
|
5326
5410
|
}
|
|
@@ -5431,7 +5515,7 @@ const getProductClassificationDetailsAdapterFactory = (luvio) => {
|
|
|
5431
5515
|
};
|
|
5432
5516
|
};
|
|
5433
5517
|
|
|
5434
|
-
function validate$
|
|
5518
|
+
function validate$c(obj, path = 'Filter') {
|
|
5435
5519
|
const v_error = (() => {
|
|
5436
5520
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5437
5521
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5454,7 +5538,7 @@ function validate$b(obj, path = 'Filter') {
|
|
|
5454
5538
|
return v_error === undefined ? null : v_error;
|
|
5455
5539
|
}
|
|
5456
5540
|
|
|
5457
|
-
function validate$
|
|
5541
|
+
function validate$b(obj, path = 'Sort') {
|
|
5458
5542
|
const v_error = (() => {
|
|
5459
5543
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5460
5544
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5479,7 +5563,7 @@ function validate$a(obj, path = 'Sort') {
|
|
|
5479
5563
|
|
|
5480
5564
|
const TTL$5 = 6000;
|
|
5481
5565
|
const VERSION$5 = "2c2b29849310de62b336553bbccf7c39";
|
|
5482
|
-
function validate$
|
|
5566
|
+
function validate$a(obj, path = 'ProductClassificationListCollectionOutputRepresentation') {
|
|
5483
5567
|
const v_error = (() => {
|
|
5484
5568
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5485
5569
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5493,7 +5577,7 @@ function validate$9(obj, path = 'ProductClassificationListCollectionOutputRepres
|
|
|
5493
5577
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
5494
5578
|
const obj_errors_item = obj_errors[i];
|
|
5495
5579
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
5496
|
-
const referencepath_errors_itemValidationError = validate$
|
|
5580
|
+
const referencepath_errors_itemValidationError = validate$f(obj_errors_item, path_errors_item);
|
|
5497
5581
|
if (referencepath_errors_itemValidationError !== null) {
|
|
5498
5582
|
let message = 'Object doesn\'t match PCMErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
5499
5583
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5510,7 +5594,7 @@ function validate$9(obj, path = 'ProductClassificationListCollectionOutputRepres
|
|
|
5510
5594
|
for (let i = 0; i < obj_productClassifications.length; i++) {
|
|
5511
5595
|
const obj_productClassifications_item = obj_productClassifications[i];
|
|
5512
5596
|
const path_productClassifications_item = path_productClassifications + '[' + i + ']';
|
|
5513
|
-
const referencepath_productClassifications_itemValidationError = validate$
|
|
5597
|
+
const referencepath_productClassifications_itemValidationError = validate$H(obj_productClassifications_item, path_productClassifications_item);
|
|
5514
5598
|
if (referencepath_productClassifications_itemValidationError !== null) {
|
|
5515
5599
|
let message = 'Object doesn\'t match ProductClassificationOutputRepresentation (at "' + path_productClassifications_item + '")\n';
|
|
5516
5600
|
message += referencepath_productClassifications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5555,7 +5639,7 @@ function equals$5(existing, incoming) {
|
|
|
5555
5639
|
}
|
|
5556
5640
|
const ingest$5 = function ProductClassificationListCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5557
5641
|
if (process.env.NODE_ENV !== 'production') {
|
|
5558
|
-
const validateError = validate$
|
|
5642
|
+
const validateError = validate$a(input);
|
|
5559
5643
|
if (validateError !== null) {
|
|
5560
5644
|
throw validateError;
|
|
5561
5645
|
}
|
|
@@ -5627,12 +5711,12 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
5627
5711
|
const config = {};
|
|
5628
5712
|
typeCheckConfig$j(untrustedConfig, config, getProductClassificationList_ConfigPropertyMetadata);
|
|
5629
5713
|
const untrustedConfig_filter = untrustedConfig.filter;
|
|
5630
|
-
const referenceFilterValidationError = validate$
|
|
5714
|
+
const referenceFilterValidationError = validate$c(untrustedConfig_filter);
|
|
5631
5715
|
if (referenceFilterValidationError === null) {
|
|
5632
5716
|
config.filter = untrustedConfig_filter;
|
|
5633
5717
|
}
|
|
5634
5718
|
const untrustedConfig_sort = untrustedConfig.sort;
|
|
5635
|
-
const referenceSortValidationError = validate$
|
|
5719
|
+
const referenceSortValidationError = validate$b(untrustedConfig_sort);
|
|
5636
5720
|
if (referenceSortValidationError === null) {
|
|
5637
5721
|
config.sort = untrustedConfig_sort;
|
|
5638
5722
|
}
|
|
@@ -5680,7 +5764,7 @@ const getProductClassificationListAdapterFactory = (luvio) => {
|
|
|
5680
5764
|
};
|
|
5681
5765
|
};
|
|
5682
5766
|
|
|
5683
|
-
function validate$
|
|
5767
|
+
function validate$9(obj, path = 'ProductFlowConnectRepresentation') {
|
|
5684
5768
|
const v_error = (() => {
|
|
5685
5769
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5686
5770
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5698,7 +5782,7 @@ function validate$8(obj, path = 'ProductFlowConnectRepresentation') {
|
|
|
5698
5782
|
|
|
5699
5783
|
const TTL$4 = 6000;
|
|
5700
5784
|
const VERSION$4 = "a75aed3c640fb969c24561ef4f8cb169";
|
|
5701
|
-
function validate$
|
|
5785
|
+
function validate$8(obj, path = 'ProductFlowOutputRepresentation') {
|
|
5702
5786
|
const v_error = (() => {
|
|
5703
5787
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5704
5788
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5713,7 +5797,7 @@ function validate$7(obj, path = 'ProductFlowOutputRepresentation') {
|
|
|
5713
5797
|
if (obj.productFlow !== undefined) {
|
|
5714
5798
|
const obj_productFlow = obj.productFlow;
|
|
5715
5799
|
const path_productFlow = path + '.productFlow';
|
|
5716
|
-
const referencepath_productFlowValidationError = validate$
|
|
5800
|
+
const referencepath_productFlowValidationError = validate$9(obj_productFlow, path_productFlow);
|
|
5717
5801
|
if (referencepath_productFlowValidationError !== null) {
|
|
5718
5802
|
let message = 'Object doesn\'t match ProductFlowConnectRepresentation (at "' + path_productFlow + '")\n';
|
|
5719
5803
|
message += referencepath_productFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5723,7 +5807,7 @@ function validate$7(obj, path = 'ProductFlowOutputRepresentation') {
|
|
|
5723
5807
|
if (obj.status !== undefined) {
|
|
5724
5808
|
const obj_status = obj.status;
|
|
5725
5809
|
const path_status = path + '.status';
|
|
5726
|
-
const referencepath_statusValidationError = validate$
|
|
5810
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
5727
5811
|
if (referencepath_statusValidationError !== null) {
|
|
5728
5812
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
5729
5813
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5753,7 +5837,7 @@ function equals$4(existing, incoming) {
|
|
|
5753
5837
|
}
|
|
5754
5838
|
const ingest$4 = function ProductFlowOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5755
5839
|
if (process.env.NODE_ENV !== 'production') {
|
|
5756
|
-
const validateError = validate$
|
|
5840
|
+
const validateError = validate$8(input);
|
|
5757
5841
|
if (validateError !== null) {
|
|
5758
5842
|
throw validateError;
|
|
5759
5843
|
}
|
|
@@ -5915,7 +5999,7 @@ const getProductFlowByProductIdAdapterFactory = (luvio) => function epc__getProd
|
|
|
5915
5999
|
|
|
5916
6000
|
const TTL$3 = 6000;
|
|
5917
6001
|
const VERSION$3 = "b1566a76d9cf30f61b94a2d92caab70d";
|
|
5918
|
-
function validate$
|
|
6002
|
+
function validate$7(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
5919
6003
|
const v_error = (() => {
|
|
5920
6004
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5921
6005
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5929,7 +6013,7 @@ function validate$6(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
5929
6013
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
5930
6014
|
const obj_errors_item = obj_errors[i];
|
|
5931
6015
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
5932
|
-
const referencepath_errors_itemValidationError = validate$
|
|
6016
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
5933
6017
|
if (referencepath_errors_itemValidationError !== null) {
|
|
5934
6018
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
5935
6019
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5946,7 +6030,7 @@ function validate$6(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
5946
6030
|
for (let i = 0; i < obj_snapshots.length; i++) {
|
|
5947
6031
|
const obj_snapshots_item = obj_snapshots[i];
|
|
5948
6032
|
const path_snapshots_item = path_snapshots + '[' + i + ']';
|
|
5949
|
-
const referencepath_snapshots_itemValidationError = validate
|
|
6033
|
+
const referencepath_snapshots_itemValidationError = validate$$(obj_snapshots_item, path_snapshots_item);
|
|
5950
6034
|
if (referencepath_snapshots_itemValidationError !== null) {
|
|
5951
6035
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshots_item + '")\n';
|
|
5952
6036
|
message += referencepath_snapshots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5984,7 +6068,7 @@ function equals$3(existing, incoming) {
|
|
|
5984
6068
|
}
|
|
5985
6069
|
const ingest$3 = function SnapshotCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5986
6070
|
if (process.env.NODE_ENV !== 'production') {
|
|
5987
|
-
const validateError = validate$
|
|
6071
|
+
const validateError = validate$7(input);
|
|
5988
6072
|
if (validateError !== null) {
|
|
5989
6073
|
throw validateError;
|
|
5990
6074
|
}
|
|
@@ -6142,7 +6226,7 @@ const getSnapshotsAdapterFactory = (luvio) => function epc__getSnapshots(untrust
|
|
|
6142
6226
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
6143
6227
|
};
|
|
6144
6228
|
|
|
6145
|
-
function validate$
|
|
6229
|
+
function validate$6(obj, path = 'SettingInputRepresentation') {
|
|
6146
6230
|
const v_error = (() => {
|
|
6147
6231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6148
6232
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6174,7 +6258,7 @@ function validate$5(obj, path = 'SettingInputRepresentation') {
|
|
|
6174
6258
|
|
|
6175
6259
|
const TTL$2 = 6000;
|
|
6176
6260
|
const VERSION$2 = "dbe377fb2384a444e75e085b06800b5f";
|
|
6177
|
-
function validate$
|
|
6261
|
+
function validate$5(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
6178
6262
|
const v_error = (() => {
|
|
6179
6263
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6180
6264
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6188,7 +6272,7 @@ function validate$4(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
|
6188
6272
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
6189
6273
|
const obj_errors_item = obj_errors[i];
|
|
6190
6274
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
6191
|
-
const referencepath_errors_itemValidationError = validate$
|
|
6275
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
6192
6276
|
if (referencepath_errors_itemValidationError !== null) {
|
|
6193
6277
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
6194
6278
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6199,7 +6283,7 @@ function validate$4(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
|
6199
6283
|
if (obj.setting !== undefined) {
|
|
6200
6284
|
const obj_setting = obj.setting;
|
|
6201
6285
|
const path_setting = path + '.setting';
|
|
6202
|
-
const referencepath_settingValidationError = validate$
|
|
6286
|
+
const referencepath_settingValidationError = validate$i(obj_setting, path_setting);
|
|
6203
6287
|
if (referencepath_settingValidationError !== null) {
|
|
6204
6288
|
let message = 'Object doesn\'t match SettingOutputRepresentation (at "' + path_setting + '")\n';
|
|
6205
6289
|
message += referencepath_settingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6243,7 +6327,7 @@ function equals$2(existing, incoming) {
|
|
|
6243
6327
|
}
|
|
6244
6328
|
const ingest$2 = function IndexSettingPatchOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6245
6329
|
if (process.env.NODE_ENV !== 'production') {
|
|
6246
|
-
const validateError = validate$
|
|
6330
|
+
const validateError = validate$5(input);
|
|
6247
6331
|
if (validateError !== null) {
|
|
6248
6332
|
throw validateError;
|
|
6249
6333
|
}
|
|
@@ -6311,7 +6395,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
6311
6395
|
const config = {};
|
|
6312
6396
|
typeCheckConfig$j(untrustedConfig, config, patchIndexSetting_ConfigPropertyMetadata);
|
|
6313
6397
|
const untrustedConfig_setting = untrustedConfig.setting;
|
|
6314
|
-
const referenceSettingInputRepresentationValidationError = validate$
|
|
6398
|
+
const referenceSettingInputRepresentationValidationError = validate$6(untrustedConfig_setting);
|
|
6315
6399
|
if (referenceSettingInputRepresentationValidationError === null) {
|
|
6316
6400
|
config.setting = untrustedConfig_setting;
|
|
6317
6401
|
}
|
|
@@ -6359,7 +6443,7 @@ const patchIndexSettingAdapterFactory = (luvio) => {
|
|
|
6359
6443
|
};
|
|
6360
6444
|
};
|
|
6361
6445
|
|
|
6362
|
-
function validate$
|
|
6446
|
+
function validate$4(obj, path = 'RecordUpdateOutputRepresentation') {
|
|
6363
6447
|
const v_error = (() => {
|
|
6364
6448
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6365
6449
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6367,7 +6451,7 @@ function validate$3(obj, path = 'RecordUpdateOutputRepresentation') {
|
|
|
6367
6451
|
if (obj.error !== undefined) {
|
|
6368
6452
|
const obj_error = obj.error;
|
|
6369
6453
|
const path_error = path + '.error';
|
|
6370
|
-
const referencepath_errorValidationError = validate$
|
|
6454
|
+
const referencepath_errorValidationError = validate$13(obj_error, path_error);
|
|
6371
6455
|
if (referencepath_errorValidationError !== null) {
|
|
6372
6456
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_error + '")\n';
|
|
6373
6457
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6399,7 +6483,7 @@ function validate$3(obj, path = 'RecordUpdateOutputRepresentation') {
|
|
|
6399
6483
|
return v_error === undefined ? null : v_error;
|
|
6400
6484
|
}
|
|
6401
6485
|
|
|
6402
|
-
function validate$
|
|
6486
|
+
function validate$3(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
|
|
6403
6487
|
const v_error = (() => {
|
|
6404
6488
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6405
6489
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6420,7 +6504,7 @@ function validate$2(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
|
|
|
6420
6504
|
for (let i = 0; i < obj_records.length; i++) {
|
|
6421
6505
|
const obj_records_item = obj_records[i];
|
|
6422
6506
|
const path_records_item = path_records + '[' + i + ']';
|
|
6423
|
-
const referencepath_records_itemValidationError = validate$
|
|
6507
|
+
const referencepath_records_itemValidationError = validate$4(obj_records_item, path_records_item);
|
|
6424
6508
|
if (referencepath_records_itemValidationError !== null) {
|
|
6425
6509
|
let message = 'Object doesn\'t match RecordUpdateOutputRepresentation (at "' + path_records_item + '")\n';
|
|
6426
6510
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6434,7 +6518,7 @@ function validate$2(obj, path = 'CatalogUpdateGraphOutputRepresentation') {
|
|
|
6434
6518
|
|
|
6435
6519
|
const TTL$1 = 6000;
|
|
6436
6520
|
const VERSION$1 = "1a50bf399b835e5f51948f12543237ea";
|
|
6437
|
-
function validate$
|
|
6521
|
+
function validate$2(obj, path = 'CatalogUpdateResponseRepresentation') {
|
|
6438
6522
|
const v_error = (() => {
|
|
6439
6523
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6440
6524
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6447,7 +6531,7 @@ function validate$1(obj, path = 'CatalogUpdateResponseRepresentation') {
|
|
|
6447
6531
|
if (obj.graphResponse !== undefined) {
|
|
6448
6532
|
const obj_graphResponse = obj.graphResponse;
|
|
6449
6533
|
const path_graphResponse = path + '.graphResponse';
|
|
6450
|
-
const referencepath_graphResponseValidationError = validate$
|
|
6534
|
+
const referencepath_graphResponseValidationError = validate$3(obj_graphResponse, path_graphResponse);
|
|
6451
6535
|
if (referencepath_graphResponseValidationError !== null) {
|
|
6452
6536
|
let message = 'Object doesn\'t match CatalogUpdateGraphOutputRepresentation (at "' + path_graphResponse + '")\n';
|
|
6453
6537
|
message += referencepath_graphResponseValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6471,7 +6555,7 @@ function validate$1(obj, path = 'CatalogUpdateResponseRepresentation') {
|
|
|
6471
6555
|
if (obj.status !== undefined) {
|
|
6472
6556
|
const obj_status = obj.status;
|
|
6473
6557
|
const path_status = path + '.status';
|
|
6474
|
-
const referencepath_statusValidationError = validate$
|
|
6558
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
6475
6559
|
if (referencepath_statusValidationError !== null) {
|
|
6476
6560
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
6477
6561
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6510,7 +6594,7 @@ function equals$1(existing, incoming) {
|
|
|
6510
6594
|
}
|
|
6511
6595
|
const ingest$1 = function CatalogUpdateResponseRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6512
6596
|
if (process.env.NODE_ENV !== 'production') {
|
|
6513
|
-
const validateError = validate$
|
|
6597
|
+
const validateError = validate$2(input);
|
|
6514
6598
|
if (validateError !== null) {
|
|
6515
6599
|
throw validateError;
|
|
6516
6600
|
}
|
|
@@ -6637,8 +6721,59 @@ const pcmCatalogUpdateAdapterFactory = (luvio) => {
|
|
|
6637
6721
|
};
|
|
6638
6722
|
};
|
|
6639
6723
|
|
|
6724
|
+
function validate$1(obj, path = 'SortRuleInputRepresentation') {
|
|
6725
|
+
const v_error = (() => {
|
|
6726
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6727
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6728
|
+
}
|
|
6729
|
+
if (obj.sortCustomFieldId !== undefined) {
|
|
6730
|
+
const obj_sortCustomFieldId = obj.sortCustomFieldId;
|
|
6731
|
+
const path_sortCustomFieldId = path + '.sortCustomFieldId';
|
|
6732
|
+
if (typeof obj_sortCustomFieldId !== 'string') {
|
|
6733
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortCustomFieldId + '" (at "' + path_sortCustomFieldId + '")');
|
|
6734
|
+
}
|
|
6735
|
+
}
|
|
6736
|
+
if (obj.sortDirection !== undefined) {
|
|
6737
|
+
const obj_sortDirection = obj.sortDirection;
|
|
6738
|
+
const path_sortDirection = path + '.sortDirection';
|
|
6739
|
+
if (typeof obj_sortDirection !== 'string') {
|
|
6740
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortDirection + '" (at "' + path_sortDirection + '")');
|
|
6741
|
+
}
|
|
6742
|
+
}
|
|
6743
|
+
if (obj.sortLabelSuffix !== undefined) {
|
|
6744
|
+
const obj_sortLabelSuffix = obj.sortLabelSuffix;
|
|
6745
|
+
const path_sortLabelSuffix = path + '.sortLabelSuffix';
|
|
6746
|
+
if (typeof obj_sortLabelSuffix !== 'string') {
|
|
6747
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortLabelSuffix + '" (at "' + path_sortLabelSuffix + '")');
|
|
6748
|
+
}
|
|
6749
|
+
}
|
|
6750
|
+
if (obj.sortRuleRank !== undefined) {
|
|
6751
|
+
const obj_sortRuleRank = obj.sortRuleRank;
|
|
6752
|
+
const path_sortRuleRank = path + '.sortRuleRank';
|
|
6753
|
+
if (typeof obj_sortRuleRank !== 'number' || (typeof obj_sortRuleRank === 'number' && Math.floor(obj_sortRuleRank) !== obj_sortRuleRank)) {
|
|
6754
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sortRuleRank + '" (at "' + path_sortRuleRank + '")');
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
if (obj.sortRuleType !== undefined) {
|
|
6758
|
+
const obj_sortRuleType = obj.sortRuleType;
|
|
6759
|
+
const path_sortRuleType = path + '.sortRuleType';
|
|
6760
|
+
if (typeof obj_sortRuleType !== 'string') {
|
|
6761
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sortRuleType + '" (at "' + path_sortRuleType + '")');
|
|
6762
|
+
}
|
|
6763
|
+
}
|
|
6764
|
+
if (obj.standardField !== undefined) {
|
|
6765
|
+
const obj_standardField = obj.standardField;
|
|
6766
|
+
const path_standardField = path + '.standardField';
|
|
6767
|
+
if (typeof obj_standardField !== 'string') {
|
|
6768
|
+
return new TypeError('Expected "string" but received "' + typeof obj_standardField + '" (at "' + path_standardField + '")');
|
|
6769
|
+
}
|
|
6770
|
+
}
|
|
6771
|
+
})();
|
|
6772
|
+
return v_error === undefined ? null : v_error;
|
|
6773
|
+
}
|
|
6774
|
+
|
|
6640
6775
|
const TTL = 6000;
|
|
6641
|
-
const VERSION = "
|
|
6776
|
+
const VERSION = "00a23b86d5c84f19efaccb3d62fc4b49";
|
|
6642
6777
|
function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
6643
6778
|
const v_error = (() => {
|
|
6644
6779
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6660,7 +6795,7 @@ function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
|
6660
6795
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
6661
6796
|
const obj_errors_item = obj_errors[i];
|
|
6662
6797
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
6663
|
-
const referencepath_errors_itemValidationError = validate$
|
|
6798
|
+
const referencepath_errors_itemValidationError = validate$13(obj_errors_item, path_errors_item);
|
|
6664
6799
|
if (referencepath_errors_itemValidationError !== null) {
|
|
6665
6800
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
6666
6801
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6677,7 +6812,7 @@ function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
|
6677
6812
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
6678
6813
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
6679
6814
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
6680
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
6815
|
+
const referencepath_indexConfigurations_itemValidationError = validate$r(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
6681
6816
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
6682
6817
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
6683
6818
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6685,6 +6820,23 @@ function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
|
6685
6820
|
}
|
|
6686
6821
|
}
|
|
6687
6822
|
}
|
|
6823
|
+
if (obj.sortRules !== undefined) {
|
|
6824
|
+
const obj_sortRules = obj.sortRules;
|
|
6825
|
+
const path_sortRules = path + '.sortRules';
|
|
6826
|
+
if (!ArrayIsArray(obj_sortRules)) {
|
|
6827
|
+
return new TypeError('Expected "array" but received "' + typeof obj_sortRules + '" (at "' + path_sortRules + '")');
|
|
6828
|
+
}
|
|
6829
|
+
for (let i = 0; i < obj_sortRules.length; i++) {
|
|
6830
|
+
const obj_sortRules_item = obj_sortRules[i];
|
|
6831
|
+
const path_sortRules_item = path_sortRules + '[' + i + ']';
|
|
6832
|
+
const referencepath_sortRules_itemValidationError = validate$n(obj_sortRules_item, path_sortRules_item);
|
|
6833
|
+
if (referencepath_sortRules_itemValidationError !== null) {
|
|
6834
|
+
let message = 'Object doesn\'t match SortRuleOutputRepresentation (at "' + path_sortRules_item + '")\n';
|
|
6835
|
+
message += referencepath_sortRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6836
|
+
return new TypeError(message);
|
|
6837
|
+
}
|
|
6838
|
+
}
|
|
6839
|
+
}
|
|
6688
6840
|
const obj_statusCode = obj.statusCode;
|
|
6689
6841
|
const path_statusCode = path + '.statusCode';
|
|
6690
6842
|
if (typeof obj_statusCode !== 'string') {
|
|
@@ -6783,6 +6935,7 @@ const adapterName = 'updateIndexConfigurations';
|
|
|
6783
6935
|
const updateIndexConfigurations_ConfigPropertyMetadata = [
|
|
6784
6936
|
generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
|
|
6785
6937
|
generateParamConfigMetadata('indexConfigurations', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
6938
|
+
generateParamConfigMetadata('sortRules', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
6786
6939
|
];
|
|
6787
6940
|
const updateIndexConfigurations_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateIndexConfigurations_ConfigPropertyMetadata);
|
|
6788
6941
|
const createResourceParams = /*#__PURE__*/ createResourceParams$j(updateIndexConfigurations_ConfigPropertyMetadata);
|
|
@@ -6798,6 +6951,18 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
6798
6951
|
}
|
|
6799
6952
|
config.indexConfigurations = untrustedConfig_indexConfigurations_array;
|
|
6800
6953
|
}
|
|
6954
|
+
const untrustedConfig_sortRules = untrustedConfig.sortRules;
|
|
6955
|
+
if (ArrayIsArray$1(untrustedConfig_sortRules)) {
|
|
6956
|
+
const untrustedConfig_sortRules_array = [];
|
|
6957
|
+
for (let i = 0, arrayLength = untrustedConfig_sortRules.length; i < arrayLength; i++) {
|
|
6958
|
+
const untrustedConfig_sortRules_item = untrustedConfig_sortRules[i];
|
|
6959
|
+
const referenceSortRuleInputRepresentationValidationError = validate$1(untrustedConfig_sortRules_item);
|
|
6960
|
+
if (referenceSortRuleInputRepresentationValidationError === null) {
|
|
6961
|
+
untrustedConfig_sortRules_array.push(untrustedConfig_sortRules_item);
|
|
6962
|
+
}
|
|
6963
|
+
}
|
|
6964
|
+
config.sortRules = untrustedConfig_sortRules_array;
|
|
6965
|
+
}
|
|
6801
6966
|
return config;
|
|
6802
6967
|
}
|
|
6803
6968
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -6983,4 +7148,4 @@ withDefaultLuvio((luvio) => {
|
|
|
6983
7148
|
});
|
|
6984
7149
|
|
|
6985
7150
|
export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getBulkProductDetails, getConfigRuleMetadata, getConfigRuleMetadata_imperative, getContextDefinitionInfoById, getContextDefinitionInfoById_imperative, getIndexConfigurations, getIndexConfigurations_imperative, getIndexError, getIndexError_imperative, getIndexSetting, getIndexSetting_imperative, getProductAttributesByProductId, getProductAttributesByProductId_imperative, getProductById, getProductById_imperative, getProductClassificationDetails, getProductClassificationList, getProductFlowByProductId, getProductFlowByProductId_imperative, getSnapshots, getSnapshots_imperative, patchIndexSetting, pcmCatalogUpdate, updateIndexConfigurations };
|
|
6986
|
-
// version: 1.
|
|
7151
|
+
// version: 1.451.0-dev1-70d3966695
|