@salesforce/lds-adapters-industries-epc 1.316.0 → 1.317.0
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 +65 -34
- package/dist/es/es2018/types/src/generated/types/IndexSettingOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SettingMetadataOutputRepresentation.d.ts +28 -0
- package/package.json +4 -4
- package/sfdc/index.js +102 -71
- package/src/raml/api.raml +13 -0
|
@@ -92,7 +92,7 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$M(obj, path = 'DeactivateInputRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -125,7 +125,7 @@ function validate$L(obj, path = 'DeactivateInputRepresentation') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$L(obj, path = 'ErrorOutputRepresentation') {
|
|
129
129
|
const v_error = (() => {
|
|
130
130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
131
131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -158,7 +158,7 @@ function validate$K(obj, path = 'ErrorOutputRepresentation') {
|
|
|
158
158
|
|
|
159
159
|
const TTL$c = 6000;
|
|
160
160
|
const VERSION$e = "67abdeaa299bae24f468fd2e78cd1e1e";
|
|
161
|
-
function validate$
|
|
161
|
+
function validate$K(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
162
162
|
const v_error = (() => {
|
|
163
163
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
164
164
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -171,7 +171,7 @@ function validate$J(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
|
171
171
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
172
172
|
const obj_errors_item = obj_errors[i];
|
|
173
173
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
174
|
-
const referencepath_errors_itemValidationError = validate$
|
|
174
|
+
const referencepath_errors_itemValidationError = validate$L(obj_errors_item, path_errors_item);
|
|
175
175
|
if (referencepath_errors_itemValidationError !== null) {
|
|
176
176
|
let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
177
177
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -215,7 +215,7 @@ function equals$e(existing, incoming) {
|
|
|
215
215
|
}
|
|
216
216
|
const ingest$d = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
217
217
|
if (process.env.NODE_ENV !== 'production') {
|
|
218
|
-
const validateError = validate$
|
|
218
|
+
const validateError = validate$K(input);
|
|
219
219
|
if (validateError !== null) {
|
|
220
220
|
throw validateError;
|
|
221
221
|
}
|
|
@@ -281,7 +281,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(deactivate_C
|
|
|
281
281
|
function typeCheckConfig$d(untrustedConfig) {
|
|
282
282
|
const config = {};
|
|
283
283
|
const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
|
|
284
|
-
const referenceDeactivateInputRepresentationValidationError = validate$
|
|
284
|
+
const referenceDeactivateInputRepresentationValidationError = validate$M(untrustedConfig_deactivateInputPayload);
|
|
285
285
|
if (referenceDeactivateInputRepresentationValidationError === null) {
|
|
286
286
|
config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
|
|
287
287
|
}
|
|
@@ -329,7 +329,7 @@ const deactivateAdapterFactory = (luvio) => {
|
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
|
|
332
|
-
function validate$
|
|
332
|
+
function validate$J(obj, path = 'EpcErrorOutputRepresentation') {
|
|
333
333
|
const v_error = (() => {
|
|
334
334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
335
335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -380,7 +380,7 @@ function validate$I(obj, path = 'EpcErrorOutputRepresentation') {
|
|
|
380
380
|
return v_error === undefined ? null : v_error;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
function validate$
|
|
383
|
+
function validate$I(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
384
384
|
const v_error = (() => {
|
|
385
385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
386
386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -438,7 +438,7 @@ function validate$H(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
|
438
438
|
return v_error === undefined ? null : v_error;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
function validate$
|
|
441
|
+
function validate$H(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
442
442
|
const v_error = (() => {
|
|
443
443
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
444
444
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -482,7 +482,7 @@ function validate$G(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
|
482
482
|
return v_error === undefined ? null : v_error;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
function validate$
|
|
485
|
+
function validate$G(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
486
486
|
const v_error = (() => {
|
|
487
487
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
488
488
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -496,7 +496,7 @@ function validate$F(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
496
496
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
497
497
|
const obj_fields_item = obj_fields[i];
|
|
498
498
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
499
|
-
const referencepath_fields_itemValidationError = validate$
|
|
499
|
+
const referencepath_fields_itemValidationError = validate$H(obj_fields_item, path_fields_item);
|
|
500
500
|
if (referencepath_fields_itemValidationError !== null) {
|
|
501
501
|
let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
502
502
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -515,7 +515,7 @@ function validate$F(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
515
515
|
return v_error === undefined ? null : v_error;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
function validate$
|
|
518
|
+
function validate$F(obj, path = 'MetadataOutputRepresentation') {
|
|
519
519
|
const v_error = (() => {
|
|
520
520
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
521
521
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -529,7 +529,7 @@ function validate$E(obj, path = 'MetadataOutputRepresentation') {
|
|
|
529
529
|
for (let i = 0; i < obj_objectInfos.length; i++) {
|
|
530
530
|
const obj_objectInfos_item = obj_objectInfos[i];
|
|
531
531
|
const path_objectInfos_item = path_objectInfos + '[' + i + ']';
|
|
532
|
-
const referencepath_objectInfos_itemValidationError = validate$
|
|
532
|
+
const referencepath_objectInfos_itemValidationError = validate$G(obj_objectInfos_item, path_objectInfos_item);
|
|
533
533
|
if (referencepath_objectInfos_itemValidationError !== null) {
|
|
534
534
|
let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
|
|
535
535
|
message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -543,7 +543,7 @@ function validate$E(obj, path = 'MetadataOutputRepresentation') {
|
|
|
543
543
|
|
|
544
544
|
const TTL$b = 6000;
|
|
545
545
|
const VERSION$d = "61cfe23ab3d064d226af215df6681afc";
|
|
546
|
-
function validate$
|
|
546
|
+
function validate$E(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
|
|
547
547
|
const v_error = (() => {
|
|
548
548
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
549
549
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -564,7 +564,7 @@ function validate$D(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
564
564
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
565
565
|
const obj_errors_item = obj_errors[i];
|
|
566
566
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
567
|
-
const referencepath_errors_itemValidationError = validate$
|
|
567
|
+
const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
|
|
568
568
|
if (referencepath_errors_itemValidationError !== null) {
|
|
569
569
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
570
570
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -581,7 +581,7 @@ function validate$D(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
581
581
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
582
582
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
583
583
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
584
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
584
|
+
const referencepath_indexConfigurations_itemValidationError = validate$I(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
585
585
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
586
586
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
587
587
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -592,7 +592,7 @@ function validate$D(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
592
592
|
if (obj.metadata !== undefined) {
|
|
593
593
|
const obj_metadata = obj.metadata;
|
|
594
594
|
const path_metadata = path + '.metadata';
|
|
595
|
-
const referencepath_metadataValidationError = validate$
|
|
595
|
+
const referencepath_metadataValidationError = validate$F(obj_metadata, path_metadata);
|
|
596
596
|
if (referencepath_metadataValidationError !== null) {
|
|
597
597
|
let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
598
598
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -629,7 +629,7 @@ function equals$d(existing, incoming) {
|
|
|
629
629
|
}
|
|
630
630
|
const ingest$c = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
631
631
|
if (process.env.NODE_ENV !== 'production') {
|
|
632
|
-
const validateError = validate$
|
|
632
|
+
const validateError = validate$E(input);
|
|
633
633
|
if (validateError !== null) {
|
|
634
634
|
throw validateError;
|
|
635
635
|
}
|
|
@@ -791,7 +791,7 @@ const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexCo
|
|
|
791
791
|
|
|
792
792
|
const TTL$a = 6000;
|
|
793
793
|
const VERSION$c = "d8fe6f305d394e3ad9e8b064fd805a31";
|
|
794
|
-
function validate$
|
|
794
|
+
function validate$D(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
795
795
|
const v_error = (() => {
|
|
796
796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
797
797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -812,7 +812,7 @@ function validate$C(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
|
|
|
812
812
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
813
813
|
const obj_errors_item = obj_errors[i];
|
|
814
814
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
815
|
-
const referencepath_errors_itemValidationError = validate$
|
|
815
|
+
const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
|
|
816
816
|
if (referencepath_errors_itemValidationError !== null) {
|
|
817
817
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
818
818
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -829,7 +829,7 @@ function validate$C(obj, path = 'IndexConfigurationsUpdateOutputRepresentation')
|
|
|
829
829
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
830
830
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
831
831
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
832
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
832
|
+
const referencepath_indexConfigurations_itemValidationError = validate$I(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
833
833
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
834
834
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
835
835
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -874,7 +874,7 @@ function equals$c(existing, incoming) {
|
|
|
874
874
|
}
|
|
875
875
|
const ingest$b = function IndexConfigurationsUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
876
876
|
if (process.env.NODE_ENV !== 'production') {
|
|
877
|
-
const validateError = validate$
|
|
877
|
+
const validateError = validate$D(input);
|
|
878
878
|
if (validateError !== null) {
|
|
879
879
|
throw validateError;
|
|
880
880
|
}
|
|
@@ -994,7 +994,7 @@ const updateIndexConfigurationsAdapterFactory = (luvio) => {
|
|
|
994
994
|
};
|
|
995
995
|
};
|
|
996
996
|
|
|
997
|
-
function validate$
|
|
997
|
+
function validate$C(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
998
998
|
const v_error = (() => {
|
|
999
999
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1000
1000
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1052,7 +1052,7 @@ function validate$B(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
1052
1052
|
return v_error === undefined ? null : v_error;
|
|
1053
1053
|
}
|
|
1054
1054
|
|
|
1055
|
-
function validate$
|
|
1055
|
+
function validate$B(obj, path = 'SnapshotOutputRepresentation') {
|
|
1056
1056
|
const v_error = (() => {
|
|
1057
1057
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1058
1058
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1094,7 +1094,7 @@ function validate$A(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
1094
1094
|
for (let i = 0; i < obj_snapshotIndexes.length; i++) {
|
|
1095
1095
|
const obj_snapshotIndexes_item = obj_snapshotIndexes[i];
|
|
1096
1096
|
const path_snapshotIndexes_item = path_snapshotIndexes + '[' + i + ']';
|
|
1097
|
-
const referencepath_snapshotIndexes_itemValidationError = validate$
|
|
1097
|
+
const referencepath_snapshotIndexes_itemValidationError = validate$C(obj_snapshotIndexes_item, path_snapshotIndexes_item);
|
|
1098
1098
|
if (referencepath_snapshotIndexes_itemValidationError !== null) {
|
|
1099
1099
|
let message = 'Object doesn\'t match SnapshotIndexOutputRepresentation (at "' + path_snapshotIndexes_item + '")\n';
|
|
1100
1100
|
message += referencepath_snapshotIndexes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1108,7 +1108,7 @@ function validate$A(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
1108
1108
|
|
|
1109
1109
|
const TTL$9 = 6000;
|
|
1110
1110
|
const VERSION$b = "a482669465add5966119b942982ae104";
|
|
1111
|
-
function validate$
|
|
1111
|
+
function validate$A(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
1112
1112
|
const v_error = (() => {
|
|
1113
1113
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1114
1114
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1122,7 +1122,7 @@ function validate$z(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
1122
1122
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1123
1123
|
const obj_errors_item = obj_errors[i];
|
|
1124
1124
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1125
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1125
|
+
const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
|
|
1126
1126
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1127
1127
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1128
1128
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1133,7 +1133,7 @@ function validate$z(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
1133
1133
|
if (obj.snapshot !== undefined) {
|
|
1134
1134
|
const obj_snapshot = obj.snapshot;
|
|
1135
1135
|
const path_snapshot = path + '.snapshot';
|
|
1136
|
-
const referencepath_snapshotValidationError = validate$
|
|
1136
|
+
const referencepath_snapshotValidationError = validate$B(obj_snapshot, path_snapshot);
|
|
1137
1137
|
if (referencepath_snapshotValidationError !== null) {
|
|
1138
1138
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshot + '")\n';
|
|
1139
1139
|
message += referencepath_snapshotValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1177,7 +1177,7 @@ function equals$b(existing, incoming) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
const ingest$a = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1179
1179
|
if (process.env.NODE_ENV !== 'production') {
|
|
1180
|
-
const validateError = validate$
|
|
1180
|
+
const validateError = validate$A(input);
|
|
1181
1181
|
if (validateError !== null) {
|
|
1182
1182
|
throw validateError;
|
|
1183
1183
|
}
|
|
@@ -1290,6 +1290,29 @@ const deploySnapshotIndexAdapterFactory = (luvio) => {
|
|
|
1290
1290
|
};
|
|
1291
1291
|
};
|
|
1292
1292
|
|
|
1293
|
+
function validate$z(obj, path = 'SettingMetadataOutputRepresentation') {
|
|
1294
|
+
const v_error = (() => {
|
|
1295
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1296
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1297
|
+
}
|
|
1298
|
+
if (obj.activeLanguages !== undefined) {
|
|
1299
|
+
const obj_activeLanguages = obj.activeLanguages;
|
|
1300
|
+
const path_activeLanguages = path + '.activeLanguages';
|
|
1301
|
+
if (!ArrayIsArray(obj_activeLanguages)) {
|
|
1302
|
+
return new TypeError('Expected "array" but received "' + typeof obj_activeLanguages + '" (at "' + path_activeLanguages + '")');
|
|
1303
|
+
}
|
|
1304
|
+
for (let i = 0; i < obj_activeLanguages.length; i++) {
|
|
1305
|
+
const obj_activeLanguages_item = obj_activeLanguages[i];
|
|
1306
|
+
const path_activeLanguages_item = path_activeLanguages + '[' + i + ']';
|
|
1307
|
+
if (typeof obj_activeLanguages_item !== 'string') {
|
|
1308
|
+
return new TypeError('Expected "string" but received "' + typeof obj_activeLanguages_item + '" (at "' + path_activeLanguages_item + '")');
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
})();
|
|
1313
|
+
return v_error === undefined ? null : v_error;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1293
1316
|
function validate$y(obj, path = 'SettingOutputRepresentation') {
|
|
1294
1317
|
const v_error = (() => {
|
|
1295
1318
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1319,7 +1342,7 @@ function validate$y(obj, path = 'SettingOutputRepresentation') {
|
|
|
1319
1342
|
}
|
|
1320
1343
|
|
|
1321
1344
|
const TTL$8 = 6000;
|
|
1322
|
-
const VERSION$a = "
|
|
1345
|
+
const VERSION$a = "8e8994b81e71fbf729c95134f748033b";
|
|
1323
1346
|
function validate$x(obj, path = 'IndexSettingOutputRepresentation') {
|
|
1324
1347
|
const v_error = (() => {
|
|
1325
1348
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1334,7 +1357,7 @@ function validate$x(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
1334
1357
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1335
1358
|
const obj_errors_item = obj_errors[i];
|
|
1336
1359
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1337
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1360
|
+
const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
|
|
1338
1361
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1339
1362
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1340
1363
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1342,6 +1365,14 @@ function validate$x(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
1342
1365
|
}
|
|
1343
1366
|
}
|
|
1344
1367
|
}
|
|
1368
|
+
const obj_metadata = obj.metadata;
|
|
1369
|
+
const path_metadata = path + '.metadata';
|
|
1370
|
+
const referencepath_metadataValidationError = validate$z(obj_metadata, path_metadata);
|
|
1371
|
+
if (referencepath_metadataValidationError !== null) {
|
|
1372
|
+
let message = 'Object doesn\'t match SettingMetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
1373
|
+
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1374
|
+
return new TypeError(message);
|
|
1375
|
+
}
|
|
1345
1376
|
const obj_setting = obj.setting;
|
|
1346
1377
|
const path_setting = path + '.setting';
|
|
1347
1378
|
const referencepath_settingValidationError = validate$y(obj_setting, path_setting);
|
|
@@ -1572,7 +1603,7 @@ function validate$v(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
|
1572
1603
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1573
1604
|
const obj_errors_item = obj_errors[i];
|
|
1574
1605
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1575
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1606
|
+
const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
|
|
1576
1607
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1577
1608
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1578
1609
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1757,7 +1788,7 @@ function validate$u(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
1757
1788
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
1758
1789
|
const obj_errors_item = obj_errors[i];
|
|
1759
1790
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
1760
|
-
const referencepath_errors_itemValidationError = validate$
|
|
1791
|
+
const referencepath_errors_itemValidationError = validate$J(obj_errors_item, path_errors_item);
|
|
1761
1792
|
if (referencepath_errors_itemValidationError !== null) {
|
|
1762
1793
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
1763
1794
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1774,7 +1805,7 @@ function validate$u(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
1774
1805
|
for (let i = 0; i < obj_snapshots.length; i++) {
|
|
1775
1806
|
const obj_snapshots_item = obj_snapshots[i];
|
|
1776
1807
|
const path_snapshots_item = path_snapshots + '[' + i + ']';
|
|
1777
|
-
const referencepath_snapshots_itemValidationError = validate$
|
|
1808
|
+
const referencepath_snapshots_itemValidationError = validate$B(obj_snapshots_item, path_snapshots_item);
|
|
1778
1809
|
if (referencepath_snapshots_itemValidationError !== null) {
|
|
1779
1810
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshots_item + '")\n';
|
|
1780
1811
|
message += referencepath_snapshots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EpcErrorOutputRepresentation as EpcErrorOutputRepresentation_EpcErrorOutputRepresentation } from './EpcErrorOutputRepresentation';
|
|
2
|
+
import { SettingMetadataOutputRepresentation as SettingMetadataOutputRepresentation_SettingMetadataOutputRepresentation } from './SettingMetadataOutputRepresentation';
|
|
2
3
|
import { SettingOutputRepresentation as SettingOutputRepresentation_SettingOutputRepresentation } from './SettingOutputRepresentation';
|
|
3
4
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
5
|
export declare const TTL = 6000;
|
|
5
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "8e8994b81e71fbf729c95134f748033b";
|
|
6
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
8
|
export declare const RepresentationType: string;
|
|
8
9
|
export declare function normalize(input: IndexSettingOutputRepresentation, existing: IndexSettingOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IndexSettingOutputRepresentationNormalized;
|
|
@@ -19,6 +20,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
19
20
|
export interface IndexSettingOutputRepresentationNormalized {
|
|
20
21
|
/** errors */
|
|
21
22
|
errors?: Array<EpcErrorOutputRepresentation_EpcErrorOutputRepresentation>;
|
|
23
|
+
metadata: SettingMetadataOutputRepresentation_SettingMetadataOutputRepresentation;
|
|
22
24
|
setting: SettingOutputRepresentation_SettingOutputRepresentation;
|
|
23
25
|
/** statusCode */
|
|
24
26
|
statusCode: string;
|
|
@@ -31,6 +33,7 @@ export interface IndexSettingOutputRepresentationNormalized {
|
|
|
31
33
|
*/
|
|
32
34
|
export interface IndexSettingOutputRepresentation {
|
|
33
35
|
errors?: Array<EpcErrorOutputRepresentation_EpcErrorOutputRepresentation>;
|
|
36
|
+
metadata: SettingMetadataOutputRepresentation_SettingMetadataOutputRepresentation;
|
|
34
37
|
setting: SettingOutputRepresentation_SettingOutputRepresentation;
|
|
35
38
|
statusCode: string;
|
|
36
39
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "bce87a35cb0b056f7df8ed9be810a09b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SettingMetadataOutputRepresentation, existing: SettingMetadataOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SettingMetadataOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SettingMetadataOutputRepresentationNormalized, incoming: SettingMetadataOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SettingMetadataOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Setting Metadata Response
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SettingMetadataOutputRepresentationNormalized {
|
|
17
|
+
/** list of active languages in an org */
|
|
18
|
+
activeLanguages?: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Setting Metadata Response
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SettingMetadataOutputRepresentation {
|
|
27
|
+
activeLanguages?: Array<string>;
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-epc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.317.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs for EPCNext project",
|
|
6
6
|
"main": "dist/es/es2018/industries-epc.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.317.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.317.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.317.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$M(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -123,7 +123,7 @@ function validate$L(obj, path = 'ProductAttributeDefinitionListInputRepresentati
|
|
|
123
123
|
return v_error === undefined ? null : v_error;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
function validate$
|
|
126
|
+
function validate$L(obj, path = 'ProductAttributeDefinitionRepresentation') {
|
|
127
127
|
const v_error = (() => {
|
|
128
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
129
129
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -148,7 +148,7 @@ function validate$K(obj, path = 'ProductAttributeDefinitionRepresentation') {
|
|
|
148
148
|
|
|
149
149
|
const TTL$c = 6000;
|
|
150
150
|
const VERSION$e = "e67d3c8569b9667eac98cc1a9840041c";
|
|
151
|
-
function validate$
|
|
151
|
+
function validate$K(obj, path = 'ProductAttributeDefinitionListRepresentation') {
|
|
152
152
|
const v_error = (() => {
|
|
153
153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
154
154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -161,7 +161,7 @@ function validate$J(obj, path = 'ProductAttributeDefinitionListRepresentation')
|
|
|
161
161
|
for (let i = 0; i < obj_data.length; i++) {
|
|
162
162
|
const obj_data_item = obj_data[i];
|
|
163
163
|
const path_data_item = path_data + '[' + i + ']';
|
|
164
|
-
const referencepath_data_itemValidationError = validate$
|
|
164
|
+
const referencepath_data_itemValidationError = validate$L(obj_data_item, path_data_item);
|
|
165
165
|
if (referencepath_data_itemValidationError !== null) {
|
|
166
166
|
let message = 'Object doesn\'t match ProductAttributeDefinitionRepresentation (at "' + path_data_item + '")\n';
|
|
167
167
|
message += referencepath_data_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -205,7 +205,7 @@ function equals$e(existing, incoming) {
|
|
|
205
205
|
}
|
|
206
206
|
const ingest$d = function ProductAttributeDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
207
207
|
if (process.env.NODE_ENV !== 'production') {
|
|
208
|
-
const validateError = validate$
|
|
208
|
+
const validateError = validate$K(input);
|
|
209
209
|
if (validateError !== null) {
|
|
210
210
|
throw validateError;
|
|
211
211
|
}
|
|
@@ -271,7 +271,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(createProduc
|
|
|
271
271
|
function typeCheckConfig$d(untrustedConfig) {
|
|
272
272
|
const config = {};
|
|
273
273
|
const untrustedConfig_productAttributeDefinitionListInputPayload = untrustedConfig.productAttributeDefinitionListInputPayload;
|
|
274
|
-
const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$
|
|
274
|
+
const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$M(untrustedConfig_productAttributeDefinitionListInputPayload);
|
|
275
275
|
if (referenceProductAttributeDefinitionListInputRepresentationValidationError === null) {
|
|
276
276
|
config.productAttributeDefinitionListInputPayload = untrustedConfig_productAttributeDefinitionListInputPayload;
|
|
277
277
|
}
|
|
@@ -319,7 +319,7 @@ const createProductAttributeDefinitionAdapterFactory = (luvio) => {
|
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
|
|
322
|
-
function validate$
|
|
322
|
+
function validate$J(obj, path = 'DeactivateInputRepresentation') {
|
|
323
323
|
const v_error = (() => {
|
|
324
324
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
325
325
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -352,7 +352,7 @@ function validate$I(obj, path = 'DeactivateInputRepresentation') {
|
|
|
352
352
|
return v_error === undefined ? null : v_error;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
function validate$
|
|
355
|
+
function validate$I(obj, path = 'ErrorOutputRepresentation') {
|
|
356
356
|
const v_error = (() => {
|
|
357
357
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
358
358
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -385,7 +385,7 @@ function validate$H(obj, path = 'ErrorOutputRepresentation') {
|
|
|
385
385
|
|
|
386
386
|
const TTL$b = 6000;
|
|
387
387
|
const VERSION$d = "67abdeaa299bae24f468fd2e78cd1e1e";
|
|
388
|
-
function validate$
|
|
388
|
+
function validate$H(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
389
389
|
const v_error = (() => {
|
|
390
390
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
391
391
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -398,7 +398,7 @@ function validate$G(obj, path = 'RecordIdMapOutputRepresentation') {
|
|
|
398
398
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
399
399
|
const obj_errors_item = obj_errors[i];
|
|
400
400
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
401
|
-
const referencepath_errors_itemValidationError = validate$
|
|
401
|
+
const referencepath_errors_itemValidationError = validate$I(obj_errors_item, path_errors_item);
|
|
402
402
|
if (referencepath_errors_itemValidationError !== null) {
|
|
403
403
|
let message = 'Object doesn\'t match ErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
404
404
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -442,7 +442,7 @@ function equals$d(existing, incoming) {
|
|
|
442
442
|
}
|
|
443
443
|
const ingest$c = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
444
444
|
if (process.env.NODE_ENV !== 'production') {
|
|
445
|
-
const validateError = validate$
|
|
445
|
+
const validateError = validate$H(input);
|
|
446
446
|
if (validateError !== null) {
|
|
447
447
|
throw validateError;
|
|
448
448
|
}
|
|
@@ -508,7 +508,7 @@ const createResourceParams$c = /*#__PURE__*/ createResourceParams$e(deactivate_C
|
|
|
508
508
|
function typeCheckConfig$c(untrustedConfig) {
|
|
509
509
|
const config = {};
|
|
510
510
|
const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
|
|
511
|
-
const referenceDeactivateInputRepresentationValidationError = validate$
|
|
511
|
+
const referenceDeactivateInputRepresentationValidationError = validate$J(untrustedConfig_deactivateInputPayload);
|
|
512
512
|
if (referenceDeactivateInputRepresentationValidationError === null) {
|
|
513
513
|
config.deactivateInputPayload = untrustedConfig_deactivateInputPayload;
|
|
514
514
|
}
|
|
@@ -556,7 +556,7 @@ const deactivateAdapterFactory = (luvio) => {
|
|
|
556
556
|
};
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
function validate$
|
|
559
|
+
function validate$G(obj, path = 'EpcErrorOutputRepresentation') {
|
|
560
560
|
const v_error = (() => {
|
|
561
561
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
562
562
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -607,7 +607,7 @@ function validate$F(obj, path = 'EpcErrorOutputRepresentation') {
|
|
|
607
607
|
return v_error === undefined ? null : v_error;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
function validate$
|
|
610
|
+
function validate$F(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
611
611
|
const v_error = (() => {
|
|
612
612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
613
613
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -665,7 +665,7 @@ function validate$E(obj, path = 'SnapshotIndexOutputRepresentation') {
|
|
|
665
665
|
return v_error === undefined ? null : v_error;
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
function validate$
|
|
668
|
+
function validate$E(obj, path = 'SnapshotOutputRepresentation') {
|
|
669
669
|
const v_error = (() => {
|
|
670
670
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
671
671
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -707,7 +707,7 @@ function validate$D(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
707
707
|
for (let i = 0; i < obj_snapshotIndexes.length; i++) {
|
|
708
708
|
const obj_snapshotIndexes_item = obj_snapshotIndexes[i];
|
|
709
709
|
const path_snapshotIndexes_item = path_snapshotIndexes + '[' + i + ']';
|
|
710
|
-
const referencepath_snapshotIndexes_itemValidationError = validate$
|
|
710
|
+
const referencepath_snapshotIndexes_itemValidationError = validate$F(obj_snapshotIndexes_item, path_snapshotIndexes_item);
|
|
711
711
|
if (referencepath_snapshotIndexes_itemValidationError !== null) {
|
|
712
712
|
let message = 'Object doesn\'t match SnapshotIndexOutputRepresentation (at "' + path_snapshotIndexes_item + '")\n';
|
|
713
713
|
message += referencepath_snapshotIndexes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -721,7 +721,7 @@ function validate$D(obj, path = 'SnapshotOutputRepresentation') {
|
|
|
721
721
|
|
|
722
722
|
const TTL$a = 6000;
|
|
723
723
|
const VERSION$c = "a482669465add5966119b942982ae104";
|
|
724
|
-
function validate$
|
|
724
|
+
function validate$D(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
725
725
|
const v_error = (() => {
|
|
726
726
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
727
727
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -735,7 +735,7 @@ function validate$C(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
735
735
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
736
736
|
const obj_errors_item = obj_errors[i];
|
|
737
737
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
738
|
-
const referencepath_errors_itemValidationError = validate$
|
|
738
|
+
const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
|
|
739
739
|
if (referencepath_errors_itemValidationError !== null) {
|
|
740
740
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
741
741
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -746,7 +746,7 @@ function validate$C(obj, path = 'SnapshotDeploymentOutputRepresentation') {
|
|
|
746
746
|
if (obj.snapshot !== undefined) {
|
|
747
747
|
const obj_snapshot = obj.snapshot;
|
|
748
748
|
const path_snapshot = path + '.snapshot';
|
|
749
|
-
const referencepath_snapshotValidationError = validate$
|
|
749
|
+
const referencepath_snapshotValidationError = validate$E(obj_snapshot, path_snapshot);
|
|
750
750
|
if (referencepath_snapshotValidationError !== null) {
|
|
751
751
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshot + '")\n';
|
|
752
752
|
message += referencepath_snapshotValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -790,7 +790,7 @@ function equals$c(existing, incoming) {
|
|
|
790
790
|
}
|
|
791
791
|
const ingest$b = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
792
792
|
if (process.env.NODE_ENV !== 'production') {
|
|
793
|
-
const validateError = validate$
|
|
793
|
+
const validateError = validate$D(input);
|
|
794
794
|
if (validateError !== null) {
|
|
795
795
|
throw validateError;
|
|
796
796
|
}
|
|
@@ -903,7 +903,7 @@ const deploySnapshotIndexAdapterFactory = (luvio) => {
|
|
|
903
903
|
};
|
|
904
904
|
};
|
|
905
905
|
|
|
906
|
-
function validate$
|
|
906
|
+
function validate$C(obj, path = 'PCMRecordOutputRepresentation') {
|
|
907
907
|
const v_error = (() => {
|
|
908
908
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
909
909
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -926,7 +926,7 @@ function validate$B(obj, path = 'PCMRecordOutputRepresentation') {
|
|
|
926
926
|
return v_error === undefined ? null : v_error;
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
function validate$
|
|
929
|
+
function validate$B(obj, path = 'RelatedObjectRecordsOutputRepresentation') {
|
|
930
930
|
const v_error = (() => {
|
|
931
931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
932
932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -944,7 +944,7 @@ function validate$A(obj, path = 'RelatedObjectRecordsOutputRepresentation') {
|
|
|
944
944
|
for (let i = 0; i < obj_records.length; i++) {
|
|
945
945
|
const obj_records_item = obj_records[i];
|
|
946
946
|
const path_records_item = path_records + '[' + i + ']';
|
|
947
|
-
const referencepath_records_itemValidationError = validate$
|
|
947
|
+
const referencepath_records_itemValidationError = validate$C(obj_records_item, path_records_item);
|
|
948
948
|
if (referencepath_records_itemValidationError !== null) {
|
|
949
949
|
let message = 'Object doesn\'t match PCMRecordOutputRepresentation (at "' + path_records_item + '")\n';
|
|
950
950
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -960,7 +960,7 @@ function validate$A(obj, path = 'RelatedObjectRecordsOutputRepresentation') {
|
|
|
960
960
|
return v_error === undefined ? null : v_error;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
function validate$
|
|
963
|
+
function validate$A(obj, path = 'RelatedRecordsOutputRepresentation') {
|
|
964
964
|
const v_error = (() => {
|
|
965
965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
966
966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -978,7 +978,7 @@ function validate$z(obj, path = 'RelatedRecordsOutputRepresentation') {
|
|
|
978
978
|
for (let i = 0; i < obj_relatedObjectRecords.length; i++) {
|
|
979
979
|
const obj_relatedObjectRecords_item = obj_relatedObjectRecords[i];
|
|
980
980
|
const path_relatedObjectRecords_item = path_relatedObjectRecords + '[' + i + ']';
|
|
981
|
-
const referencepath_relatedObjectRecords_itemValidationError = validate$
|
|
981
|
+
const referencepath_relatedObjectRecords_itemValidationError = validate$B(obj_relatedObjectRecords_item, path_relatedObjectRecords_item);
|
|
982
982
|
if (referencepath_relatedObjectRecords_itemValidationError !== null) {
|
|
983
983
|
let message = 'Object doesn\'t match RelatedObjectRecordsOutputRepresentation (at "' + path_relatedObjectRecords_item + '")\n';
|
|
984
984
|
message += referencepath_relatedObjectRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -990,7 +990,7 @@ function validate$z(obj, path = 'RelatedRecordsOutputRepresentation') {
|
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
const VERSION$b = "9e839ceea7c6caa2747b4d3170bd209d";
|
|
993
|
-
function validate$
|
|
993
|
+
function validate$z(obj, path = 'Status') {
|
|
994
994
|
const v_error = (() => {
|
|
995
995
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
996
996
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1063,7 +1063,7 @@ function equals$b(existing, incoming) {
|
|
|
1063
1063
|
|
|
1064
1064
|
const TTL$9 = 6000;
|
|
1065
1065
|
const VERSION$a = "d5517610afe11029dab748699bf3154b";
|
|
1066
|
-
function validate$
|
|
1066
|
+
function validate$y(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
1067
1067
|
const v_error = (() => {
|
|
1068
1068
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1069
1069
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1081,7 +1081,7 @@ function validate$x(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
|
1081
1081
|
for (let i = 0; i < obj_relatedRecords.length; i++) {
|
|
1082
1082
|
const obj_relatedRecords_item = obj_relatedRecords[i];
|
|
1083
1083
|
const path_relatedRecords_item = path_relatedRecords + '[' + i + ']';
|
|
1084
|
-
const referencepath_relatedRecords_itemValidationError = validate$
|
|
1084
|
+
const referencepath_relatedRecords_itemValidationError = validate$A(obj_relatedRecords_item, path_relatedRecords_item);
|
|
1085
1085
|
if (referencepath_relatedRecords_itemValidationError !== null) {
|
|
1086
1086
|
let message = 'Object doesn\'t match RelatedRecordsOutputRepresentation (at "' + path_relatedRecords_item + '")\n';
|
|
1087
1087
|
message += referencepath_relatedRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1090,7 +1090,7 @@ function validate$x(obj, path = 'RelatedRecordsListOutputRepresentation') {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
const obj_status = obj.status;
|
|
1092
1092
|
const path_status = path + '.status';
|
|
1093
|
-
const referencepath_statusValidationError = validate$
|
|
1093
|
+
const referencepath_statusValidationError = validate$z(obj_status, path_status);
|
|
1094
1094
|
if (referencepath_statusValidationError !== null) {
|
|
1095
1095
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
1096
1096
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1128,7 +1128,7 @@ function equals$a(existing, incoming) {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
const ingest$a = function RelatedRecordsListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1130
1130
|
if (process.env.NODE_ENV !== 'production') {
|
|
1131
|
-
const validateError = validate$
|
|
1131
|
+
const validateError = validate$y(input);
|
|
1132
1132
|
if (validateError !== null) {
|
|
1133
1133
|
throw validateError;
|
|
1134
1134
|
}
|
|
@@ -1250,7 +1250,7 @@ const fetchRelatedRecordsAdapterFactory = (luvio) => {
|
|
|
1250
1250
|
};
|
|
1251
1251
|
};
|
|
1252
1252
|
|
|
1253
|
-
function validate$
|
|
1253
|
+
function validate$x(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation') {
|
|
1254
1254
|
const v_error = (() => {
|
|
1255
1255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1256
1256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1273,7 +1273,7 @@ function validate$w(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation')
|
|
|
1273
1273
|
return v_error === undefined ? null : v_error;
|
|
1274
1274
|
}
|
|
1275
1275
|
|
|
1276
|
-
function validate$
|
|
1276
|
+
function validate$w(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation') {
|
|
1277
1277
|
const v_error = (() => {
|
|
1278
1278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1279
1279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1286,7 +1286,7 @@ function validate$v(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation')
|
|
|
1286
1286
|
for (let i = 0; i < obj_configRuleHashColumnsInfo.length; i++) {
|
|
1287
1287
|
const obj_configRuleHashColumnsInfo_item = obj_configRuleHashColumnsInfo[i];
|
|
1288
1288
|
const path_configRuleHashColumnsInfo_item = path_configRuleHashColumnsInfo + '[' + i + ']';
|
|
1289
|
-
const referencepath_configRuleHashColumnsInfo_itemValidationError = validate$
|
|
1289
|
+
const referencepath_configRuleHashColumnsInfo_itemValidationError = validate$x(obj_configRuleHashColumnsInfo_item, path_configRuleHashColumnsInfo_item);
|
|
1290
1290
|
if (referencepath_configRuleHashColumnsInfo_itemValidationError !== null) {
|
|
1291
1291
|
let message = 'Object doesn\'t match ConfigRuleHashColumnInfoOutputRepresentation (at "' + path_configRuleHashColumnsInfo_item + '")\n';
|
|
1292
1292
|
message += referencepath_configRuleHashColumnsInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1297,7 +1297,7 @@ function validate$v(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation')
|
|
|
1297
1297
|
return v_error === undefined ? null : v_error;
|
|
1298
1298
|
}
|
|
1299
1299
|
|
|
1300
|
-
function validate$
|
|
1300
|
+
function validate$v(obj, path = 'ContextFieldInfoOutputRepresentation') {
|
|
1301
1301
|
const v_error = (() => {
|
|
1302
1302
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1303
1303
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1348,7 +1348,7 @@ function validate$u(obj, path = 'ContextFieldInfoOutputRepresentation') {
|
|
|
1348
1348
|
return v_error === undefined ? null : v_error;
|
|
1349
1349
|
}
|
|
1350
1350
|
|
|
1351
|
-
function validate$
|
|
1351
|
+
function validate$u(obj, path = 'ContextFieldsInfoOutputRepresentation') {
|
|
1352
1352
|
const v_error = (() => {
|
|
1353
1353
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1354
1354
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1361,7 +1361,7 @@ function validate$t(obj, path = 'ContextFieldsInfoOutputRepresentation') {
|
|
|
1361
1361
|
for (let i = 0; i < obj_contextFieldsInfo.length; i++) {
|
|
1362
1362
|
const obj_contextFieldsInfo_item = obj_contextFieldsInfo[i];
|
|
1363
1363
|
const path_contextFieldsInfo_item = path_contextFieldsInfo + '[' + i + ']';
|
|
1364
|
-
const referencepath_contextFieldsInfo_itemValidationError = validate$
|
|
1364
|
+
const referencepath_contextFieldsInfo_itemValidationError = validate$v(obj_contextFieldsInfo_item, path_contextFieldsInfo_item);
|
|
1365
1365
|
if (referencepath_contextFieldsInfo_itemValidationError !== null) {
|
|
1366
1366
|
let message = 'Object doesn\'t match ContextFieldInfoOutputRepresentation (at "' + path_contextFieldsInfo_item + '")\n';
|
|
1367
1367
|
message += referencepath_contextFieldsInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1372,7 +1372,7 @@ function validate$t(obj, path = 'ContextFieldsInfoOutputRepresentation') {
|
|
|
1372
1372
|
return v_error === undefined ? null : v_error;
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
|
-
function validate$
|
|
1375
|
+
function validate$t(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
1376
1376
|
const v_error = (() => {
|
|
1377
1377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1378
1378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1387,7 +1387,7 @@ function validate$s(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
|
1387
1387
|
if (obj.childNodes !== undefined) {
|
|
1388
1388
|
const obj_childNodes = obj.childNodes;
|
|
1389
1389
|
const path_childNodes = path + '.childNodes';
|
|
1390
|
-
const referencepath_childNodesValidationError = validate$
|
|
1390
|
+
const referencepath_childNodesValidationError = validate$s(obj_childNodes, path_childNodes);
|
|
1391
1391
|
if (referencepath_childNodesValidationError !== null) {
|
|
1392
1392
|
let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_childNodes + '")\n';
|
|
1393
1393
|
message += referencepath_childNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1397,7 +1397,7 @@ function validate$s(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
|
1397
1397
|
if (obj.fields !== undefined) {
|
|
1398
1398
|
const obj_fields = obj.fields;
|
|
1399
1399
|
const path_fields = path + '.fields';
|
|
1400
|
-
const referencepath_fieldsValidationError = validate$
|
|
1400
|
+
const referencepath_fieldsValidationError = validate$u(obj_fields, path_fields);
|
|
1401
1401
|
if (referencepath_fieldsValidationError !== null) {
|
|
1402
1402
|
let message = 'Object doesn\'t match ContextFieldsInfoOutputRepresentation (at "' + path_fields + '")\n';
|
|
1403
1403
|
message += referencepath_fieldsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1429,7 +1429,7 @@ function validate$s(obj, path = 'ContextNodeInfoOutputRepresentation') {
|
|
|
1429
1429
|
return v_error === undefined ? null : v_error;
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
|
-
function validate$
|
|
1432
|
+
function validate$s(obj, path = 'ContextNodesInfoOutputRepresentation') {
|
|
1433
1433
|
const v_error = (() => {
|
|
1434
1434
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1435
1435
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1442,7 +1442,7 @@ function validate$r(obj, path = 'ContextNodesInfoOutputRepresentation') {
|
|
|
1442
1442
|
for (let i = 0; i < obj_contextNodesInfo.length; i++) {
|
|
1443
1443
|
const obj_contextNodesInfo_item = obj_contextNodesInfo[i];
|
|
1444
1444
|
const path_contextNodesInfo_item = path_contextNodesInfo + '[' + i + ']';
|
|
1445
|
-
const referencepath_contextNodesInfo_itemValidationError = validate$
|
|
1445
|
+
const referencepath_contextNodesInfo_itemValidationError = validate$t(obj_contextNodesInfo_item, path_contextNodesInfo_item);
|
|
1446
1446
|
if (referencepath_contextNodesInfo_itemValidationError !== null) {
|
|
1447
1447
|
let message = 'Object doesn\'t match ContextNodeInfoOutputRepresentation (at "' + path_contextNodesInfo_item + '")\n';
|
|
1448
1448
|
message += referencepath_contextNodesInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1455,7 +1455,7 @@ function validate$r(obj, path = 'ContextNodesInfoOutputRepresentation') {
|
|
|
1455
1455
|
|
|
1456
1456
|
const TTL$8 = 6000;
|
|
1457
1457
|
const VERSION$9 = "a6f17b790f912a982a35bff584a89eb6";
|
|
1458
|
-
function validate$
|
|
1458
|
+
function validate$r(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
1459
1459
|
const v_error = (() => {
|
|
1460
1460
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1461
1461
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1463,7 +1463,7 @@ function validate$q(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
1463
1463
|
if (obj.configRuleHashColumns !== undefined) {
|
|
1464
1464
|
const obj_configRuleHashColumns = obj.configRuleHashColumns;
|
|
1465
1465
|
const path_configRuleHashColumns = path + '.configRuleHashColumns';
|
|
1466
|
-
const referencepath_configRuleHashColumnsValidationError = validate$
|
|
1466
|
+
const referencepath_configRuleHashColumnsValidationError = validate$w(obj_configRuleHashColumns, path_configRuleHashColumns);
|
|
1467
1467
|
if (referencepath_configRuleHashColumnsValidationError !== null) {
|
|
1468
1468
|
let message = 'Object doesn\'t match ConfigRuleHashColumnsInfoOutputRepresentation (at "' + path_configRuleHashColumns + '")\n';
|
|
1469
1469
|
message += referencepath_configRuleHashColumnsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1487,7 +1487,7 @@ function validate$q(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
1487
1487
|
if (obj.contextNodes !== undefined) {
|
|
1488
1488
|
const obj_contextNodes = obj.contextNodes;
|
|
1489
1489
|
const path_contextNodes = path + '.contextNodes';
|
|
1490
|
-
const referencepath_contextNodesValidationError = validate$
|
|
1490
|
+
const referencepath_contextNodesValidationError = validate$s(obj_contextNodes, path_contextNodes);
|
|
1491
1491
|
if (referencepath_contextNodesValidationError !== null) {
|
|
1492
1492
|
let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_contextNodes + '")\n';
|
|
1493
1493
|
message += referencepath_contextNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1504,7 +1504,7 @@ function validate$q(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
|
|
|
1504
1504
|
if (obj.status !== undefined) {
|
|
1505
1505
|
const obj_status = obj.status;
|
|
1506
1506
|
const path_status = path + '.status';
|
|
1507
|
-
const referencepath_statusValidationError = validate$
|
|
1507
|
+
const referencepath_statusValidationError = validate$z(obj_status, path_status);
|
|
1508
1508
|
if (referencepath_statusValidationError !== null) {
|
|
1509
1509
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
1510
1510
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1534,7 +1534,7 @@ function equals$9(existing, incoming) {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
const ingest$9 = function ConfigRuleMetadataOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1536
1536
|
if (process.env.NODE_ENV !== 'production') {
|
|
1537
|
-
const validateError = validate$
|
|
1537
|
+
const validateError = validate$r(input);
|
|
1538
1538
|
if (validateError !== null) {
|
|
1539
1539
|
throw validateError;
|
|
1540
1540
|
}
|
|
@@ -1696,7 +1696,7 @@ const getConfigRuleMetadataAdapterFactory = (luvio) => function epc__getConfigRu
|
|
|
1696
1696
|
|
|
1697
1697
|
const TTL$7 = 6000;
|
|
1698
1698
|
const VERSION$8 = "0e533503a3df0b0f709f7ff83f175d06";
|
|
1699
|
-
function validate$
|
|
1699
|
+
function validate$q(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
1700
1700
|
const v_error = (() => {
|
|
1701
1701
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1702
1702
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1718,7 +1718,7 @@ function validate$p(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
|
1718
1718
|
if (obj.contextNodes !== undefined) {
|
|
1719
1719
|
const obj_contextNodes = obj.contextNodes;
|
|
1720
1720
|
const path_contextNodes = path + '.contextNodes';
|
|
1721
|
-
const referencepath_contextNodesValidationError = validate$
|
|
1721
|
+
const referencepath_contextNodesValidationError = validate$s(obj_contextNodes, path_contextNodes);
|
|
1722
1722
|
if (referencepath_contextNodesValidationError !== null) {
|
|
1723
1723
|
let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_contextNodes + '")\n';
|
|
1724
1724
|
message += referencepath_contextNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1735,7 +1735,7 @@ function validate$p(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
|
1735
1735
|
if (obj.status !== undefined) {
|
|
1736
1736
|
const obj_status = obj.status;
|
|
1737
1737
|
const path_status = path + '.status';
|
|
1738
|
-
const referencepath_statusValidationError = validate$
|
|
1738
|
+
const referencepath_statusValidationError = validate$z(obj_status, path_status);
|
|
1739
1739
|
if (referencepath_statusValidationError !== null) {
|
|
1740
1740
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
1741
1741
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1765,7 +1765,7 @@ function equals$8(existing, incoming) {
|
|
|
1765
1765
|
}
|
|
1766
1766
|
const ingest$8 = function ContextDefinitionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1767
1767
|
if (process.env.NODE_ENV !== 'production') {
|
|
1768
|
-
const validateError = validate$
|
|
1768
|
+
const validateError = validate$q(input);
|
|
1769
1769
|
if (validateError !== null) {
|
|
1770
1770
|
throw validateError;
|
|
1771
1771
|
}
|
|
@@ -1924,7 +1924,7 @@ const getContextDefinitionInfoByIdAdapterFactory = (luvio) => function epc__getC
|
|
|
1924
1924
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
1925
1925
|
};
|
|
1926
1926
|
|
|
1927
|
-
function validate$
|
|
1927
|
+
function validate$p(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
1928
1928
|
const v_error = (() => {
|
|
1929
1929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1930
1930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1982,7 +1982,7 @@ function validate$o(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
|
|
|
1982
1982
|
return v_error === undefined ? null : v_error;
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
|
-
function validate$
|
|
1985
|
+
function validate$o(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
1986
1986
|
const v_error = (() => {
|
|
1987
1987
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1988
1988
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2026,7 +2026,7 @@ function validate$n(obj, path = 'FieldsInfoOutputRepresentation') {
|
|
|
2026
2026
|
return v_error === undefined ? null : v_error;
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
2029
|
-
function validate$
|
|
2029
|
+
function validate$n(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
2030
2030
|
const v_error = (() => {
|
|
2031
2031
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2032
2032
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2040,7 +2040,7 @@ function validate$m(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
2040
2040
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
2041
2041
|
const obj_fields_item = obj_fields[i];
|
|
2042
2042
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
2043
|
-
const referencepath_fields_itemValidationError = validate$
|
|
2043
|
+
const referencepath_fields_itemValidationError = validate$o(obj_fields_item, path_fields_item);
|
|
2044
2044
|
if (referencepath_fields_itemValidationError !== null) {
|
|
2045
2045
|
let message = 'Object doesn\'t match FieldsInfoOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
2046
2046
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2059,7 +2059,7 @@ function validate$m(obj, path = 'ObjectInfoOutputRepresentation') {
|
|
|
2059
2059
|
return v_error === undefined ? null : v_error;
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
|
-
function validate$
|
|
2062
|
+
function validate$m(obj, path = 'MetadataOutputRepresentation') {
|
|
2063
2063
|
const v_error = (() => {
|
|
2064
2064
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2065
2065
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2073,7 +2073,7 @@ function validate$l(obj, path = 'MetadataOutputRepresentation') {
|
|
|
2073
2073
|
for (let i = 0; i < obj_objectInfos.length; i++) {
|
|
2074
2074
|
const obj_objectInfos_item = obj_objectInfos[i];
|
|
2075
2075
|
const path_objectInfos_item = path_objectInfos + '[' + i + ']';
|
|
2076
|
-
const referencepath_objectInfos_itemValidationError = validate$
|
|
2076
|
+
const referencepath_objectInfos_itemValidationError = validate$n(obj_objectInfos_item, path_objectInfos_item);
|
|
2077
2077
|
if (referencepath_objectInfos_itemValidationError !== null) {
|
|
2078
2078
|
let message = 'Object doesn\'t match ObjectInfoOutputRepresentation (at "' + path_objectInfos_item + '")\n';
|
|
2079
2079
|
message += referencepath_objectInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2087,7 +2087,7 @@ function validate$l(obj, path = 'MetadataOutputRepresentation') {
|
|
|
2087
2087
|
|
|
2088
2088
|
const TTL$6 = 6000;
|
|
2089
2089
|
const VERSION$7 = "61cfe23ab3d064d226af215df6681afc";
|
|
2090
|
-
function validate$
|
|
2090
|
+
function validate$l(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
|
|
2091
2091
|
const v_error = (() => {
|
|
2092
2092
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2093
2093
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2108,7 +2108,7 @@ function validate$k(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
2108
2108
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
2109
2109
|
const obj_errors_item = obj_errors[i];
|
|
2110
2110
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
2111
|
-
const referencepath_errors_itemValidationError = validate$
|
|
2111
|
+
const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
|
|
2112
2112
|
if (referencepath_errors_itemValidationError !== null) {
|
|
2113
2113
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
2114
2114
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2125,7 +2125,7 @@ function validate$k(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
2125
2125
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
2126
2126
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
2127
2127
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
2128
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
2128
|
+
const referencepath_indexConfigurations_itemValidationError = validate$p(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
2129
2129
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
2130
2130
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
2131
2131
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2136,7 +2136,7 @@ function validate$k(obj, path = 'IndexConfigurationCollectionOutputRepresentatio
|
|
|
2136
2136
|
if (obj.metadata !== undefined) {
|
|
2137
2137
|
const obj_metadata = obj.metadata;
|
|
2138
2138
|
const path_metadata = path + '.metadata';
|
|
2139
|
-
const referencepath_metadataValidationError = validate$
|
|
2139
|
+
const referencepath_metadataValidationError = validate$m(obj_metadata, path_metadata);
|
|
2140
2140
|
if (referencepath_metadataValidationError !== null) {
|
|
2141
2141
|
let message = 'Object doesn\'t match MetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
2142
2142
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2173,7 +2173,7 @@ function equals$7(existing, incoming) {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
const ingest$7 = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2175
2175
|
if (process.env.NODE_ENV !== 'production') {
|
|
2176
|
-
const validateError = validate$
|
|
2176
|
+
const validateError = validate$l(input);
|
|
2177
2177
|
if (validateError !== null) {
|
|
2178
2178
|
throw validateError;
|
|
2179
2179
|
}
|
|
@@ -2333,6 +2333,29 @@ const getIndexConfigurationsAdapterFactory = (luvio) => function epc__getIndexCo
|
|
|
2333
2333
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
2334
2334
|
};
|
|
2335
2335
|
|
|
2336
|
+
function validate$k(obj, path = 'SettingMetadataOutputRepresentation') {
|
|
2337
|
+
const v_error = (() => {
|
|
2338
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2339
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2340
|
+
}
|
|
2341
|
+
if (obj.activeLanguages !== undefined) {
|
|
2342
|
+
const obj_activeLanguages = obj.activeLanguages;
|
|
2343
|
+
const path_activeLanguages = path + '.activeLanguages';
|
|
2344
|
+
if (!ArrayIsArray(obj_activeLanguages)) {
|
|
2345
|
+
return new TypeError('Expected "array" but received "' + typeof obj_activeLanguages + '" (at "' + path_activeLanguages + '")');
|
|
2346
|
+
}
|
|
2347
|
+
for (let i = 0; i < obj_activeLanguages.length; i++) {
|
|
2348
|
+
const obj_activeLanguages_item = obj_activeLanguages[i];
|
|
2349
|
+
const path_activeLanguages_item = path_activeLanguages + '[' + i + ']';
|
|
2350
|
+
if (typeof obj_activeLanguages_item !== 'string') {
|
|
2351
|
+
return new TypeError('Expected "string" but received "' + typeof obj_activeLanguages_item + '" (at "' + path_activeLanguages_item + '")');
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
})();
|
|
2356
|
+
return v_error === undefined ? null : v_error;
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2336
2359
|
function validate$j(obj, path = 'SettingOutputRepresentation') {
|
|
2337
2360
|
const v_error = (() => {
|
|
2338
2361
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2362,7 +2385,7 @@ function validate$j(obj, path = 'SettingOutputRepresentation') {
|
|
|
2362
2385
|
}
|
|
2363
2386
|
|
|
2364
2387
|
const TTL$5 = 6000;
|
|
2365
|
-
const VERSION$6 = "
|
|
2388
|
+
const VERSION$6 = "8e8994b81e71fbf729c95134f748033b";
|
|
2366
2389
|
function validate$i(obj, path = 'IndexSettingOutputRepresentation') {
|
|
2367
2390
|
const v_error = (() => {
|
|
2368
2391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2377,7 +2400,7 @@ function validate$i(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
2377
2400
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
2378
2401
|
const obj_errors_item = obj_errors[i];
|
|
2379
2402
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
2380
|
-
const referencepath_errors_itemValidationError = validate$
|
|
2403
|
+
const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
|
|
2381
2404
|
if (referencepath_errors_itemValidationError !== null) {
|
|
2382
2405
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
2383
2406
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2385,6 +2408,14 @@ function validate$i(obj, path = 'IndexSettingOutputRepresentation') {
|
|
|
2385
2408
|
}
|
|
2386
2409
|
}
|
|
2387
2410
|
}
|
|
2411
|
+
const obj_metadata = obj.metadata;
|
|
2412
|
+
const path_metadata = path + '.metadata';
|
|
2413
|
+
const referencepath_metadataValidationError = validate$k(obj_metadata, path_metadata);
|
|
2414
|
+
if (referencepath_metadataValidationError !== null) {
|
|
2415
|
+
let message = 'Object doesn\'t match SettingMetadataOutputRepresentation (at "' + path_metadata + '")\n';
|
|
2416
|
+
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2417
|
+
return new TypeError(message);
|
|
2418
|
+
}
|
|
2388
2419
|
const obj_setting = obj.setting;
|
|
2389
2420
|
const path_setting = path + '.setting';
|
|
2390
2421
|
const referencepath_settingValidationError = validate$j(obj_setting, path_setting);
|
|
@@ -3547,7 +3578,7 @@ function validate$6(obj, path = 'ProductsOutputRepresentation') {
|
|
|
3547
3578
|
if (obj.status !== undefined) {
|
|
3548
3579
|
const obj_status = obj.status;
|
|
3549
3580
|
const path_status = path + '.status';
|
|
3550
|
-
const referencepath_statusValidationError = validate$
|
|
3581
|
+
const referencepath_statusValidationError = validate$z(obj_status, path_status);
|
|
3551
3582
|
if (referencepath_statusValidationError !== null) {
|
|
3552
3583
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
3553
3584
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3876,7 +3907,7 @@ function validate$4(obj, path = 'ProductFlowOutputRepresentation') {
|
|
|
3876
3907
|
if (obj.status !== undefined) {
|
|
3877
3908
|
const obj_status = obj.status;
|
|
3878
3909
|
const path_status = path + '.status';
|
|
3879
|
-
const referencepath_statusValidationError = validate$
|
|
3910
|
+
const referencepath_statusValidationError = validate$z(obj_status, path_status);
|
|
3880
3911
|
if (referencepath_statusValidationError !== null) {
|
|
3881
3912
|
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
3882
3913
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4081,7 +4112,7 @@ function validate$3(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
4081
4112
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
4082
4113
|
const obj_errors_item = obj_errors[i];
|
|
4083
4114
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
4084
|
-
const referencepath_errors_itemValidationError = validate$
|
|
4115
|
+
const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
|
|
4085
4116
|
if (referencepath_errors_itemValidationError !== null) {
|
|
4086
4117
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
4087
4118
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4098,7 +4129,7 @@ function validate$3(obj, path = 'SnapshotCollectionOutputRepresentation') {
|
|
|
4098
4129
|
for (let i = 0; i < obj_snapshots.length; i++) {
|
|
4099
4130
|
const obj_snapshots_item = obj_snapshots[i];
|
|
4100
4131
|
const path_snapshots_item = path_snapshots + '[' + i + ']';
|
|
4101
|
-
const referencepath_snapshots_itemValidationError = validate$
|
|
4132
|
+
const referencepath_snapshots_itemValidationError = validate$E(obj_snapshots_item, path_snapshots_item);
|
|
4102
4133
|
if (referencepath_snapshots_itemValidationError !== null) {
|
|
4103
4134
|
let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshots_item + '")\n';
|
|
4104
4135
|
message += referencepath_snapshots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4333,7 +4364,7 @@ function validate$1(obj, path = 'IndexSettingPatchOutputRepresentation') {
|
|
|
4333
4364
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
4334
4365
|
const obj_errors_item = obj_errors[i];
|
|
4335
4366
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
4336
|
-
const referencepath_errors_itemValidationError = validate$
|
|
4367
|
+
const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
|
|
4337
4368
|
if (referencepath_errors_itemValidationError !== null) {
|
|
4338
4369
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
4339
4370
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4525,7 +4556,7 @@ function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
|
4525
4556
|
for (let i = 0; i < obj_errors.length; i++) {
|
|
4526
4557
|
const obj_errors_item = obj_errors[i];
|
|
4527
4558
|
const path_errors_item = path_errors + '[' + i + ']';
|
|
4528
|
-
const referencepath_errors_itemValidationError = validate$
|
|
4559
|
+
const referencepath_errors_itemValidationError = validate$G(obj_errors_item, path_errors_item);
|
|
4529
4560
|
if (referencepath_errors_itemValidationError !== null) {
|
|
4530
4561
|
let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
|
|
4531
4562
|
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4542,7 +4573,7 @@ function validate(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
|
|
|
4542
4573
|
for (let i = 0; i < obj_indexConfigurations.length; i++) {
|
|
4543
4574
|
const obj_indexConfigurations_item = obj_indexConfigurations[i];
|
|
4544
4575
|
const path_indexConfigurations_item = path_indexConfigurations + '[' + i + ']';
|
|
4545
|
-
const referencepath_indexConfigurations_itemValidationError = validate$
|
|
4576
|
+
const referencepath_indexConfigurations_itemValidationError = validate$p(obj_indexConfigurations_item, path_indexConfigurations_item);
|
|
4546
4577
|
if (referencepath_indexConfigurations_itemValidationError !== null) {
|
|
4547
4578
|
let message = 'Object doesn\'t match IndexConfigurationFieldOutputRepresentation (at "' + path_indexConfigurations_item + '")\n';
|
|
4548
4579
|
message += referencepath_indexConfigurations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4828,4 +4859,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4828
4859
|
});
|
|
4829
4860
|
|
|
4830
4861
|
export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getConfigRuleMetadata, getConfigRuleMetadata_imperative, getContextDefinitionInfoById, getContextDefinitionInfoById_imperative, getIndexConfigurations, getIndexConfigurations_imperative, getIndexSetting, getIndexSetting_imperative, getProductAttributesByProductId, getProductAttributesByProductId_imperative, getProductById, getProductById_imperative, getProductFlowByProductId, getProductFlowByProductId_imperative, getSnapshots, getSnapshots_imperative, patchIndexSetting, updateIndexConfigurations };
|
|
4831
|
-
// version: 1.
|
|
4862
|
+
// version: 1.317.0-81aed84d4b
|
package/src/raml/api.raml
CHANGED
|
@@ -1203,12 +1203,25 @@ types:
|
|
|
1203
1203
|
required: false
|
|
1204
1204
|
items:
|
|
1205
1205
|
type: EpcErrorOutputRepresentation
|
|
1206
|
+
metadata:
|
|
1207
|
+
description: Metadata for the Setting
|
|
1208
|
+
type: SettingMetadataOutputRepresentation
|
|
1206
1209
|
setting:
|
|
1207
1210
|
description: Setting maintained for an org used in Indexing
|
|
1208
1211
|
type: SettingOutputRepresentation
|
|
1209
1212
|
statusCode:
|
|
1210
1213
|
description: statusCode
|
|
1211
1214
|
type: string
|
|
1215
|
+
SettingMetadataOutputRepresentation:
|
|
1216
|
+
description: Setting Metadata Response
|
|
1217
|
+
type: object
|
|
1218
|
+
properties:
|
|
1219
|
+
activeLanguages:
|
|
1220
|
+
description: list of active languages in an org
|
|
1221
|
+
type: array
|
|
1222
|
+
required: false
|
|
1223
|
+
items:
|
|
1224
|
+
type: string
|
|
1212
1225
|
SettingOutputRepresentation:
|
|
1213
1226
|
description: Setting Response
|
|
1214
1227
|
type: object
|