@salesforce/lds-adapters-industries-epc 1.303.0 → 1.305.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.
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- function validate$I(obj, path = 'DeactivateInputRepresentation') {
95
+ function validate$H(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$I(obj, path = 'DeactivateInputRepresentation') {
125
125
  return v_error === undefined ? null : v_error;
126
126
  }
127
127
 
128
- function validate$H(obj, path = 'ErrorOutputRepresentation') {
128
+ function validate$G(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$H(obj, path = 'ErrorOutputRepresentation') {
158
158
 
159
159
  const TTL$a = 6000;
160
160
  const VERSION$c = "67abdeaa299bae24f468fd2e78cd1e1e";
161
- function validate$G(obj, path = 'RecordIdMapOutputRepresentation') {
161
+ function validate$F(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$G(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$H(obj_errors_item, path_errors_item);
174
+ const referencepath_errors_itemValidationError = validate$G(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$c(existing, incoming) {
215
215
  }
216
216
  const ingest$b = function RecordIdMapOutputRepresentationIngest(input, path, luvio, store, timestamp) {
217
217
  if (process.env.NODE_ENV !== 'production') {
218
- const validateError = validate$G(input);
218
+ const validateError = validate$F(input);
219
219
  if (validateError !== null) {
220
220
  throw validateError;
221
221
  }
@@ -281,7 +281,7 @@ const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(deactivate_C
281
281
  function typeCheckConfig$b(untrustedConfig) {
282
282
  const config = {};
283
283
  const untrustedConfig_deactivateInputPayload = untrustedConfig.deactivateInputPayload;
284
- const referenceDeactivateInputRepresentationValidationError = validate$I(untrustedConfig_deactivateInputPayload);
284
+ const referenceDeactivateInputRepresentationValidationError = validate$H(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$F(obj, path = 'EpcErrorOutputRepresentation') {
332
+ function validate$E(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$F(obj, path = 'EpcErrorOutputRepresentation') {
380
380
  return v_error === undefined ? null : v_error;
381
381
  }
382
382
 
383
- function validate$E(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
383
+ function validate$D(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$E(obj, path = 'IndexConfigurationFieldOutputRepresentation') {
438
438
  return v_error === undefined ? null : v_error;
439
439
  }
440
440
 
441
- function validate$D(obj, path = 'FieldsInfoOutputRepresentation') {
441
+ function validate$C(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$D(obj, path = 'FieldsInfoOutputRepresentation') {
482
482
  return v_error === undefined ? null : v_error;
483
483
  }
484
484
 
485
- function validate$C(obj, path = 'ObjectInfoOutputRepresentation') {
485
+ function validate$B(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$C(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$D(obj_fields_item, path_fields_item);
499
+ const referencepath_fields_itemValidationError = validate$C(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$C(obj, path = 'ObjectInfoOutputRepresentation') {
515
515
  return v_error === undefined ? null : v_error;
516
516
  }
517
517
 
518
- function validate$B(obj, path = 'MetadataOutputRepresentation') {
518
+ function validate$A(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$B(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$C(obj_objectInfos_item, path_objectInfos_item);
532
+ const referencepath_objectInfos_itemValidationError = validate$B(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$B(obj, path = 'MetadataOutputRepresentation') {
543
543
 
544
544
  const TTL$9 = 6000;
545
545
  const VERSION$b = "61cfe23ab3d064d226af215df6681afc";
546
- function validate$A(obj, path = 'IndexConfigurationCollectionOutputRepresentation') {
546
+ function validate$z(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$A(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$F(obj_errors_item, path_errors_item);
567
+ const referencepath_errors_itemValidationError = validate$E(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$A(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$E(obj_indexConfigurations_item, path_indexConfigurations_item);
584
+ const referencepath_indexConfigurations_itemValidationError = validate$D(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$A(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$B(obj_metadata, path_metadata);
595
+ const referencepath_metadataValidationError = validate$A(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$b(existing, incoming) {
629
629
  }
630
630
  const ingest$a = function IndexConfigurationCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
631
631
  if (process.env.NODE_ENV !== 'production') {
632
- const validateError = validate$A(input);
632
+ const validateError = validate$z(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$8 = 6000;
793
793
  const VERSION$a = "d8fe6f305d394e3ad9e8b064fd805a31";
794
- function validate$z(obj, path = 'IndexConfigurationsUpdateOutputRepresentation') {
794
+ function validate$y(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$z(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$F(obj_errors_item, path_errors_item);
815
+ const referencepath_errors_itemValidationError = validate$E(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$z(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$E(obj_indexConfigurations_item, path_indexConfigurations_item);
832
+ const referencepath_indexConfigurations_itemValidationError = validate$D(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$a(existing, incoming) {
874
874
  }
875
875
  const ingest$9 = function IndexConfigurationsUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
876
876
  if (process.env.NODE_ENV !== 'production') {
877
- const validateError = validate$z(input);
877
+ const validateError = validate$y(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$y(obj, path = 'SnapshotIndexOutputRepresentation') {
997
+ function validate$x(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$y(obj, path = 'SnapshotIndexOutputRepresentation') {
1052
1052
  return v_error === undefined ? null : v_error;
1053
1053
  }
1054
1054
 
1055
- function validate$x(obj, path = 'SnapshotOutputRepresentation') {
1055
+ function validate$w(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$x(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$y(obj_snapshotIndexes_item, path_snapshotIndexes_item);
1097
+ const referencepath_snapshotIndexes_itemValidationError = validate$x(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$x(obj, path = 'SnapshotOutputRepresentation') {
1108
1108
 
1109
1109
  const TTL$7 = 6000;
1110
1110
  const VERSION$9 = "a482669465add5966119b942982ae104";
1111
- function validate$w(obj, path = 'SnapshotDeploymentOutputRepresentation') {
1111
+ function validate$v(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$w(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$F(obj_errors_item, path_errors_item);
1125
+ const referencepath_errors_itemValidationError = validate$E(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$w(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$x(obj_snapshot, path_snapshot);
1136
+ const referencepath_snapshotValidationError = validate$w(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$9(existing, incoming) {
1177
1177
  }
1178
1178
  const ingest$8 = function SnapshotDeploymentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1179
1179
  if (process.env.NODE_ENV !== 'production') {
1180
- const validateError = validate$w(input);
1180
+ const validateError = validate$v(input);
1181
1181
  if (validateError !== null) {
1182
1182
  throw validateError;
1183
1183
  }
@@ -1292,7 +1292,7 @@ const deploySnapshotIndexAdapterFactory = (luvio) => {
1292
1292
 
1293
1293
  const TTL$6 = 6000;
1294
1294
  const VERSION$8 = "b1566a76d9cf30f61b94a2d92caab70d";
1295
- function validate$v(obj, path = 'SnapshotCollectionOutputRepresentation') {
1295
+ function validate$u(obj, path = 'SnapshotCollectionOutputRepresentation') {
1296
1296
  const v_error = (() => {
1297
1297
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1298
1298
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1306,7 +1306,7 @@ function validate$v(obj, path = 'SnapshotCollectionOutputRepresentation') {
1306
1306
  for (let i = 0; i < obj_errors.length; i++) {
1307
1307
  const obj_errors_item = obj_errors[i];
1308
1308
  const path_errors_item = path_errors + '[' + i + ']';
1309
- const referencepath_errors_itemValidationError = validate$F(obj_errors_item, path_errors_item);
1309
+ const referencepath_errors_itemValidationError = validate$E(obj_errors_item, path_errors_item);
1310
1310
  if (referencepath_errors_itemValidationError !== null) {
1311
1311
  let message = 'Object doesn\'t match EpcErrorOutputRepresentation (at "' + path_errors_item + '")\n';
1312
1312
  message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1323,7 +1323,7 @@ function validate$v(obj, path = 'SnapshotCollectionOutputRepresentation') {
1323
1323
  for (let i = 0; i < obj_snapshots.length; i++) {
1324
1324
  const obj_snapshots_item = obj_snapshots[i];
1325
1325
  const path_snapshots_item = path_snapshots + '[' + i + ']';
1326
- const referencepath_snapshots_itemValidationError = validate$x(obj_snapshots_item, path_snapshots_item);
1326
+ const referencepath_snapshots_itemValidationError = validate$w(obj_snapshots_item, path_snapshots_item);
1327
1327
  if (referencepath_snapshots_itemValidationError !== null) {
1328
1328
  let message = 'Object doesn\'t match SnapshotOutputRepresentation (at "' + path_snapshots_item + '")\n';
1329
1329
  message += referencepath_snapshots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1361,7 +1361,7 @@ function equals$8(existing, incoming) {
1361
1361
  }
1362
1362
  const ingest$7 = function SnapshotCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1363
1363
  if (process.env.NODE_ENV !== 'production') {
1364
- const validateError = validate$v(input);
1364
+ const validateError = validate$u(input);
1365
1365
  if (validateError !== null) {
1366
1366
  throw validateError;
1367
1367
  }
@@ -1516,7 +1516,7 @@ const getSnapshotsAdapterFactory = (luvio) => function epc__getSnapshots(untrust
1516
1516
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
1517
1517
  };
1518
1518
 
1519
- function validate$u(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
1519
+ function validate$t(obj, path = 'ProductAttributeDefinitionListInputRepresentation') {
1520
1520
  const v_error = (() => {
1521
1521
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1522
1522
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1537,7 +1537,7 @@ function validate$u(obj, path = 'ProductAttributeDefinitionListInputRepresentati
1537
1537
  return v_error === undefined ? null : v_error;
1538
1538
  }
1539
1539
 
1540
- function validate$t(obj, path = 'ProductAttributeDefinitionRepresentation') {
1540
+ function validate$s(obj, path = 'ProductAttributeDefinitionRepresentation') {
1541
1541
  const v_error = (() => {
1542
1542
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1543
1543
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1562,7 +1562,7 @@ function validate$t(obj, path = 'ProductAttributeDefinitionRepresentation') {
1562
1562
 
1563
1563
  const TTL$5 = 6000;
1564
1564
  const VERSION$7 = "e67d3c8569b9667eac98cc1a9840041c";
1565
- function validate$s(obj, path = 'ProductAttributeDefinitionListRepresentation') {
1565
+ function validate$r(obj, path = 'ProductAttributeDefinitionListRepresentation') {
1566
1566
  const v_error = (() => {
1567
1567
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1568
1568
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1575,7 +1575,7 @@ function validate$s(obj, path = 'ProductAttributeDefinitionListRepresentation')
1575
1575
  for (let i = 0; i < obj_data.length; i++) {
1576
1576
  const obj_data_item = obj_data[i];
1577
1577
  const path_data_item = path_data + '[' + i + ']';
1578
- const referencepath_data_itemValidationError = validate$t(obj_data_item, path_data_item);
1578
+ const referencepath_data_itemValidationError = validate$s(obj_data_item, path_data_item);
1579
1579
  if (referencepath_data_itemValidationError !== null) {
1580
1580
  let message = 'Object doesn\'t match ProductAttributeDefinitionRepresentation (at "' + path_data_item + '")\n';
1581
1581
  message += referencepath_data_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1619,7 +1619,7 @@ function equals$7(existing, incoming) {
1619
1619
  }
1620
1620
  const ingest$6 = function ProductAttributeDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
1621
1621
  if (process.env.NODE_ENV !== 'production') {
1622
- const validateError = validate$s(input);
1622
+ const validateError = validate$r(input);
1623
1623
  if (validateError !== null) {
1624
1624
  throw validateError;
1625
1625
  }
@@ -1685,7 +1685,7 @@ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(createProduc
1685
1685
  function typeCheckConfig$6(untrustedConfig) {
1686
1686
  const config = {};
1687
1687
  const untrustedConfig_productAttributeDefinitionListInputPayload = untrustedConfig.productAttributeDefinitionListInputPayload;
1688
- const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$u(untrustedConfig_productAttributeDefinitionListInputPayload);
1688
+ const referenceProductAttributeDefinitionListInputRepresentationValidationError = validate$t(untrustedConfig_productAttributeDefinitionListInputPayload);
1689
1689
  if (referenceProductAttributeDefinitionListInputRepresentationValidationError === null) {
1690
1690
  config.productAttributeDefinitionListInputPayload = untrustedConfig_productAttributeDefinitionListInputPayload;
1691
1691
  }
@@ -1733,7 +1733,7 @@ const createProductAttributeDefinitionAdapterFactory = (luvio) => {
1733
1733
  };
1734
1734
  };
1735
1735
 
1736
- function validate$r(obj, path = 'ProductFlowConnectRepresentation') {
1736
+ function validate$q(obj, path = 'ProductFlowConnectRepresentation') {
1737
1737
  const v_error = (() => {
1738
1738
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1739
1739
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1750,7 +1750,7 @@ function validate$r(obj, path = 'ProductFlowConnectRepresentation') {
1750
1750
  }
1751
1751
 
1752
1752
  const VERSION$6 = "9e839ceea7c6caa2747b4d3170bd209d";
1753
- function validate$q(obj, path = 'Status') {
1753
+ function validate$p(obj, path = 'Status') {
1754
1754
  const v_error = (() => {
1755
1755
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1756
1756
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1823,7 +1823,7 @@ function equals$6(existing, incoming) {
1823
1823
 
1824
1824
  const TTL$4 = 6000;
1825
1825
  const VERSION$5 = "a75aed3c640fb969c24561ef4f8cb169";
1826
- function validate$p(obj, path = 'ProductFlowOutputRepresentation') {
1826
+ function validate$o(obj, path = 'ProductFlowOutputRepresentation') {
1827
1827
  const v_error = (() => {
1828
1828
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1829
1829
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1838,7 +1838,7 @@ function validate$p(obj, path = 'ProductFlowOutputRepresentation') {
1838
1838
  if (obj.productFlow !== undefined) {
1839
1839
  const obj_productFlow = obj.productFlow;
1840
1840
  const path_productFlow = path + '.productFlow';
1841
- const referencepath_productFlowValidationError = validate$r(obj_productFlow, path_productFlow);
1841
+ const referencepath_productFlowValidationError = validate$q(obj_productFlow, path_productFlow);
1842
1842
  if (referencepath_productFlowValidationError !== null) {
1843
1843
  let message = 'Object doesn\'t match ProductFlowConnectRepresentation (at "' + path_productFlow + '")\n';
1844
1844
  message += referencepath_productFlowValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1848,7 +1848,7 @@ function validate$p(obj, path = 'ProductFlowOutputRepresentation') {
1848
1848
  if (obj.status !== undefined) {
1849
1849
  const obj_status = obj.status;
1850
1850
  const path_status = path + '.status';
1851
- const referencepath_statusValidationError = validate$q(obj_status, path_status);
1851
+ const referencepath_statusValidationError = validate$p(obj_status, path_status);
1852
1852
  if (referencepath_statusValidationError !== null) {
1853
1853
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
1854
1854
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1878,7 +1878,7 @@ function equals$5(existing, incoming) {
1878
1878
  }
1879
1879
  const ingest$5 = function ProductFlowOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1880
1880
  if (process.env.NODE_ENV !== 'production') {
1881
- const validateError = validate$p(input);
1881
+ const validateError = validate$o(input);
1882
1882
  if (validateError !== null) {
1883
1883
  throw validateError;
1884
1884
  }
@@ -2037,7 +2037,7 @@ const getProductFlowByProductIdAdapterFactory = (luvio) => function epc__getProd
2037
2037
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
2038
2038
  };
2039
2039
 
2040
- function validate$o(obj, path = 'AttributePicklistValueOutputRepresentation') {
2040
+ function validate$n(obj, path = 'AttributePicklistValueOutputRepresentation') {
2041
2041
  const v_error = (() => {
2042
2042
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2043
2043
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2116,7 +2116,7 @@ function validate$o(obj, path = 'AttributePicklistValueOutputRepresentation') {
2116
2116
  return v_error === undefined ? null : v_error;
2117
2117
  }
2118
2118
 
2119
- function validate$n(obj, path = 'AttributePicklistOutputRepresentation') {
2119
+ function validate$m(obj, path = 'AttributePicklistOutputRepresentation') {
2120
2120
  const v_error = (() => {
2121
2121
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2122
2122
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2165,7 +2165,7 @@ function validate$n(obj, path = 'AttributePicklistOutputRepresentation') {
2165
2165
  for (let i = 0; i < obj_values.length; i++) {
2166
2166
  const obj_values_item = obj_values[i];
2167
2167
  const path_values_item = path_values + '[' + i + ']';
2168
- const referencepath_values_itemValidationError = validate$o(obj_values_item, path_values_item);
2168
+ const referencepath_values_itemValidationError = validate$n(obj_values_item, path_values_item);
2169
2169
  if (referencepath_values_itemValidationError !== null) {
2170
2170
  let message = 'Object doesn\'t match AttributePicklistValueOutputRepresentation (at "' + path_values_item + '")\n';
2171
2171
  message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2177,7 +2177,7 @@ function validate$n(obj, path = 'AttributePicklistOutputRepresentation') {
2177
2177
  return v_error === undefined ? null : v_error;
2178
2178
  }
2179
2179
 
2180
- function validate$m(obj, path = 'AttributeDefinitionOutputRepresentation') {
2180
+ function validate$l(obj, path = 'AttributeDefinitionOutputRepresentation') {
2181
2181
  const v_error = (() => {
2182
2182
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2183
2183
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2297,7 +2297,7 @@ function validate$m(obj, path = 'AttributeDefinitionOutputRepresentation') {
2297
2297
  if (obj.picklist !== undefined) {
2298
2298
  const obj_picklist = obj.picklist;
2299
2299
  const path_picklist = path + '.picklist';
2300
- const referencepath_picklistValidationError = validate$n(obj_picklist, path_picklist);
2300
+ const referencepath_picklistValidationError = validate$m(obj_picklist, path_picklist);
2301
2301
  if (referencepath_picklistValidationError !== null) {
2302
2302
  let message = 'Object doesn\'t match AttributePicklistOutputRepresentation (at "' + path_picklist + '")\n';
2303
2303
  message += referencepath_picklistValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2315,7 +2315,7 @@ function validate$m(obj, path = 'AttributeDefinitionOutputRepresentation') {
2315
2315
  return v_error === undefined ? null : v_error;
2316
2316
  }
2317
2317
 
2318
- function validate$l(obj, path = 'AttributeCategoryOutputRepresentation') {
2318
+ function validate$k(obj, path = 'AttributeCategoryOutputRepresentation') {
2319
2319
  const v_error = (() => {
2320
2320
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2321
2321
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2329,7 +2329,7 @@ function validate$l(obj, path = 'AttributeCategoryOutputRepresentation') {
2329
2329
  for (let i = 0; i < obj_attributes.length; i++) {
2330
2330
  const obj_attributes_item = obj_attributes[i];
2331
2331
  const path_attributes_item = path_attributes + '[' + i + ']';
2332
- const referencepath_attributes_itemValidationError = validate$m(obj_attributes_item, path_attributes_item);
2332
+ const referencepath_attributes_itemValidationError = validate$l(obj_attributes_item, path_attributes_item);
2333
2333
  if (referencepath_attributes_itemValidationError !== null) {
2334
2334
  let message = 'Object doesn\'t match AttributeDefinitionOutputRepresentation (at "' + path_attributes_item + '")\n';
2335
2335
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2362,7 +2362,7 @@ function validate$l(obj, path = 'AttributeCategoryOutputRepresentation') {
2362
2362
  return v_error === undefined ? null : v_error;
2363
2363
  }
2364
2364
 
2365
- function validate$k(obj, path = 'PricingModelOutputRepresentation') {
2365
+ function validate$j(obj, path = 'PricingModelOutputRepresentation') {
2366
2366
  const v_error = (() => {
2367
2367
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2368
2368
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2413,7 +2413,7 @@ function validate$k(obj, path = 'PricingModelOutputRepresentation') {
2413
2413
  return v_error === undefined ? null : v_error;
2414
2414
  }
2415
2415
 
2416
- function validate$j(obj, path = 'PriceOutputRepresentation') {
2416
+ function validate$i(obj, path = 'PriceOutputRepresentation') {
2417
2417
  const v_error = (() => {
2418
2418
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2419
2419
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2449,7 +2449,7 @@ function validate$j(obj, path = 'PriceOutputRepresentation') {
2449
2449
  if (obj.pricingModel !== undefined) {
2450
2450
  const obj_pricingModel = obj.pricingModel;
2451
2451
  const path_pricingModel = path + '.pricingModel';
2452
- const referencepath_pricingModelValidationError = validate$k(obj_pricingModel, path_pricingModel);
2452
+ const referencepath_pricingModelValidationError = validate$j(obj_pricingModel, path_pricingModel);
2453
2453
  if (referencepath_pricingModelValidationError !== null) {
2454
2454
  let message = 'Object doesn\'t match PricingModelOutputRepresentation (at "' + path_pricingModel + '")\n';
2455
2455
  message += referencepath_pricingModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2467,7 +2467,7 @@ function validate$j(obj, path = 'PriceOutputRepresentation') {
2467
2467
  return v_error === undefined ? null : v_error;
2468
2468
  }
2469
2469
 
2470
- function validate$i(obj, path = 'ProductClassificationOutputRepresentation') {
2470
+ function validate$h(obj, path = 'ProductClassificationOutputRepresentation') {
2471
2471
  const v_error = (() => {
2472
2472
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2473
2473
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2483,7 +2483,7 @@ function validate$i(obj, path = 'ProductClassificationOutputRepresentation') {
2483
2483
  return v_error === undefined ? null : v_error;
2484
2484
  }
2485
2485
 
2486
- function validate$h(obj, path = 'ProductComponentGroupOutputRepresentation') {
2486
+ function validate$g(obj, path = 'ProductComponentGroupOutputRepresentation') {
2487
2487
  const v_error = (() => {
2488
2488
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2489
2489
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2562,7 +2562,7 @@ function validate$h(obj, path = 'ProductComponentGroupOutputRepresentation') {
2562
2562
  return v_error === undefined ? null : v_error;
2563
2563
  }
2564
2564
 
2565
- function validate$g(obj, path = 'ProductSpecificationTypeOutputRepresentation') {
2565
+ function validate$f(obj, path = 'ProductSpecificationTypeOutputRepresentation') {
2566
2566
  const v_error = (() => {
2567
2567
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2568
2568
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2578,7 +2578,7 @@ function validate$g(obj, path = 'ProductSpecificationTypeOutputRepresentation')
2578
2578
  return v_error === undefined ? null : v_error;
2579
2579
  }
2580
2580
 
2581
- function validate$f(obj, path = 'QuantityInfo') {
2581
+ function validate$e(obj, path = 'QuantityInfo') {
2582
2582
  const v_error = (() => {
2583
2583
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2584
2584
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2598,7 +2598,7 @@ function validate$f(obj, path = 'QuantityInfo') {
2598
2598
 
2599
2599
  const TTL$3 = 6000;
2600
2600
  const VERSION$4 = "38ee0d8d67cda562ff19dd5273e07d95";
2601
- function validate$e(obj, path = 'ProductOutputRepresentation') {
2601
+ function validate$d(obj, path = 'ProductOutputRepresentation') {
2602
2602
  const v_error = (() => {
2603
2603
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2604
2604
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2612,7 +2612,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2612
2612
  for (let i = 0; i < obj_attributeCategory.length; i++) {
2613
2613
  const obj_attributeCategory_item = obj_attributeCategory[i];
2614
2614
  const path_attributeCategory_item = path_attributeCategory + '[' + i + ']';
2615
- const referencepath_attributeCategory_itemValidationError = validate$l(obj_attributeCategory_item, path_attributeCategory_item);
2615
+ const referencepath_attributeCategory_itemValidationError = validate$k(obj_attributeCategory_item, path_attributeCategory_item);
2616
2616
  if (referencepath_attributeCategory_itemValidationError !== null) {
2617
2617
  let message = 'Object doesn\'t match AttributeCategoryOutputRepresentation (at "' + path_attributeCategory_item + '")\n';
2618
2618
  message += referencepath_attributeCategory_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2629,7 +2629,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2629
2629
  for (let i = 0; i < obj_attributes.length; i++) {
2630
2630
  const obj_attributes_item = obj_attributes[i];
2631
2631
  const path_attributes_item = path_attributes + '[' + i + ']';
2632
- const referencepath_attributes_itemValidationError = validate$m(obj_attributes_item, path_attributes_item);
2632
+ const referencepath_attributes_itemValidationError = validate$l(obj_attributes_item, path_attributes_item);
2633
2633
  if (referencepath_attributes_itemValidationError !== null) {
2634
2634
  let message = 'Object doesn\'t match AttributeDefinitionOutputRepresentation (at "' + path_attributes_item + '")\n';
2635
2635
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2653,7 +2653,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2653
2653
  for (let i = 0; i < obj_childProducts.length; i++) {
2654
2654
  const obj_childProducts_item = obj_childProducts[i];
2655
2655
  const path_childProducts_item = path_childProducts + '[' + i + ']';
2656
- const referencepath_childProducts_itemValidationError = validate$e(obj_childProducts_item, path_childProducts_item);
2656
+ const referencepath_childProducts_itemValidationError = validate$d(obj_childProducts_item, path_childProducts_item);
2657
2657
  if (referencepath_childProducts_itemValidationError !== null) {
2658
2658
  let message = 'Object doesn\'t match ProductOutputRepresentation (at "' + path_childProducts_item + '")\n';
2659
2659
  message += referencepath_childProducts_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2726,7 +2726,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2726
2726
  for (let i = 0; i < obj_prices.length; i++) {
2727
2727
  const obj_prices_item = obj_prices[i];
2728
2728
  const path_prices_item = path_prices + '[' + i + ']';
2729
- const referencepath_prices_itemValidationError = validate$j(obj_prices_item, path_prices_item);
2729
+ const referencepath_prices_itemValidationError = validate$i(obj_prices_item, path_prices_item);
2730
2730
  if (referencepath_prices_itemValidationError !== null) {
2731
2731
  let message = 'Object doesn\'t match PriceOutputRepresentation (at "' + path_prices_item + '")\n';
2732
2732
  message += referencepath_prices_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2737,7 +2737,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2737
2737
  if (obj.productClassification !== undefined) {
2738
2738
  const obj_productClassification = obj.productClassification;
2739
2739
  const path_productClassification = path + '.productClassification';
2740
- const referencepath_productClassificationValidationError = validate$i(obj_productClassification, path_productClassification);
2740
+ const referencepath_productClassificationValidationError = validate$h(obj_productClassification, path_productClassification);
2741
2741
  if (referencepath_productClassificationValidationError !== null) {
2742
2742
  let message = 'Object doesn\'t match ProductClassificationOutputRepresentation (at "' + path_productClassification + '")\n';
2743
2743
  message += referencepath_productClassificationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2760,7 +2760,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2760
2760
  for (let i = 0; i < obj_productComponentGroups.length; i++) {
2761
2761
  const obj_productComponentGroups_item = obj_productComponentGroups[i];
2762
2762
  const path_productComponentGroups_item = path_productComponentGroups + '[' + i + ']';
2763
- const referencepath_productComponentGroups_itemValidationError = validate$h(obj_productComponentGroups_item, path_productComponentGroups_item);
2763
+ const referencepath_productComponentGroups_itemValidationError = validate$g(obj_productComponentGroups_item, path_productComponentGroups_item);
2764
2764
  if (referencepath_productComponentGroups_itemValidationError !== null) {
2765
2765
  let message = 'Object doesn\'t match ProductComponentGroupOutputRepresentation (at "' + path_productComponentGroups_item + '")\n';
2766
2766
  message += referencepath_productComponentGroups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2771,7 +2771,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2771
2771
  if (obj.productSpecificationType !== undefined) {
2772
2772
  const obj_productSpecificationType = obj.productSpecificationType;
2773
2773
  const path_productSpecificationType = path + '.productSpecificationType';
2774
- const referencepath_productSpecificationTypeValidationError = validate$g(obj_productSpecificationType, path_productSpecificationType);
2774
+ const referencepath_productSpecificationTypeValidationError = validate$f(obj_productSpecificationType, path_productSpecificationType);
2775
2775
  if (referencepath_productSpecificationTypeValidationError !== null) {
2776
2776
  let message = 'Object doesn\'t match ProductSpecificationTypeOutputRepresentation (at "' + path_productSpecificationType + '")\n';
2777
2777
  message += referencepath_productSpecificationTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2781,7 +2781,7 @@ function validate$e(obj, path = 'ProductOutputRepresentation') {
2781
2781
  if (obj.quantityInfo !== undefined) {
2782
2782
  const obj_quantityInfo = obj.quantityInfo;
2783
2783
  const path_quantityInfo = path + '.quantityInfo';
2784
- const referencepath_quantityInfoValidationError = validate$f(obj_quantityInfo, path_quantityInfo);
2784
+ const referencepath_quantityInfoValidationError = validate$e(obj_quantityInfo, path_quantityInfo);
2785
2785
  if (referencepath_quantityInfoValidationError !== null) {
2786
2786
  let message = 'Object doesn\'t match QuantityInfo (at "' + path_quantityInfo + '")\n';
2787
2787
  message += referencepath_quantityInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2811,7 +2811,7 @@ function equals$4(existing, incoming) {
2811
2811
  }
2812
2812
  const ingest$4 = function ProductOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2813
2813
  if (process.env.NODE_ENV !== 'production') {
2814
- const validateError = validate$e(input);
2814
+ const validateError = validate$d(input);
2815
2815
  if (validateError !== null) {
2816
2816
  throw validateError;
2817
2817
  }
@@ -2972,7 +2972,7 @@ const getProductAttributesByProductIdAdapterFactory = (luvio) => function epc__g
2972
2972
  };
2973
2973
 
2974
2974
  const VERSION$3 = "dc3572320bc5b04b2f7f9fd7c6ee1281";
2975
- function validate$d(obj, path = 'ProductsOutputRepresentation') {
2975
+ function validate$c(obj, path = 'ProductsOutputRepresentation') {
2976
2976
  const v_error = (() => {
2977
2977
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2978
2978
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3008,7 +3008,7 @@ function validate$d(obj, path = 'ProductsOutputRepresentation') {
3008
3008
  if (obj.status !== undefined) {
3009
3009
  const obj_status = obj.status;
3010
3010
  const path_status = path + '.status';
3011
- const referencepath_statusValidationError = validate$q(obj_status, path_status);
3011
+ const referencepath_statusValidationError = validate$p(obj_status, path_status);
3012
3012
  if (referencepath_statusValidationError !== null) {
3013
3013
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
3014
3014
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3135,7 +3135,7 @@ function equals$3(existing, incoming) {
3135
3135
  }
3136
3136
  const ingest$3 = function ProductsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3137
3137
  if (process.env.NODE_ENV !== 'production') {
3138
- const validateError = validate$d(input);
3138
+ const validateError = validate$c(input);
3139
3139
  if (validateError !== null) {
3140
3140
  throw validateError;
3141
3141
  }
@@ -3294,7 +3294,7 @@ const getProductByIdAdapterFactory = (luvio) => function epc__getProductById(unt
3294
3294
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
3295
3295
  };
3296
3296
 
3297
- function validate$c(obj, path = 'ContextFieldInfoOutputRepresentation') {
3297
+ function validate$b(obj, path = 'ContextFieldInfoOutputRepresentation') {
3298
3298
  const v_error = (() => {
3299
3299
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3300
3300
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3345,7 +3345,7 @@ function validate$c(obj, path = 'ContextFieldInfoOutputRepresentation') {
3345
3345
  return v_error === undefined ? null : v_error;
3346
3346
  }
3347
3347
 
3348
- function validate$b(obj, path = 'ContextFieldsInfoOutputRepresentation') {
3348
+ function validate$a(obj, path = 'ContextFieldsInfoOutputRepresentation') {
3349
3349
  const v_error = (() => {
3350
3350
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3351
3351
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3358,7 +3358,7 @@ function validate$b(obj, path = 'ContextFieldsInfoOutputRepresentation') {
3358
3358
  for (let i = 0; i < obj_contextFieldsInfo.length; i++) {
3359
3359
  const obj_contextFieldsInfo_item = obj_contextFieldsInfo[i];
3360
3360
  const path_contextFieldsInfo_item = path_contextFieldsInfo + '[' + i + ']';
3361
- const referencepath_contextFieldsInfo_itemValidationError = validate$c(obj_contextFieldsInfo_item, path_contextFieldsInfo_item);
3361
+ const referencepath_contextFieldsInfo_itemValidationError = validate$b(obj_contextFieldsInfo_item, path_contextFieldsInfo_item);
3362
3362
  if (referencepath_contextFieldsInfo_itemValidationError !== null) {
3363
3363
  let message = 'Object doesn\'t match ContextFieldInfoOutputRepresentation (at "' + path_contextFieldsInfo_item + '")\n';
3364
3364
  message += referencepath_contextFieldsInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3369,7 +3369,7 @@ function validate$b(obj, path = 'ContextFieldsInfoOutputRepresentation') {
3369
3369
  return v_error === undefined ? null : v_error;
3370
3370
  }
3371
3371
 
3372
- function validate$a(obj, path = 'ContextNodeInfoOutputRepresentation') {
3372
+ function validate$9(obj, path = 'ContextNodeInfoOutputRepresentation') {
3373
3373
  const v_error = (() => {
3374
3374
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3375
3375
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3384,7 +3384,7 @@ function validate$a(obj, path = 'ContextNodeInfoOutputRepresentation') {
3384
3384
  if (obj.childNodes !== undefined) {
3385
3385
  const obj_childNodes = obj.childNodes;
3386
3386
  const path_childNodes = path + '.childNodes';
3387
- const referencepath_childNodesValidationError = validate$9(obj_childNodes, path_childNodes);
3387
+ const referencepath_childNodesValidationError = validate$8(obj_childNodes, path_childNodes);
3388
3388
  if (referencepath_childNodesValidationError !== null) {
3389
3389
  let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_childNodes + '")\n';
3390
3390
  message += referencepath_childNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3394,7 +3394,7 @@ function validate$a(obj, path = 'ContextNodeInfoOutputRepresentation') {
3394
3394
  if (obj.fields !== undefined) {
3395
3395
  const obj_fields = obj.fields;
3396
3396
  const path_fields = path + '.fields';
3397
- const referencepath_fieldsValidationError = validate$b(obj_fields, path_fields);
3397
+ const referencepath_fieldsValidationError = validate$a(obj_fields, path_fields);
3398
3398
  if (referencepath_fieldsValidationError !== null) {
3399
3399
  let message = 'Object doesn\'t match ContextFieldsInfoOutputRepresentation (at "' + path_fields + '")\n';
3400
3400
  message += referencepath_fieldsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3426,7 +3426,7 @@ function validate$a(obj, path = 'ContextNodeInfoOutputRepresentation') {
3426
3426
  return v_error === undefined ? null : v_error;
3427
3427
  }
3428
3428
 
3429
- function validate$9(obj, path = 'ContextNodesInfoOutputRepresentation') {
3429
+ function validate$8(obj, path = 'ContextNodesInfoOutputRepresentation') {
3430
3430
  const v_error = (() => {
3431
3431
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3432
3432
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3439,7 +3439,7 @@ function validate$9(obj, path = 'ContextNodesInfoOutputRepresentation') {
3439
3439
  for (let i = 0; i < obj_contextNodesInfo.length; i++) {
3440
3440
  const obj_contextNodesInfo_item = obj_contextNodesInfo[i];
3441
3441
  const path_contextNodesInfo_item = path_contextNodesInfo + '[' + i + ']';
3442
- const referencepath_contextNodesInfo_itemValidationError = validate$a(obj_contextNodesInfo_item, path_contextNodesInfo_item);
3442
+ const referencepath_contextNodesInfo_itemValidationError = validate$9(obj_contextNodesInfo_item, path_contextNodesInfo_item);
3443
3443
  if (referencepath_contextNodesInfo_itemValidationError !== null) {
3444
3444
  let message = 'Object doesn\'t match ContextNodeInfoOutputRepresentation (at "' + path_contextNodesInfo_item + '")\n';
3445
3445
  message += referencepath_contextNodesInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3452,7 +3452,7 @@ function validate$9(obj, path = 'ContextNodesInfoOutputRepresentation') {
3452
3452
 
3453
3453
  const TTL$2 = 6000;
3454
3454
  const VERSION$2 = "0e533503a3df0b0f709f7ff83f175d06";
3455
- function validate$8(obj, path = 'ContextDefinitionOutputRepresentation') {
3455
+ function validate$7(obj, path = 'ContextDefinitionOutputRepresentation') {
3456
3456
  const v_error = (() => {
3457
3457
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3458
3458
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3474,7 +3474,7 @@ function validate$8(obj, path = 'ContextDefinitionOutputRepresentation') {
3474
3474
  if (obj.contextNodes !== undefined) {
3475
3475
  const obj_contextNodes = obj.contextNodes;
3476
3476
  const path_contextNodes = path + '.contextNodes';
3477
- const referencepath_contextNodesValidationError = validate$9(obj_contextNodes, path_contextNodes);
3477
+ const referencepath_contextNodesValidationError = validate$8(obj_contextNodes, path_contextNodes);
3478
3478
  if (referencepath_contextNodesValidationError !== null) {
3479
3479
  let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_contextNodes + '")\n';
3480
3480
  message += referencepath_contextNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3491,7 +3491,7 @@ function validate$8(obj, path = 'ContextDefinitionOutputRepresentation') {
3491
3491
  if (obj.status !== undefined) {
3492
3492
  const obj_status = obj.status;
3493
3493
  const path_status = path + '.status';
3494
- const referencepath_statusValidationError = validate$q(obj_status, path_status);
3494
+ const referencepath_statusValidationError = validate$p(obj_status, path_status);
3495
3495
  if (referencepath_statusValidationError !== null) {
3496
3496
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
3497
3497
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3521,7 +3521,7 @@ function equals$2(existing, incoming) {
3521
3521
  }
3522
3522
  const ingest$2 = function ContextDefinitionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3523
3523
  if (process.env.NODE_ENV !== 'production') {
3524
- const validateError = validate$8(input);
3524
+ const validateError = validate$7(input);
3525
3525
  if (validateError !== null) {
3526
3526
  throw validateError;
3527
3527
  }
@@ -3680,7 +3680,7 @@ const getContextDefinitionInfoByIdAdapterFactory = (luvio) => function epc__getC
3680
3680
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
3681
3681
  };
3682
3682
 
3683
- function validate$7(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation') {
3683
+ function validate$6(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation') {
3684
3684
  const v_error = (() => {
3685
3685
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3686
3686
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3703,7 +3703,7 @@ function validate$7(obj, path = 'ConfigRuleHashColumnInfoOutputRepresentation')
3703
3703
  return v_error === undefined ? null : v_error;
3704
3704
  }
3705
3705
 
3706
- function validate$6(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation') {
3706
+ function validate$5(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation') {
3707
3707
  const v_error = (() => {
3708
3708
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3709
3709
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3716,7 +3716,7 @@ function validate$6(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation')
3716
3716
  for (let i = 0; i < obj_configRuleHashColumnsInfo.length; i++) {
3717
3717
  const obj_configRuleHashColumnsInfo_item = obj_configRuleHashColumnsInfo[i];
3718
3718
  const path_configRuleHashColumnsInfo_item = path_configRuleHashColumnsInfo + '[' + i + ']';
3719
- const referencepath_configRuleHashColumnsInfo_itemValidationError = validate$7(obj_configRuleHashColumnsInfo_item, path_configRuleHashColumnsInfo_item);
3719
+ const referencepath_configRuleHashColumnsInfo_itemValidationError = validate$6(obj_configRuleHashColumnsInfo_item, path_configRuleHashColumnsInfo_item);
3720
3720
  if (referencepath_configRuleHashColumnsInfo_itemValidationError !== null) {
3721
3721
  let message = 'Object doesn\'t match ConfigRuleHashColumnInfoOutputRepresentation (at "' + path_configRuleHashColumnsInfo_item + '")\n';
3722
3722
  message += referencepath_configRuleHashColumnsInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3729,7 +3729,7 @@ function validate$6(obj, path = 'ConfigRuleHashColumnsInfoOutputRepresentation')
3729
3729
 
3730
3730
  const TTL$1 = 6000;
3731
3731
  const VERSION$1 = "a6f17b790f912a982a35bff584a89eb6";
3732
- function validate$5(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
3732
+ function validate$4(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
3733
3733
  const v_error = (() => {
3734
3734
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3735
3735
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3737,7 +3737,7 @@ function validate$5(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
3737
3737
  if (obj.configRuleHashColumns !== undefined) {
3738
3738
  const obj_configRuleHashColumns = obj.configRuleHashColumns;
3739
3739
  const path_configRuleHashColumns = path + '.configRuleHashColumns';
3740
- const referencepath_configRuleHashColumnsValidationError = validate$6(obj_configRuleHashColumns, path_configRuleHashColumns);
3740
+ const referencepath_configRuleHashColumnsValidationError = validate$5(obj_configRuleHashColumns, path_configRuleHashColumns);
3741
3741
  if (referencepath_configRuleHashColumnsValidationError !== null) {
3742
3742
  let message = 'Object doesn\'t match ConfigRuleHashColumnsInfoOutputRepresentation (at "' + path_configRuleHashColumns + '")\n';
3743
3743
  message += referencepath_configRuleHashColumnsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3761,7 +3761,7 @@ function validate$5(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
3761
3761
  if (obj.contextNodes !== undefined) {
3762
3762
  const obj_contextNodes = obj.contextNodes;
3763
3763
  const path_contextNodes = path + '.contextNodes';
3764
- const referencepath_contextNodesValidationError = validate$9(obj_contextNodes, path_contextNodes);
3764
+ const referencepath_contextNodesValidationError = validate$8(obj_contextNodes, path_contextNodes);
3765
3765
  if (referencepath_contextNodesValidationError !== null) {
3766
3766
  let message = 'Object doesn\'t match ContextNodesInfoOutputRepresentation (at "' + path_contextNodes + '")\n';
3767
3767
  message += referencepath_contextNodesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3778,7 +3778,7 @@ function validate$5(obj, path = 'ConfigRuleMetadataOutputRepresentation') {
3778
3778
  if (obj.status !== undefined) {
3779
3779
  const obj_status = obj.status;
3780
3780
  const path_status = path + '.status';
3781
- const referencepath_statusValidationError = validate$q(obj_status, path_status);
3781
+ const referencepath_statusValidationError = validate$p(obj_status, path_status);
3782
3782
  if (referencepath_statusValidationError !== null) {
3783
3783
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
3784
3784
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3808,7 +3808,7 @@ function equals$1(existing, incoming) {
3808
3808
  }
3809
3809
  const ingest$1 = function ConfigRuleMetadataOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3810
3810
  if (process.env.NODE_ENV !== 'production') {
3811
- const validateError = validate$5(input);
3811
+ const validateError = validate$4(input);
3812
3812
  if (validateError !== null) {
3813
3813
  throw validateError;
3814
3814
  }
@@ -3968,44 +3968,6 @@ const getConfigRuleMetadataAdapterFactory = (luvio) => function epc__getConfigRu
3968
3968
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
3969
3969
  };
3970
3970
 
3971
- function validate$4(obj, path = 'RelatedRecordsInputRepresentation') {
3972
- const v_error = (() => {
3973
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3974
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3975
- }
3976
- const obj_correlationId = obj.correlationId;
3977
- const path_correlationId = path + '.correlationId';
3978
- if (typeof obj_correlationId !== 'string') {
3979
- return new TypeError('Expected "string" but received "' + typeof obj_correlationId + '" (at "' + path_correlationId + '")');
3980
- }
3981
- const obj_recordIds = obj.recordIds;
3982
- const path_recordIds = path + '.recordIds';
3983
- if (!ArrayIsArray(obj_recordIds)) {
3984
- return new TypeError('Expected "array" but received "' + typeof obj_recordIds + '" (at "' + path_recordIds + '")');
3985
- }
3986
- for (let i = 0; i < obj_recordIds.length; i++) {
3987
- const obj_recordIds_item = obj_recordIds[i];
3988
- const path_recordIds_item = path_recordIds + '[' + i + ']';
3989
- if (typeof obj_recordIds_item !== 'string') {
3990
- return new TypeError('Expected "string" but received "' + typeof obj_recordIds_item + '" (at "' + path_recordIds_item + '")');
3991
- }
3992
- }
3993
- const obj_relatedObjectNodes = obj.relatedObjectNodes;
3994
- const path_relatedObjectNodes = path + '.relatedObjectNodes';
3995
- if (!ArrayIsArray(obj_relatedObjectNodes)) {
3996
- return new TypeError('Expected "array" but received "' + typeof obj_relatedObjectNodes + '" (at "' + path_relatedObjectNodes + '")');
3997
- }
3998
- for (let i = 0; i < obj_relatedObjectNodes.length; i++) {
3999
- const obj_relatedObjectNodes_item = obj_relatedObjectNodes[i];
4000
- const path_relatedObjectNodes_item = path_relatedObjectNodes + '[' + i + ']';
4001
- if (typeof obj_relatedObjectNodes_item !== 'object' || ArrayIsArray(obj_relatedObjectNodes_item) || obj_relatedObjectNodes_item === null) {
4002
- return new TypeError('Expected "object" but received "' + typeof obj_relatedObjectNodes_item + '" (at "' + path_relatedObjectNodes_item + '")');
4003
- }
4004
- }
4005
- })();
4006
- return v_error === undefined ? null : v_error;
4007
- }
4008
-
4009
3971
  function validate$3(obj, path = 'PCMRecordOutputRepresentation') {
4010
3972
  const v_error = (() => {
4011
3973
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4121,7 +4083,7 @@ function validate(obj, path = 'RelatedRecordsListOutputRepresentation') {
4121
4083
  }
4122
4084
  const obj_status = obj.status;
4123
4085
  const path_status = path + '.status';
4124
- const referencepath_statusValidationError = validate$q(obj_status, path_status);
4086
+ const referencepath_statusValidationError = validate$p(obj_status, path_status);
4125
4087
  if (referencepath_statusValidationError !== null) {
4126
4088
  let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
4127
4089
  message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4219,17 +4181,23 @@ function createResourceRequest(config) {
4219
4181
  const adapterName = 'fetchRelatedRecords';
4220
4182
  const fetchRelatedRecords_ConfigPropertyMetadata = [
4221
4183
  generateParamConfigMetadata('entityName', true, 0 /* UrlParameter */, 0 /* String */),
4222
- generateParamConfigMetadata('epcProductRequestPayload', true, 2 /* Body */, 4 /* Unsupported */),
4184
+ generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
4185
+ generateParamConfigMetadata('recordIds', true, 2 /* Body */, 0 /* String */, true),
4186
+ generateParamConfigMetadata('relatedObjectNodes', true, 2 /* Body */, 4 /* Unsupported */, true),
4223
4187
  ];
4224
4188
  const fetchRelatedRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, fetchRelatedRecords_ConfigPropertyMetadata);
4225
4189
  const createResourceParams = /*#__PURE__*/ createResourceParams$c(fetchRelatedRecords_ConfigPropertyMetadata);
4226
4190
  function typeCheckConfig(untrustedConfig) {
4227
4191
  const config = {};
4228
4192
  typeCheckConfig$c(untrustedConfig, config, fetchRelatedRecords_ConfigPropertyMetadata);
4229
- const untrustedConfig_epcProductRequestPayload = untrustedConfig.epcProductRequestPayload;
4230
- const referenceRelatedRecordsInputRepresentationValidationError = validate$4(untrustedConfig_epcProductRequestPayload);
4231
- if (referenceRelatedRecordsInputRepresentationValidationError === null) {
4232
- config.epcProductRequestPayload = untrustedConfig_epcProductRequestPayload;
4193
+ const untrustedConfig_relatedObjectNodes = untrustedConfig.relatedObjectNodes;
4194
+ if (ArrayIsArray$1(untrustedConfig_relatedObjectNodes)) {
4195
+ const untrustedConfig_relatedObjectNodes_array = [];
4196
+ for (let i = 0, arrayLength = untrustedConfig_relatedObjectNodes.length; i < arrayLength; i++) {
4197
+ const untrustedConfig_relatedObjectNodes_item = untrustedConfig_relatedObjectNodes[i];
4198
+ untrustedConfig_relatedObjectNodes_array.push(untrustedConfig_relatedObjectNodes_item);
4199
+ }
4200
+ config.relatedObjectNodes = untrustedConfig_relatedObjectNodes_array;
4233
4201
  }
4234
4202
  return config;
4235
4203
  }