@salesforce/lds-adapters-analytics-wave 1.213.0 → 1.213.2

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.
Files changed (60) hide show
  1. package/dist/es/es2018/analytics-wave.js +491 -1864
  2. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
  3. package/dist/es/es2018/types/src/generated/adapters/createDataConnector.d.ts +3 -2
  4. package/dist/es/es2018/types/src/generated/adapters/createDataflowJob.d.ts +3 -2
  5. package/dist/es/es2018/types/src/generated/adapters/createDataset.d.ts +3 -2
  6. package/dist/es/es2018/types/src/generated/adapters/createDatasetVersion.d.ts +3 -2
  7. package/dist/es/es2018/types/src/generated/adapters/createReplicatedDataset.d.ts +3 -2
  8. package/dist/es/es2018/types/src/generated/adapters/deleteDataConnector.d.ts +3 -2
  9. package/dist/es/es2018/types/src/generated/adapters/deleteDataset.d.ts +3 -2
  10. package/dist/es/es2018/types/src/generated/adapters/deleteRecipe.d.ts +3 -2
  11. package/dist/es/es2018/types/src/generated/adapters/deleteReplicatedDataset.d.ts +3 -2
  12. package/dist/es/es2018/types/src/generated/adapters/executeQuery.d.ts +3 -2
  13. package/dist/es/es2018/types/src/generated/adapters/getActions.d.ts +3 -2
  14. package/dist/es/es2018/types/src/generated/adapters/getAnalyticsLimits.d.ts +3 -2
  15. package/dist/es/es2018/types/src/generated/adapters/getDataConnector.d.ts +3 -2
  16. package/dist/es/es2018/types/src/generated/adapters/getDataConnectorSourceFields.d.ts +3 -2
  17. package/dist/es/es2018/types/src/generated/adapters/getDataConnectorSourceObject.d.ts +3 -2
  18. package/dist/es/es2018/types/src/generated/adapters/getDataConnectorSourceObjectDataPreviewWithFields.d.ts +3 -2
  19. package/dist/es/es2018/types/src/generated/adapters/getDataConnectorSourceObjects.d.ts +3 -2
  20. package/dist/es/es2018/types/src/generated/adapters/getDataConnectorStatus.d.ts +3 -2
  21. package/dist/es/es2018/types/src/generated/adapters/getDataConnectorTypes.d.ts +3 -2
  22. package/dist/es/es2018/types/src/generated/adapters/getDataConnectors.d.ts +3 -2
  23. package/dist/es/es2018/types/src/generated/adapters/getDataflowJob.d.ts +3 -2
  24. package/dist/es/es2018/types/src/generated/adapters/getDataflowJobNode.d.ts +3 -2
  25. package/dist/es/es2018/types/src/generated/adapters/getDataflowJobNodes.d.ts +3 -2
  26. package/dist/es/es2018/types/src/generated/adapters/getDataflowJobs.d.ts +3 -2
  27. package/dist/es/es2018/types/src/generated/adapters/getDataflows.d.ts +3 -2
  28. package/dist/es/es2018/types/src/generated/adapters/getDataset.d.ts +3 -2
  29. package/dist/es/es2018/types/src/generated/adapters/getDatasetVersion.d.ts +3 -2
  30. package/dist/es/es2018/types/src/generated/adapters/getDatasetVersions.d.ts +3 -2
  31. package/dist/es/es2018/types/src/generated/adapters/getDatasets.d.ts +3 -2
  32. package/dist/es/es2018/types/src/generated/adapters/getDependencies.d.ts +3 -2
  33. package/dist/es/es2018/types/src/generated/adapters/getRecipe.d.ts +3 -2
  34. package/dist/es/es2018/types/src/generated/adapters/getRecipeNotification.d.ts +3 -2
  35. package/dist/es/es2018/types/src/generated/adapters/getRecipes.d.ts +3 -2
  36. package/dist/es/es2018/types/src/generated/adapters/getReplicatedDataset.d.ts +3 -2
  37. package/dist/es/es2018/types/src/generated/adapters/getReplicatedDatasets.d.ts +3 -2
  38. package/dist/es/es2018/types/src/generated/adapters/getReplicatedFields.d.ts +3 -2
  39. package/dist/es/es2018/types/src/generated/adapters/getSchedule.d.ts +3 -2
  40. package/dist/es/es2018/types/src/generated/adapters/getSecurityCoverageDatasetVersion.d.ts +3 -2
  41. package/dist/es/es2018/types/src/generated/adapters/getWaveFolders.d.ts +3 -2
  42. package/dist/es/es2018/types/src/generated/adapters/getWaveTemplate.d.ts +3 -2
  43. package/dist/es/es2018/types/src/generated/adapters/getWaveTemplateConfig.d.ts +3 -2
  44. package/dist/es/es2018/types/src/generated/adapters/getWaveTemplateReleaseNotes.d.ts +3 -2
  45. package/dist/es/es2018/types/src/generated/adapters/getWaveTemplates.d.ts +3 -2
  46. package/dist/es/es2018/types/src/generated/adapters/getXmd.d.ts +3 -2
  47. package/dist/es/es2018/types/src/generated/adapters/ingestDataConnector.d.ts +3 -2
  48. package/dist/es/es2018/types/src/generated/adapters/updateDataConnector.d.ts +3 -2
  49. package/dist/es/es2018/types/src/generated/adapters/updateDataflowJob.d.ts +3 -2
  50. package/dist/es/es2018/types/src/generated/adapters/updateDataset.d.ts +3 -2
  51. package/dist/es/es2018/types/src/generated/adapters/updateDatasetVersion.d.ts +3 -2
  52. package/dist/es/es2018/types/src/generated/adapters/updateRecipe.d.ts +3 -2
  53. package/dist/es/es2018/types/src/generated/adapters/updateRecipeNotification.d.ts +3 -2
  54. package/dist/es/es2018/types/src/generated/adapters/updateReplicatedDataset.d.ts +3 -2
  55. package/dist/es/es2018/types/src/generated/adapters/updateReplicatedFields.d.ts +3 -2
  56. package/dist/es/es2018/types/src/generated/adapters/updateSchedule.d.ts +3 -2
  57. package/dist/es/es2018/types/src/generated/adapters/updateXmd.d.ts +3 -2
  58. package/dist/es/es2018/types/src/generated/adapters/validateWaveTemplate.d.ts +3 -2
  59. package/package.json +1 -1
  60. package/sfdc/index.js +496 -1869
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, deepFreeze, typeCheckScalars, StoreKeyMap, typeCheckArrayOfScalars } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$z, typeCheckScalars, StoreKeyMap, typeCheckArrayOfScalars } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -104,6 +104,24 @@ function stableJSONStringify(node) {
104
104
  }
105
105
  return '{' + out + '}';
106
106
  }
107
+ function generateParamConfigMetadata(name, required, coerceFn) {
108
+ return {
109
+ name,
110
+ required,
111
+ coerceFn,
112
+ };
113
+ }
114
+ function buildAdapterValidationConfig(displayName, paramsMeta) {
115
+ const required = paramsMeta.filter(p => p.required).map(p => p.name);
116
+ const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
117
+ return {
118
+ displayName,
119
+ parameters: {
120
+ required,
121
+ optional,
122
+ }
123
+ };
124
+ }
107
125
  const keyPrefix = 'WAVE';
108
126
 
109
127
  const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
@@ -338,26 +356,8 @@ const ingest$M = function ActionCollectionRepresentationIngest(input, path, luvi
338
356
  }
339
357
  }
340
358
  const key = path.fullPath;
341
- const existingRecord = store.readEntry(key);
342
359
  const ttlToUse = TTL$y;
343
- let incomingRecord = normalize$L(input, store.readEntry(key), {
344
- fullPath: key,
345
- parent: path.parent,
346
- propertyName: path.propertyName,
347
- ttl: ttlToUse
348
- });
349
- if (existingRecord === undefined || equals$1Q(existingRecord, incomingRecord) === false) {
350
- luvio.storePublish(key, incomingRecord);
351
- }
352
- {
353
- const storeMetadataParams = {
354
- ttl: ttlToUse,
355
- namespace: "WAVE",
356
- version: VERSION$1Q,
357
- representationName: RepresentationType$N,
358
- };
359
- luvio.publishStoreMetadata(key, storeMetadataParams);
360
- }
360
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$L, "WAVE", VERSION$1Q, RepresentationType$N, equals$1Q);
361
361
  return createLink(key);
362
362
  };
363
363
  function getTypeCacheKeys$M(rootKeySet, luvio, input, fullPathFactory) {
@@ -422,13 +422,11 @@ function createResourceRequest$T(config) {
422
422
  };
423
423
  }
424
424
 
425
- const getActions_ConfigPropertyNames = {
426
- displayName: 'getActions',
427
- parameters: {
428
- required: ['entityId'],
429
- optional: []
430
- }
431
- };
425
+ const adapterName$T = 'getActions';
426
+ const getActions_ConfigPropertyMetadata = [
427
+ generateParamConfigMetadata('entityId', true),
428
+ ];
429
+ const getActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, getActions_ConfigPropertyMetadata);
432
430
  function createResourceParams$T(config) {
433
431
  const resourceParams = {
434
432
  urlParams: {
@@ -494,21 +492,7 @@ function buildNetworkSnapshot$U(luvio, config, options) {
494
492
  });
495
493
  }
496
494
  function buildNetworkSnapshotCachePolicy$y(context, coercedAdapterRequestContext) {
497
- const { luvio, config } = context;
498
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
499
- const dispatchOptions = {
500
- resourceRequestContext: {
501
- requestCorrelator,
502
- luvioRequestMethod: undefined,
503
- },
504
- eventObservers
505
- };
506
- if (networkPriority !== 'normal') {
507
- dispatchOptions.overrides = {
508
- priority: networkPriority
509
- };
510
- }
511
- return buildNetworkSnapshot$U(luvio, config, dispatchOptions);
495
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$U, undefined, false);
512
496
  }
513
497
  function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
514
498
  const { luvio, config } = context;
@@ -773,26 +757,8 @@ const ingest$L = function HourlyScheduleRepresentationIngest(input, path, luvio,
773
757
  }
774
758
  }
775
759
  const key = keyBuilderFromType$s(luvio, input);
776
- const existingRecord = store.readEntry(key);
777
760
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
778
- let incomingRecord = normalize$K(input, store.readEntry(key), {
779
- fullPath: key,
780
- parent: path.parent,
781
- propertyName: path.propertyName,
782
- ttl: ttlToUse
783
- });
784
- if (existingRecord === undefined || equals$1N(existingRecord, incomingRecord) === false) {
785
- luvio.storePublish(key, incomingRecord);
786
- }
787
- if (ttlToUse !== undefined) {
788
- const storeMetadataParams = {
789
- ttl: ttlToUse,
790
- namespace: "WAVE",
791
- version: VERSION$1N,
792
- representationName: RepresentationType$M,
793
- };
794
- luvio.publishStoreMetadata(key, storeMetadataParams);
795
- }
761
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "WAVE", VERSION$1N, RepresentationType$M, equals$1N);
796
762
  return createLink(key);
797
763
  };
798
764
  function getTypeCacheKeys$L(rootKeySet, luvio, input, fullPathFactory) {
@@ -877,26 +843,8 @@ const ingest$K = function MonthlySpecificScheduleRepresentationIngest(input, pat
877
843
  }
878
844
  }
879
845
  const key = keyBuilderFromType$r(luvio, input);
880
- const existingRecord = store.readEntry(key);
881
846
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
882
- let incomingRecord = normalize$J(input, store.readEntry(key), {
883
- fullPath: key,
884
- parent: path.parent,
885
- propertyName: path.propertyName,
886
- ttl: ttlToUse
887
- });
888
- if (existingRecord === undefined || equals$1M(existingRecord, incomingRecord) === false) {
889
- luvio.storePublish(key, incomingRecord);
890
- }
891
- if (ttlToUse !== undefined) {
892
- const storeMetadataParams = {
893
- ttl: ttlToUse,
894
- namespace: "WAVE",
895
- version: VERSION$1M,
896
- representationName: RepresentationType$L,
897
- };
898
- luvio.publishStoreMetadata(key, storeMetadataParams);
899
- }
847
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "WAVE", VERSION$1M, RepresentationType$L, equals$1M);
900
848
  return createLink(key);
901
849
  };
902
850
  function getTypeCacheKeys$K(rootKeySet, luvio, input, fullPathFactory) {
@@ -1020,26 +968,8 @@ const ingest$J = function MinutelyScheduleRepresentationIngest(input, path, luvi
1020
968
  }
1021
969
  }
1022
970
  const key = keyBuilderFromType$q(luvio, input);
1023
- const existingRecord = store.readEntry(key);
1024
971
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1025
- let incomingRecord = normalize$I(input, store.readEntry(key), {
1026
- fullPath: key,
1027
- parent: path.parent,
1028
- propertyName: path.propertyName,
1029
- ttl: ttlToUse
1030
- });
1031
- if (existingRecord === undefined || equals$1L(existingRecord, incomingRecord) === false) {
1032
- luvio.storePublish(key, incomingRecord);
1033
- }
1034
- if (ttlToUse !== undefined) {
1035
- const storeMetadataParams = {
1036
- ttl: ttlToUse,
1037
- namespace: "WAVE",
1038
- version: VERSION$1L,
1039
- representationName: RepresentationType$K,
1040
- };
1041
- luvio.publishStoreMetadata(key, storeMetadataParams);
1042
- }
972
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "WAVE", VERSION$1L, RepresentationType$K, equals$1L);
1043
973
  return createLink(key);
1044
974
  };
1045
975
  function getTypeCacheKeys$J(rootKeySet, luvio, input, fullPathFactory) {
@@ -1122,26 +1052,8 @@ const ingest$I = function EventDrivenScheduleRepresentationIngest(input, path, l
1122
1052
  }
1123
1053
  }
1124
1054
  const key = keyBuilderFromType$p(luvio, input);
1125
- const existingRecord = store.readEntry(key);
1126
1055
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1127
- let incomingRecord = normalize$H(input, store.readEntry(key), {
1128
- fullPath: key,
1129
- parent: path.parent,
1130
- propertyName: path.propertyName,
1131
- ttl: ttlToUse
1132
- });
1133
- if (existingRecord === undefined || equals$1K(existingRecord, incomingRecord) === false) {
1134
- luvio.storePublish(key, incomingRecord);
1135
- }
1136
- if (ttlToUse !== undefined) {
1137
- const storeMetadataParams = {
1138
- ttl: ttlToUse,
1139
- namespace: "WAVE",
1140
- version: VERSION$1K,
1141
- representationName: RepresentationType$J,
1142
- };
1143
- luvio.publishStoreMetadata(key, storeMetadataParams);
1144
- }
1056
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "WAVE", VERSION$1K, RepresentationType$J, equals$1K);
1145
1057
  return createLink(key);
1146
1058
  };
1147
1059
  function getTypeCacheKeys$I(rootKeySet, luvio, input, fullPathFactory) {
@@ -1226,26 +1138,8 @@ const ingest$H = function WeeklyScheduleRepresentationIngest(input, path, luvio,
1226
1138
  }
1227
1139
  }
1228
1140
  const key = keyBuilderFromType$o(luvio, input);
1229
- const existingRecord = store.readEntry(key);
1230
1141
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1231
- let incomingRecord = normalize$G(input, store.readEntry(key), {
1232
- fullPath: key,
1233
- parent: path.parent,
1234
- propertyName: path.propertyName,
1235
- ttl: ttlToUse
1236
- });
1237
- if (existingRecord === undefined || equals$1J(existingRecord, incomingRecord) === false) {
1238
- luvio.storePublish(key, incomingRecord);
1239
- }
1240
- if (ttlToUse !== undefined) {
1241
- const storeMetadataParams = {
1242
- ttl: ttlToUse,
1243
- namespace: "WAVE",
1244
- version: VERSION$1J,
1245
- representationName: RepresentationType$I,
1246
- };
1247
- luvio.publishStoreMetadata(key, storeMetadataParams);
1248
- }
1142
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "WAVE", VERSION$1J, RepresentationType$I, equals$1J);
1249
1143
  return createLink(key);
1250
1144
  };
1251
1145
  function getTypeCacheKeys$H(rootKeySet, luvio, input, fullPathFactory) {
@@ -1353,26 +1247,8 @@ const ingest$G = function MonthlyRelativeScheduleRepresentationIngest(input, pat
1353
1247
  }
1354
1248
  }
1355
1249
  const key = keyBuilderFromType$n(luvio, input);
1356
- const existingRecord = store.readEntry(key);
1357
1250
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1358
- let incomingRecord = normalize$F(input, store.readEntry(key), {
1359
- fullPath: key,
1360
- parent: path.parent,
1361
- propertyName: path.propertyName,
1362
- ttl: ttlToUse
1363
- });
1364
- if (existingRecord === undefined || equals$1I(existingRecord, incomingRecord) === false) {
1365
- luvio.storePublish(key, incomingRecord);
1366
- }
1367
- if (ttlToUse !== undefined) {
1368
- const storeMetadataParams = {
1369
- ttl: ttlToUse,
1370
- namespace: "WAVE",
1371
- version: VERSION$1I,
1372
- representationName: RepresentationType$H,
1373
- };
1374
- luvio.publishStoreMetadata(key, storeMetadataParams);
1375
- }
1251
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "WAVE", VERSION$1I, RepresentationType$H, equals$1I);
1376
1252
  return createLink(key);
1377
1253
  };
1378
1254
  function getTypeCacheKeys$G(rootKeySet, luvio, input, fullPathFactory) {
@@ -1430,26 +1306,8 @@ const ingest$F = function DailyScheduleRepresentationIngest(input, path, luvio,
1430
1306
  }
1431
1307
  }
1432
1308
  const key = keyBuilderFromType$m(luvio, input);
1433
- const existingRecord = store.readEntry(key);
1434
1309
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1435
- let incomingRecord = normalize$E(input, store.readEntry(key), {
1436
- fullPath: key,
1437
- parent: path.parent,
1438
- propertyName: path.propertyName,
1439
- ttl: ttlToUse
1440
- });
1441
- if (existingRecord === undefined || equals$1H(existingRecord, incomingRecord) === false) {
1442
- luvio.storePublish(key, incomingRecord);
1443
- }
1444
- if (ttlToUse !== undefined) {
1445
- const storeMetadataParams = {
1446
- ttl: ttlToUse,
1447
- namespace: "WAVE",
1448
- version: VERSION$1H,
1449
- representationName: RepresentationType$G,
1450
- };
1451
- luvio.publishStoreMetadata(key, storeMetadataParams);
1452
- }
1310
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "WAVE", VERSION$1H, RepresentationType$G, equals$1H);
1453
1311
  return createLink(key);
1454
1312
  };
1455
1313
  function getTypeCacheKeys$F(rootKeySet, luvio, input, fullPathFactory) {
@@ -1507,26 +1365,8 @@ const ingest$E = function EmptyScheduleRepresentationIngest(input, path, luvio,
1507
1365
  }
1508
1366
  }
1509
1367
  const key = keyBuilderFromType$l(luvio, input);
1510
- const existingRecord = store.readEntry(key);
1511
1368
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1512
- let incomingRecord = normalize$D(input, store.readEntry(key), {
1513
- fullPath: key,
1514
- parent: path.parent,
1515
- propertyName: path.propertyName,
1516
- ttl: ttlToUse
1517
- });
1518
- if (existingRecord === undefined || equals$1G(existingRecord, incomingRecord) === false) {
1519
- luvio.storePublish(key, incomingRecord);
1520
- }
1521
- if (ttlToUse !== undefined) {
1522
- const storeMetadataParams = {
1523
- ttl: ttlToUse,
1524
- namespace: "WAVE",
1525
- version: VERSION$1G,
1526
- representationName: RepresentationType$F,
1527
- };
1528
- luvio.publishStoreMetadata(key, storeMetadataParams);
1529
- }
1369
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "WAVE", VERSION$1G, RepresentationType$F, equals$1G);
1530
1370
  return createLink(key);
1531
1371
  };
1532
1372
  function getTypeCacheKeys$E(rootKeySet, luvio, input, fullPathFactory) {
@@ -1715,33 +1555,33 @@ function equals$1F(existing, incoming) {
1715
1555
  return true;
1716
1556
  }
1717
1557
  const ingest$D = function ScheduleRepresentationIngest(input, path, luvio, store, timestamp) {
1718
- return discriminatorIngest(input, path, luvio, store);
1558
+ return discriminatorIngest(input, path, luvio, store, timestamp);
1719
1559
  };
1720
1560
  const discriminatorIngest = function ScheduleRepresentationDiscriminatorIngest(input, path, luvio, store, timestamp) {
1721
1561
  const discriminatorValue = input.frequency;
1722
1562
  if (discriminatorValue === 'hourly') {
1723
- return ingest$L(input, path, luvio, store);
1563
+ return ingest$L(input, path, luvio, store, timestamp);
1724
1564
  }
1725
1565
  if (discriminatorValue === 'monthly') {
1726
- return ingest$K(input, path, luvio, store);
1566
+ return ingest$K(input, path, luvio, store, timestamp);
1727
1567
  }
1728
1568
  if (discriminatorValue === 'minutely') {
1729
- return ingest$J(input, path, luvio, store);
1569
+ return ingest$J(input, path, luvio, store, timestamp);
1730
1570
  }
1731
1571
  if (discriminatorValue === 'eventdriven') {
1732
- return ingest$I(input, path, luvio, store);
1572
+ return ingest$I(input, path, luvio, store, timestamp);
1733
1573
  }
1734
1574
  if (discriminatorValue === 'weekly') {
1735
- return ingest$H(input, path, luvio, store);
1575
+ return ingest$H(input, path, luvio, store, timestamp);
1736
1576
  }
1737
1577
  if (discriminatorValue === 'monthlyrelative') {
1738
- return ingest$G(input, path, luvio, store);
1578
+ return ingest$G(input, path, luvio, store, timestamp);
1739
1579
  }
1740
1580
  if (discriminatorValue === 'daily') {
1741
- return ingest$F(input, path, luvio, store);
1581
+ return ingest$F(input, path, luvio, store, timestamp);
1742
1582
  }
1743
1583
  if (discriminatorValue === 'none') {
1744
- return ingest$E(input, path, luvio, store);
1584
+ return ingest$E(input, path, luvio, store, timestamp);
1745
1585
  }
1746
1586
  throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "hourly","monthly","minutely","eventdriven","weekly","monthlyrelative","daily","none"`);
1747
1587
  };
@@ -1822,13 +1662,11 @@ function createResourceRequest$S(config) {
1822
1662
  };
1823
1663
  }
1824
1664
 
1825
- const getSchedule_ConfigPropertyNames = {
1826
- displayName: 'getSchedule',
1827
- parameters: {
1828
- required: ['assetId'],
1829
- optional: []
1830
- }
1831
- };
1665
+ const adapterName$S = 'getSchedule';
1666
+ const getSchedule_ConfigPropertyMetadata = [
1667
+ generateParamConfigMetadata('assetId', true),
1668
+ ];
1669
+ const getSchedule_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$S, getSchedule_ConfigPropertyMetadata);
1832
1670
  function createResourceParams$S(config) {
1833
1671
  const resourceParams = {
1834
1672
  urlParams: {
@@ -1894,21 +1732,7 @@ function buildNetworkSnapshot$T(luvio, config, options) {
1894
1732
  });
1895
1733
  }
1896
1734
  function buildNetworkSnapshotCachePolicy$x(context, coercedAdapterRequestContext) {
1897
- const { luvio, config } = context;
1898
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
1899
- const dispatchOptions = {
1900
- resourceRequestContext: {
1901
- requestCorrelator,
1902
- luvioRequestMethod: undefined,
1903
- },
1904
- eventObservers
1905
- };
1906
- if (networkPriority !== 'normal') {
1907
- dispatchOptions.overrides = {
1908
- priority: networkPriority
1909
- };
1910
- }
1911
- return buildNetworkSnapshot$T(luvio, config, dispatchOptions);
1735
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$T, undefined, false);
1912
1736
  }
1913
1737
  function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
1914
1738
  const { luvio, config } = context;
@@ -2009,13 +1833,12 @@ function createResourceRequest$R(config) {
2009
1833
  };
2010
1834
  }
2011
1835
 
2012
- const updateSchedule_ConfigPropertyNames = {
2013
- displayName: 'updateSchedule',
2014
- parameters: {
2015
- required: ['assetId', 'schedule'],
2016
- optional: []
2017
- }
2018
- };
1836
+ const adapterName$R = 'updateSchedule';
1837
+ const updateSchedule_ConfigPropertyMetadata = [
1838
+ generateParamConfigMetadata('assetId', true),
1839
+ generateParamConfigMetadata('schedule', true),
1840
+ ];
1841
+ const updateSchedule_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$R, updateSchedule_ConfigPropertyMetadata);
2019
1842
  function createResourceParams$R(config) {
2020
1843
  const resourceParams = {
2021
1844
  urlParams: {
@@ -5912,26 +5735,8 @@ const ingest$C = function DatasetVersionRepresentationIngest(input, path, luvio,
5912
5735
  }
5913
5736
  }
5914
5737
  const key = keyBuilderFromType$j(luvio, input);
5915
- const existingRecord = store.readEntry(key);
5916
5738
  const ttlToUse = TTL$r;
5917
- let incomingRecord = normalize$C(input, store.readEntry(key), {
5918
- fullPath: key,
5919
- parent: path.parent,
5920
- propertyName: path.propertyName,
5921
- ttl: ttlToUse
5922
- });
5923
- if (existingRecord === undefined || equals$1l(existingRecord, incomingRecord) === false) {
5924
- luvio.storePublish(key, incomingRecord);
5925
- }
5926
- {
5927
- const storeMetadataParams = {
5928
- ttl: ttlToUse,
5929
- namespace: "WAVE",
5930
- version: VERSION$1l,
5931
- representationName: RepresentationType$D,
5932
- };
5933
- luvio.publishStoreMetadata(key, storeMetadataParams);
5934
- }
5739
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "WAVE", VERSION$1l, RepresentationType$D, equals$1l);
5935
5740
  return createLink(key);
5936
5741
  };
5937
5742
  function getTypeCacheKeys$C(rootKeySet, luvio, input, fullPathFactory) {
@@ -6524,7 +6329,7 @@ function normalize$B(input, existing, path, luvio, store, timestamp) {
6524
6329
  existing: existing,
6525
6330
  },
6526
6331
  ttl: path.ttl
6527
- }, luvio, store);
6332
+ }, luvio, store, timestamp);
6528
6333
  return input;
6529
6334
  }
6530
6335
  const select$21 = function RecipeRepresentationSelect() {
@@ -6890,26 +6695,8 @@ const ingest$B = function RecipeRepresentationIngest(input, path, luvio, store,
6890
6695
  }
6891
6696
  }
6892
6697
  const key = keyBuilderFromType$i(luvio, input);
6893
- const existingRecord = store.readEntry(key);
6894
6698
  const ttlToUse = TTL$r;
6895
- let incomingRecord = normalize$B(input, store.readEntry(key), {
6896
- fullPath: key,
6897
- parent: path.parent,
6898
- propertyName: path.propertyName,
6899
- ttl: ttlToUse
6900
- }, luvio, store);
6901
- if (existingRecord === undefined || equals$1g(existingRecord, incomingRecord) === false) {
6902
- luvio.storePublish(key, incomingRecord);
6903
- }
6904
- {
6905
- const storeMetadataParams = {
6906
- ttl: ttlToUse,
6907
- namespace: "WAVE",
6908
- version: VERSION$1g,
6909
- representationName: RepresentationType$C,
6910
- };
6911
- luvio.publishStoreMetadata(key, storeMetadataParams);
6912
- }
6699
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "WAVE", VERSION$1g, RepresentationType$C, equals$1g);
6913
6700
  return createLink(key);
6914
6701
  };
6915
6702
  function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
@@ -7314,26 +7101,8 @@ const ingest$A = function DataflowJobNodeRepresentationIngest(input, path, luvio
7314
7101
  }
7315
7102
  }
7316
7103
  const key = keyBuilderFromType$h(luvio, input);
7317
- const existingRecord = store.readEntry(key);
7318
7104
  const ttlToUse = TTL$r;
7319
- let incomingRecord = normalize$A(input, store.readEntry(key), {
7320
- fullPath: key,
7321
- parent: path.parent,
7322
- propertyName: path.propertyName,
7323
- ttl: ttlToUse
7324
- });
7325
- if (existingRecord === undefined || equals$1e(existingRecord, incomingRecord) === false) {
7326
- luvio.storePublish(key, incomingRecord);
7327
- }
7328
- {
7329
- const storeMetadataParams = {
7330
- ttl: ttlToUse,
7331
- namespace: "WAVE",
7332
- version: VERSION$1e,
7333
- representationName: RepresentationType$B,
7334
- };
7335
- luvio.publishStoreMetadata(key, storeMetadataParams);
7336
- }
7105
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "WAVE", VERSION$1e, RepresentationType$B, equals$1e);
7337
7106
  return createLink(key);
7338
7107
  };
7339
7108
  function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
@@ -7929,26 +7698,8 @@ const ingest$z = function DatasetRepresentationIngest(input, path, luvio, store,
7929
7698
  }
7930
7699
  }
7931
7700
  const key = keyBuilderFromType$g(luvio, input);
7932
- const existingRecord = store.readEntry(key);
7933
7701
  const ttlToUse = TTL$r;
7934
- let incomingRecord = normalize$z(input, store.readEntry(key), {
7935
- fullPath: key,
7936
- parent: path.parent,
7937
- propertyName: path.propertyName,
7938
- ttl: ttlToUse
7939
- });
7940
- if (existingRecord === undefined || equals$1c(existingRecord, incomingRecord) === false) {
7941
- luvio.storePublish(key, incomingRecord);
7942
- }
7943
- {
7944
- const storeMetadataParams = {
7945
- ttl: ttlToUse,
7946
- namespace: "WAVE",
7947
- version: VERSION$1c,
7948
- representationName: RepresentationType$A,
7949
- };
7950
- luvio.publishStoreMetadata(key, storeMetadataParams);
7951
- }
7702
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "WAVE", VERSION$1c, RepresentationType$A, equals$1c);
7952
7703
  return createLink(key);
7953
7704
  };
7954
7705
  function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
@@ -8502,26 +8253,8 @@ const ingest$y = function DataflowRepresentationIngest(input, path, luvio, store
8502
8253
  }
8503
8254
  }
8504
8255
  const key = keyBuilderFromType$f(luvio, input);
8505
- const existingRecord = store.readEntry(key);
8506
8256
  const ttlToUse = TTL$r;
8507
- let incomingRecord = normalize$y(input, store.readEntry(key), {
8508
- fullPath: key,
8509
- parent: path.parent,
8510
- propertyName: path.propertyName,
8511
- ttl: ttlToUse
8512
- });
8513
- if (existingRecord === undefined || equals$18(existingRecord, incomingRecord) === false) {
8514
- luvio.storePublish(key, incomingRecord);
8515
- }
8516
- {
8517
- const storeMetadataParams = {
8518
- ttl: ttlToUse,
8519
- namespace: "WAVE",
8520
- version: VERSION$18,
8521
- representationName: RepresentationType$z,
8522
- };
8523
- luvio.publishStoreMetadata(key, storeMetadataParams);
8524
- }
8257
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "WAVE", VERSION$18, RepresentationType$z, equals$18);
8525
8258
  return createLink(key);
8526
8259
  };
8527
8260
  function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
@@ -8960,7 +8693,7 @@ function normalize$x(input, existing, path, luvio, store, timestamp) {
8960
8693
  existing: existing,
8961
8694
  },
8962
8695
  ttl: path.ttl
8963
- }, luvio, store);
8696
+ }, luvio, store, timestamp);
8964
8697
  }
8965
8698
  return input;
8966
8699
  }
@@ -9000,26 +8733,8 @@ const ingest$x = function DataflowCollectionRepresentationIngest(input, path, lu
9000
8733
  }
9001
8734
  }
9002
8735
  const key = path.fullPath;
9003
- const existingRecord = store.readEntry(key);
9004
8736
  const ttlToUse = TTL$t;
9005
- let incomingRecord = normalize$x(input, store.readEntry(key), {
9006
- fullPath: key,
9007
- parent: path.parent,
9008
- propertyName: path.propertyName,
9009
- ttl: ttlToUse
9010
- }, luvio, store);
9011
- if (existingRecord === undefined || equals$15(existingRecord, incomingRecord) === false) {
9012
- luvio.storePublish(key, incomingRecord);
9013
- }
9014
- {
9015
- const storeMetadataParams = {
9016
- ttl: ttlToUse,
9017
- namespace: "WAVE",
9018
- version: VERSION$15,
9019
- representationName: RepresentationType$y,
9020
- };
9021
- luvio.publishStoreMetadata(key, storeMetadataParams);
9022
- }
8737
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "WAVE", VERSION$15, RepresentationType$y, equals$15);
9023
8738
  return createLink(key);
9024
8739
  };
9025
8740
  function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
@@ -9280,7 +8995,7 @@ function normalize$w(input, existing, path, luvio, store, timestamp) {
9280
8995
  existing: existing,
9281
8996
  },
9282
8997
  ttl: path.ttl
9283
- }, luvio, store);
8998
+ }, luvio, store, timestamp);
9284
8999
  return input;
9285
9000
  }
9286
9001
  const select$1R = function DataflowJobRepresentationSelect() {
@@ -9550,26 +9265,8 @@ const ingest$w = function DataflowJobRepresentationIngest(input, path, luvio, st
9550
9265
  }
9551
9266
  }
9552
9267
  const key = keyBuilderFromType$e(luvio, input);
9553
- const existingRecord = store.readEntry(key);
9554
9268
  const ttlToUse = TTL$r;
9555
- let incomingRecord = normalize$w(input, store.readEntry(key), {
9556
- fullPath: key,
9557
- parent: path.parent,
9558
- propertyName: path.propertyName,
9559
- ttl: ttlToUse
9560
- }, luvio, store);
9561
- if (existingRecord === undefined || equals$14(existingRecord, incomingRecord) === false) {
9562
- luvio.storePublish(key, incomingRecord);
9563
- }
9564
- {
9565
- const storeMetadataParams = {
9566
- ttl: ttlToUse,
9567
- namespace: "WAVE",
9568
- version: VERSION$14,
9569
- representationName: RepresentationType$x,
9570
- };
9571
- luvio.publishStoreMetadata(key, storeMetadataParams);
9572
- }
9269
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "WAVE", VERSION$14, RepresentationType$x, equals$14);
9573
9270
  return createLink(key);
9574
9271
  };
9575
9272
  function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
@@ -10206,26 +9903,8 @@ const ingest$v = function WaveFolderRepresentationIngest(input, path, luvio, sto
10206
9903
  }
10207
9904
  }
10208
9905
  const key = keyBuilderFromType$d(luvio, input);
10209
- const existingRecord = store.readEntry(key);
10210
9906
  const ttlToUse = TTL$r;
10211
- let incomingRecord = normalize$v(input, store.readEntry(key), {
10212
- fullPath: key,
10213
- parent: path.parent,
10214
- propertyName: path.propertyName,
10215
- ttl: ttlToUse
10216
- });
10217
- if (existingRecord === undefined || equals$10(existingRecord, incomingRecord) === false) {
10218
- luvio.storePublish(key, incomingRecord);
10219
- }
10220
- {
10221
- const storeMetadataParams = {
10222
- ttl: ttlToUse,
10223
- namespace: "WAVE",
10224
- version: VERSION$10,
10225
- representationName: RepresentationType$w,
10226
- };
10227
- luvio.publishStoreMetadata(key, storeMetadataParams);
10228
- }
9907
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "WAVE", VERSION$10, RepresentationType$w, equals$10);
10229
9908
  return createLink(key);
10230
9909
  };
10231
9910
  function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
@@ -10892,7 +10571,7 @@ function normalize$u(input, existing, path, luvio, store, timestamp) {
10892
10571
  existing: existing,
10893
10572
  },
10894
10573
  ttl: path.ttl
10895
- }, luvio, store);
10574
+ }, luvio, store, timestamp);
10896
10575
  return input;
10897
10576
  }
10898
10577
  const select$1K = function DataConnectorRepresentationSelect() {
@@ -11013,26 +10692,8 @@ const ingest$u = function DataConnectorRepresentationIngest(input, path, luvio,
11013
10692
  }
11014
10693
  }
11015
10694
  const key = keyBuilderFromType$b(luvio, input);
11016
- const existingRecord = store.readEntry(key);
11017
10695
  const ttlToUse = TTL$r;
11018
- let incomingRecord = normalize$u(input, store.readEntry(key), {
11019
- fullPath: key,
11020
- parent: path.parent,
11021
- propertyName: path.propertyName,
11022
- ttl: ttlToUse
11023
- }, luvio, store);
11024
- if (existingRecord === undefined || equals$Z(existingRecord, incomingRecord) === false) {
11025
- luvio.storePublish(key, incomingRecord);
11026
- }
11027
- {
11028
- const storeMetadataParams = {
11029
- ttl: ttlToUse,
11030
- namespace: "WAVE",
11031
- version: VERSION$Z,
11032
- representationName: RepresentationType$u,
11033
- };
11034
- luvio.publishStoreMetadata(key, storeMetadataParams);
11035
- }
10696
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "WAVE", VERSION$Z, RepresentationType$u, equals$Z);
11036
10697
  return createLink(key);
11037
10698
  };
11038
10699
  function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
@@ -11088,7 +10749,7 @@ function normalize$t(input, existing, path, luvio, store, timestamp) {
11088
10749
  existing: existing,
11089
10750
  },
11090
10751
  ttl: path.ttl
11091
- }, luvio, store);
10752
+ }, luvio, store, timestamp);
11092
10753
  }
11093
10754
  return input;
11094
10755
  }
@@ -11137,26 +10798,8 @@ const ingest$t = function DataConnectorCollectionRepresentationIngest(input, pat
11137
10798
  }
11138
10799
  }
11139
10800
  const key = path.fullPath;
11140
- const existingRecord = store.readEntry(key);
11141
10801
  const ttlToUse = TTL$p;
11142
- let incomingRecord = normalize$t(input, store.readEntry(key), {
11143
- fullPath: key,
11144
- parent: path.parent,
11145
- propertyName: path.propertyName,
11146
- ttl: ttlToUse
11147
- }, luvio, store);
11148
- if (existingRecord === undefined || equals$Y(existingRecord, incomingRecord) === false) {
11149
- luvio.storePublish(key, incomingRecord);
11150
- }
11151
- {
11152
- const storeMetadataParams = {
11153
- ttl: ttlToUse,
11154
- namespace: "WAVE",
11155
- version: VERSION$Y,
11156
- representationName: RepresentationType$t,
11157
- };
11158
- luvio.publishStoreMetadata(key, storeMetadataParams);
11159
- }
10802
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "WAVE", VERSION$Y, RepresentationType$t, equals$Y);
11160
10803
  return createLink(key);
11161
10804
  };
11162
10805
  function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
@@ -11225,13 +10868,13 @@ function createResourceRequest$Q(config) {
11225
10868
  };
11226
10869
  }
11227
10870
 
11228
- const getDataConnectors_ConfigPropertyNames = {
11229
- displayName: 'getDataConnectors',
11230
- parameters: {
11231
- required: [],
11232
- optional: ['category', 'connectorType', 'scope']
11233
- }
11234
- };
10871
+ const adapterName$Q = 'getDataConnectors';
10872
+ const getDataConnectors_ConfigPropertyMetadata = [
10873
+ generateParamConfigMetadata('category', false),
10874
+ generateParamConfigMetadata('connectorType', false),
10875
+ generateParamConfigMetadata('scope', false),
10876
+ ];
10877
+ const getDataConnectors_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, getDataConnectors_ConfigPropertyMetadata);
11235
10878
  function createResourceParams$Q(config) {
11236
10879
  const resourceParams = {
11237
10880
  queryParams: {
@@ -11299,21 +10942,7 @@ function buildNetworkSnapshot$R(luvio, config, options) {
11299
10942
  });
11300
10943
  }
11301
10944
  function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
11302
- const { luvio, config } = context;
11303
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
11304
- const dispatchOptions = {
11305
- resourceRequestContext: {
11306
- requestCorrelator,
11307
- luvioRequestMethod: undefined,
11308
- },
11309
- eventObservers
11310
- };
11311
- if (networkPriority !== 'normal') {
11312
- dispatchOptions.overrides = {
11313
- priority: networkPriority
11314
- };
11315
- }
11316
- return buildNetworkSnapshot$R(luvio, config, dispatchOptions);
10945
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$R, undefined, false);
11317
10946
  }
11318
10947
  function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
11319
10948
  const { luvio, config } = context;
@@ -11482,13 +11111,11 @@ function createResourceRequest$P(config) {
11482
11111
  };
11483
11112
  }
11484
11113
 
11485
- const createDataConnector_ConfigPropertyNames = {
11486
- displayName: 'createDataConnector',
11487
- parameters: {
11488
- required: ['dataConnector'],
11489
- optional: []
11490
- }
11491
- };
11114
+ const adapterName$P = 'createDataConnector';
11115
+ const createDataConnector_ConfigPropertyMetadata = [
11116
+ generateParamConfigMetadata('dataConnector', true),
11117
+ ];
11118
+ const createDataConnector_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$P, createDataConnector_ConfigPropertyMetadata);
11492
11119
  function createResourceParams$P(config) {
11493
11120
  const resourceParams = {
11494
11121
  body: {
@@ -11602,13 +11229,11 @@ function createResourceRequest$O(config) {
11602
11229
  };
11603
11230
  }
11604
11231
 
11605
- const getDataConnector_ConfigPropertyNames = {
11606
- displayName: 'getDataConnector',
11607
- parameters: {
11608
- required: ['connectorIdOrApiName'],
11609
- optional: []
11610
- }
11611
- };
11232
+ const adapterName$O = 'getDataConnector';
11233
+ const getDataConnector_ConfigPropertyMetadata = [
11234
+ generateParamConfigMetadata('connectorIdOrApiName', true),
11235
+ ];
11236
+ const getDataConnector_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$O, getDataConnector_ConfigPropertyMetadata);
11612
11237
  function createResourceParams$O(config) {
11613
11238
  const resourceParams = {
11614
11239
  urlParams: {
@@ -11674,21 +11299,7 @@ function buildNetworkSnapshot$P(luvio, config, options) {
11674
11299
  });
11675
11300
  }
11676
11301
  function buildNetworkSnapshotCachePolicy$v(context, coercedAdapterRequestContext) {
11677
- const { luvio, config } = context;
11678
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
11679
- const dispatchOptions = {
11680
- resourceRequestContext: {
11681
- requestCorrelator,
11682
- luvioRequestMethod: undefined,
11683
- },
11684
- eventObservers
11685
- };
11686
- if (networkPriority !== 'normal') {
11687
- dispatchOptions.overrides = {
11688
- priority: networkPriority
11689
- };
11690
- }
11691
- return buildNetworkSnapshot$P(luvio, config, dispatchOptions);
11302
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$P, undefined, false);
11692
11303
  }
11693
11304
  function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
11694
11305
  const { luvio, config } = context;
@@ -11750,13 +11361,12 @@ function createResourceRequest$N(config) {
11750
11361
  };
11751
11362
  }
11752
11363
 
11753
- const updateDataConnector_ConfigPropertyNames = {
11754
- displayName: 'updateDataConnector',
11755
- parameters: {
11756
- required: ['connectorIdOrApiName', 'dataConnector'],
11757
- optional: []
11758
- }
11759
- };
11364
+ const adapterName$N = 'updateDataConnector';
11365
+ const updateDataConnector_ConfigPropertyMetadata = [
11366
+ generateParamConfigMetadata('connectorIdOrApiName', true),
11367
+ generateParamConfigMetadata('dataConnector', true),
11368
+ ];
11369
+ const updateDataConnector_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, updateDataConnector_ConfigPropertyMetadata);
11760
11370
  function createResourceParams$N(config) {
11761
11371
  const resourceParams = {
11762
11372
  urlParams: {
@@ -11853,14 +11463,11 @@ function createResourceRequest$M(config) {
11853
11463
  };
11854
11464
  }
11855
11465
 
11856
- const adapterName$3 = 'deleteDataConnector';
11857
- const deleteDataConnector_ConfigPropertyNames = {
11858
- displayName: 'deleteDataConnector',
11859
- parameters: {
11860
- required: ['connectorIdOrApiName'],
11861
- optional: []
11862
- }
11863
- };
11466
+ const adapterName$M = 'deleteDataConnector';
11467
+ const deleteDataConnector_ConfigPropertyMetadata = [
11468
+ generateParamConfigMetadata('connectorIdOrApiName', true),
11469
+ ];
11470
+ const deleteDataConnector_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, deleteDataConnector_ConfigPropertyMetadata);
11864
11471
  function createResourceParams$M(config) {
11865
11472
  const resourceParams = {
11866
11473
  urlParams: {
@@ -11912,7 +11519,7 @@ const deleteDataConnectorAdapterFactory = (luvio) => {
11912
11519
  const config = validateAdapterConfig$M(untrustedConfig, deleteDataConnector_ConfigPropertyNames);
11913
11520
  // Invalid or incomplete config
11914
11521
  if (config === null) {
11915
- throw new Error(`Invalid config for "${adapterName$3}"`);
11522
+ throw new Error(`Invalid config for "${adapterName$M}"`);
11916
11523
  }
11917
11524
  return buildNetworkSnapshot$N(luvio, config);
11918
11525
  };
@@ -12101,26 +11708,8 @@ const ingest$s = function SourceObjectRepresentationIngest(input, path, luvio, s
12101
11708
  }
12102
11709
  }
12103
11710
  const key = keyBuilderFromType$a(luvio, input);
12104
- const existingRecord = store.readEntry(key);
12105
11711
  const ttlToUse = TTL$o;
12106
- let incomingRecord = normalize$s(input, store.readEntry(key), {
12107
- fullPath: key,
12108
- parent: path.parent,
12109
- propertyName: path.propertyName,
12110
- ttl: ttlToUse
12111
- });
12112
- if (existingRecord === undefined || equals$X(existingRecord, incomingRecord) === false) {
12113
- luvio.storePublish(key, incomingRecord);
12114
- }
12115
- {
12116
- const storeMetadataParams = {
12117
- ttl: ttlToUse,
12118
- namespace: "WAVE",
12119
- version: VERSION$X,
12120
- representationName: RepresentationType$s,
12121
- };
12122
- luvio.publishStoreMetadata(key, storeMetadataParams);
12123
- }
11712
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "WAVE", VERSION$X, RepresentationType$s, equals$X);
12124
11713
  return createLink(key);
12125
11714
  };
12126
11715
  function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
@@ -12190,7 +11779,7 @@ function normalize$r(input, existing, path, luvio, store, timestamp) {
12190
11779
  existing: existing,
12191
11780
  },
12192
11781
  ttl: path.ttl
12193
- }, luvio, store);
11782
+ }, luvio, store, timestamp);
12194
11783
  }
12195
11784
  return input;
12196
11785
  }
@@ -12275,26 +11864,8 @@ const ingest$r = function SourceObjectCollectionRepresentationIngest(input, path
12275
11864
  }
12276
11865
  }
12277
11866
  const key = path.fullPath;
12278
- const existingRecord = store.readEntry(key);
12279
11867
  const ttlToUse = TTL$n;
12280
- let incomingRecord = normalize$r(input, store.readEntry(key), {
12281
- fullPath: key,
12282
- parent: path.parent,
12283
- propertyName: path.propertyName,
12284
- ttl: ttlToUse
12285
- }, luvio, store);
12286
- if (existingRecord === undefined || equals$W(existingRecord, incomingRecord) === false) {
12287
- luvio.storePublish(key, incomingRecord);
12288
- }
12289
- {
12290
- const storeMetadataParams = {
12291
- ttl: ttlToUse,
12292
- namespace: "WAVE",
12293
- version: VERSION$W,
12294
- representationName: RepresentationType$r,
12295
- };
12296
- luvio.publishStoreMetadata(key, storeMetadataParams);
12297
- }
11868
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$r, "WAVE", VERSION$W, RepresentationType$r, equals$W);
12298
11869
  return createLink(key);
12299
11870
  };
12300
11871
  function getTypeCacheKeys$r(rootKeySet, luvio, input, fullPathFactory) {
@@ -12363,13 +11934,14 @@ function createResourceRequest$L(config) {
12363
11934
  };
12364
11935
  }
12365
11936
 
12366
- const getDataConnectorSourceObjects_ConfigPropertyNames = {
12367
- displayName: 'getDataConnectorSourceObjects',
12368
- parameters: {
12369
- required: ['connectorIdOrApiName'],
12370
- optional: ['q', 'page', 'pageSize']
12371
- }
12372
- };
11937
+ const adapterName$L = 'getDataConnectorSourceObjects';
11938
+ const getDataConnectorSourceObjects_ConfigPropertyMetadata = [
11939
+ generateParamConfigMetadata('connectorIdOrApiName', true),
11940
+ generateParamConfigMetadata('q', false),
11941
+ generateParamConfigMetadata('page', false),
11942
+ generateParamConfigMetadata('pageSize', false),
11943
+ ];
11944
+ const getDataConnectorSourceObjects_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, getDataConnectorSourceObjects_ConfigPropertyMetadata);
12373
11945
  function createResourceParams$L(config) {
12374
11946
  const resourceParams = {
12375
11947
  urlParams: {
@@ -12441,21 +12013,7 @@ function buildNetworkSnapshot$M(luvio, config, options) {
12441
12013
  });
12442
12014
  }
12443
12015
  function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
12444
- const { luvio, config } = context;
12445
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
12446
- const dispatchOptions = {
12447
- resourceRequestContext: {
12448
- requestCorrelator,
12449
- luvioRequestMethod: undefined,
12450
- },
12451
- eventObservers
12452
- };
12453
- if (networkPriority !== 'normal') {
12454
- dispatchOptions.overrides = {
12455
- priority: networkPriority
12456
- };
12457
- }
12458
- return buildNetworkSnapshot$M(luvio, config, dispatchOptions);
12016
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$M, undefined, false);
12459
12017
  }
12460
12018
  function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
12461
12019
  const { luvio, config } = context;
@@ -12535,13 +12093,12 @@ function createResourceRequest$K(config) {
12535
12093
  };
12536
12094
  }
12537
12095
 
12538
- const getDataConnectorSourceObject_ConfigPropertyNames = {
12539
- displayName: 'getDataConnectorSourceObject',
12540
- parameters: {
12541
- required: ['connectorIdOrApiName', 'sourceObjectName'],
12542
- optional: []
12543
- }
12544
- };
12096
+ const adapterName$K = 'getDataConnectorSourceObject';
12097
+ const getDataConnectorSourceObject_ConfigPropertyMetadata = [
12098
+ generateParamConfigMetadata('connectorIdOrApiName', true),
12099
+ generateParamConfigMetadata('sourceObjectName', true),
12100
+ ];
12101
+ const getDataConnectorSourceObject_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$K, getDataConnectorSourceObject_ConfigPropertyMetadata);
12545
12102
  function createResourceParams$K(config) {
12546
12103
  const resourceParams = {
12547
12104
  urlParams: {
@@ -12608,21 +12165,7 @@ function buildNetworkSnapshot$L(luvio, config, options) {
12608
12165
  });
12609
12166
  }
12610
12167
  function buildNetworkSnapshotCachePolicy$t(context, coercedAdapterRequestContext) {
12611
- const { luvio, config } = context;
12612
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
12613
- const dispatchOptions = {
12614
- resourceRequestContext: {
12615
- requestCorrelator,
12616
- luvioRequestMethod: undefined,
12617
- },
12618
- eventObservers
12619
- };
12620
- if (networkPriority !== 'normal') {
12621
- dispatchOptions.overrides = {
12622
- priority: networkPriority
12623
- };
12624
- }
12625
- return buildNetworkSnapshot$L(luvio, config, dispatchOptions);
12168
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$L, undefined, false);
12626
12169
  }
12627
12170
  function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
12628
12171
  const { luvio, config } = context;
@@ -12750,26 +12293,8 @@ const ingest$q = function SourceObjectDataRepresentationIngest(input, path, luvi
12750
12293
  }
12751
12294
  }
12752
12295
  const key = path.fullPath;
12753
- const existingRecord = store.readEntry(key);
12754
12296
  const ttlToUse = TTL$m;
12755
- let incomingRecord = normalize$q(input, store.readEntry(key), {
12756
- fullPath: key,
12757
- parent: path.parent,
12758
- propertyName: path.propertyName,
12759
- ttl: ttlToUse
12760
- });
12761
- if (existingRecord === undefined || equals$V(existingRecord, incomingRecord) === false) {
12762
- luvio.storePublish(key, incomingRecord);
12763
- }
12764
- {
12765
- const storeMetadataParams = {
12766
- ttl: ttlToUse,
12767
- namespace: "WAVE",
12768
- version: VERSION$V,
12769
- representationName: RepresentationType$q,
12770
- };
12771
- luvio.publishStoreMetadata(key, storeMetadataParams);
12772
- }
12297
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$q, "WAVE", VERSION$V, RepresentationType$q, equals$V);
12773
12298
  return createLink(key);
12774
12299
  };
12775
12300
  function getTypeCacheKeys$q(rootKeySet, luvio, input, fullPathFactory) {
@@ -12834,13 +12359,13 @@ function createResourceRequest$J(config) {
12834
12359
  };
12835
12360
  }
12836
12361
 
12837
- const getDataConnectorSourceObjectDataPreviewWithFields_ConfigPropertyNames = {
12838
- displayName: 'getDataConnectorSourceObjectDataPreviewWithFields',
12839
- parameters: {
12840
- required: ['connectorIdOrApiName', 'sourceObjectName', 'sourceObjectParam'],
12841
- optional: []
12842
- }
12843
- };
12362
+ const adapterName$J = 'getDataConnectorSourceObjectDataPreviewWithFields';
12363
+ const getDataConnectorSourceObjectDataPreviewWithFields_ConfigPropertyMetadata = [
12364
+ generateParamConfigMetadata('connectorIdOrApiName', true),
12365
+ generateParamConfigMetadata('sourceObjectName', true),
12366
+ generateParamConfigMetadata('sourceObjectParam', true),
12367
+ ];
12368
+ const getDataConnectorSourceObjectDataPreviewWithFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, getDataConnectorSourceObjectDataPreviewWithFields_ConfigPropertyMetadata);
12844
12369
  function createResourceParams$J(config) {
12845
12370
  const resourceParams = {
12846
12371
  urlParams: {
@@ -12915,21 +12440,7 @@ function buildNetworkSnapshot$K(luvio, config, options) {
12915
12440
  });
12916
12441
  }
12917
12442
  function buildNetworkSnapshotCachePolicy$s(context, coercedAdapterRequestContext) {
12918
- const { luvio, config } = context;
12919
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
12920
- const dispatchOptions = {
12921
- resourceRequestContext: {
12922
- requestCorrelator,
12923
- luvioRequestMethod: 'get',
12924
- },
12925
- eventObservers
12926
- };
12927
- if (networkPriority !== 'normal') {
12928
- dispatchOptions.overrides = {
12929
- priority: networkPriority
12930
- };
12931
- }
12932
- return buildNetworkSnapshot$K(luvio, config, dispatchOptions);
12443
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$K, 'get', false);
12933
12444
  }
12934
12445
  function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
12935
12446
  const { luvio, config } = context;
@@ -13549,26 +13060,8 @@ const ingest$p = function SourceFieldCollectionRepresentationIngest(input, path,
13549
13060
  }
13550
13061
  }
13551
13062
  const key = keyBuilderFromType$9(luvio, input);
13552
- const existingRecord = store.readEntry(key);
13553
13063
  const ttlToUse = TTL$l;
13554
- let incomingRecord = normalize$p(input, store.readEntry(key), {
13555
- fullPath: key,
13556
- parent: path.parent,
13557
- propertyName: path.propertyName,
13558
- ttl: ttlToUse
13559
- });
13560
- if (existingRecord === undefined || equals$R(existingRecord, incomingRecord) === false) {
13561
- luvio.storePublish(key, incomingRecord);
13562
- }
13563
- {
13564
- const storeMetadataParams = {
13565
- ttl: ttlToUse,
13566
- namespace: "WAVE",
13567
- version: VERSION$R,
13568
- representationName: RepresentationType$p,
13569
- };
13570
- luvio.publishStoreMetadata(key, storeMetadataParams);
13571
- }
13064
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$p, "WAVE", VERSION$R, RepresentationType$p, equals$R);
13572
13065
  return createLink(key);
13573
13066
  };
13574
13067
  function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
@@ -13636,13 +13129,12 @@ function createResourceRequest$I(config) {
13636
13129
  };
13637
13130
  }
13638
13131
 
13639
- const getDataConnectorSourceFields_ConfigPropertyNames = {
13640
- displayName: 'getDataConnectorSourceFields',
13641
- parameters: {
13642
- required: ['connectorIdOrApiName', 'sourceObjectName'],
13643
- optional: []
13644
- }
13645
- };
13132
+ const adapterName$I = 'getDataConnectorSourceFields';
13133
+ const getDataConnectorSourceFields_ConfigPropertyMetadata = [
13134
+ generateParamConfigMetadata('connectorIdOrApiName', true),
13135
+ generateParamConfigMetadata('sourceObjectName', true),
13136
+ ];
13137
+ const getDataConnectorSourceFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$I, getDataConnectorSourceFields_ConfigPropertyMetadata);
13646
13138
  function createResourceParams$I(config) {
13647
13139
  const resourceParams = {
13648
13140
  urlParams: {
@@ -13709,21 +13201,7 @@ function buildNetworkSnapshot$J(luvio, config, options) {
13709
13201
  });
13710
13202
  }
13711
13203
  function buildNetworkSnapshotCachePolicy$r(context, coercedAdapterRequestContext) {
13712
- const { luvio, config } = context;
13713
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
13714
- const dispatchOptions = {
13715
- resourceRequestContext: {
13716
- requestCorrelator,
13717
- luvioRequestMethod: undefined,
13718
- },
13719
- eventObservers
13720
- };
13721
- if (networkPriority !== 'normal') {
13722
- dispatchOptions.overrides = {
13723
- priority: networkPriority
13724
- };
13725
- }
13726
- return buildNetworkSnapshot$J(luvio, config, dispatchOptions);
13204
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$J, undefined, false);
13727
13205
  }
13728
13206
  function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
13729
13207
  const { luvio, config } = context;
@@ -13818,26 +13296,8 @@ const ingest$o = function RestoreDatasetVersionRepresentationIngest(input, path,
13818
13296
  }
13819
13297
  }
13820
13298
  const key = keyBuilderFromType$8(luvio, input);
13821
- const existingRecord = store.readEntry(key);
13822
13299
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
13823
- let incomingRecord = normalize$o(input, store.readEntry(key), {
13824
- fullPath: key,
13825
- parent: path.parent,
13826
- propertyName: path.propertyName,
13827
- ttl: ttlToUse
13828
- });
13829
- if (existingRecord === undefined || equals$Q(existingRecord, incomingRecord) === false) {
13830
- luvio.storePublish(key, incomingRecord);
13831
- }
13832
- if (ttlToUse !== undefined) {
13833
- const storeMetadataParams = {
13834
- ttl: ttlToUse,
13835
- namespace: "WAVE",
13836
- version: VERSION$Q,
13837
- representationName: RepresentationType$o,
13838
- };
13839
- luvio.publishStoreMetadata(key, storeMetadataParams);
13840
- }
13300
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$o, "WAVE", VERSION$Q, RepresentationType$o, equals$Q);
13841
13301
  return createLink(key);
13842
13302
  };
13843
13303
  function getTypeCacheKeys$o(rootKeySet, luvio, input, fullPathFactory) {
@@ -13887,13 +13347,11 @@ function createResourceRequest$H(config) {
13887
13347
  };
13888
13348
  }
13889
13349
 
13890
- const ingestDataConnector_ConfigPropertyNames = {
13891
- displayName: 'ingestDataConnector',
13892
- parameters: {
13893
- required: ['connectorIdOrApiName'],
13894
- optional: []
13895
- }
13896
- };
13350
+ const adapterName$H = 'ingestDataConnector';
13351
+ const ingestDataConnector_ConfigPropertyMetadata = [
13352
+ generateParamConfigMetadata('connectorIdOrApiName', true),
13353
+ ];
13354
+ const ingestDataConnector_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, ingestDataConnector_ConfigPropertyMetadata);
13897
13355
  function createResourceParams$H(config) {
13898
13356
  const resourceParams = {
13899
13357
  urlParams: {
@@ -14027,26 +13485,8 @@ const ingest$n = function DataConnectorStatusRepresentationIngest(input, path, l
14027
13485
  }
14028
13486
  }
14029
13487
  const key = path.fullPath;
14030
- const existingRecord = store.readEntry(key);
14031
13488
  const ttlToUse = TTL$k;
14032
- let incomingRecord = normalize$n(input, store.readEntry(key), {
14033
- fullPath: key,
14034
- parent: path.parent,
14035
- propertyName: path.propertyName,
14036
- ttl: ttlToUse
14037
- });
14038
- if (existingRecord === undefined || equals$P(existingRecord, incomingRecord) === false) {
14039
- luvio.storePublish(key, incomingRecord);
14040
- }
14041
- {
14042
- const storeMetadataParams = {
14043
- ttl: ttlToUse,
14044
- namespace: "WAVE",
14045
- version: VERSION$P,
14046
- representationName: RepresentationType$n,
14047
- };
14048
- luvio.publishStoreMetadata(key, storeMetadataParams);
14049
- }
13489
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "WAVE", VERSION$P, RepresentationType$n, equals$P);
14050
13490
  return createLink(key);
14051
13491
  };
14052
13492
  function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
@@ -14111,13 +13551,11 @@ function createResourceRequest$G(config) {
14111
13551
  };
14112
13552
  }
14113
13553
 
14114
- const getDataConnectorStatus_ConfigPropertyNames = {
14115
- displayName: 'getDataConnectorStatus',
14116
- parameters: {
14117
- required: ['connectorIdOrApiName'],
14118
- optional: []
14119
- }
14120
- };
13554
+ const adapterName$G = 'getDataConnectorStatus';
13555
+ const getDataConnectorStatus_ConfigPropertyMetadata = [
13556
+ generateParamConfigMetadata('connectorIdOrApiName', true),
13557
+ ];
13558
+ const getDataConnectorStatus_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$G, getDataConnectorStatus_ConfigPropertyMetadata);
14121
13559
  function createResourceParams$G(config) {
14122
13560
  const resourceParams = {
14123
13561
  urlParams: {
@@ -14183,21 +13621,7 @@ function buildNetworkSnapshot$H(luvio, config, options) {
14183
13621
  });
14184
13622
  }
14185
13623
  function buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext) {
14186
- const { luvio, config } = context;
14187
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
14188
- const dispatchOptions = {
14189
- resourceRequestContext: {
14190
- requestCorrelator,
14191
- luvioRequestMethod: undefined,
14192
- },
14193
- eventObservers
14194
- };
14195
- if (networkPriority !== 'normal') {
14196
- dispatchOptions.overrides = {
14197
- priority: networkPriority
14198
- };
14199
- }
14200
- return buildNetworkSnapshot$H(luvio, config, dispatchOptions);
13624
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
14201
13625
  }
14202
13626
  function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
14203
13627
  const { luvio, config } = context;
@@ -14853,26 +14277,8 @@ const ingest$m = function DataConnectorTypeCollectionRepresentationIngest(input,
14853
14277
  }
14854
14278
  }
14855
14279
  const key = path.fullPath;
14856
- const existingRecord = store.readEntry(key);
14857
14280
  const ttlToUse = TTL$j;
14858
- let incomingRecord = normalize$m(input, store.readEntry(key), {
14859
- fullPath: key,
14860
- parent: path.parent,
14861
- propertyName: path.propertyName,
14862
- ttl: ttlToUse
14863
- });
14864
- if (existingRecord === undefined || equals$L(existingRecord, incomingRecord) === false) {
14865
- luvio.storePublish(key, incomingRecord);
14866
- }
14867
- {
14868
- const storeMetadataParams = {
14869
- ttl: ttlToUse,
14870
- namespace: "WAVE",
14871
- version: VERSION$L,
14872
- representationName: RepresentationType$m,
14873
- };
14874
- luvio.publishStoreMetadata(key, storeMetadataParams);
14875
- }
14281
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "WAVE", VERSION$L, RepresentationType$m, equals$L);
14876
14282
  return createLink(key);
14877
14283
  };
14878
14284
  function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
@@ -14937,13 +14343,9 @@ function createResourceRequest$F(config) {
14937
14343
  };
14938
14344
  }
14939
14345
 
14940
- const getDataConnectorTypes_ConfigPropertyNames = {
14941
- displayName: 'getDataConnectorTypes',
14942
- parameters: {
14943
- required: [],
14944
- optional: []
14945
- }
14946
- };
14346
+ const adapterName$F = 'getDataConnectorTypes';
14347
+ const getDataConnectorTypes_ConfigPropertyMetadata = [];
14348
+ const getDataConnectorTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getDataConnectorTypes_ConfigPropertyMetadata);
14947
14349
  function createResourceParams$F(config) {
14948
14350
  const resourceParams = {};
14949
14351
  return resourceParams;
@@ -15000,21 +14402,7 @@ function buildNetworkSnapshot$G(luvio, config, options) {
15000
14402
  });
15001
14403
  }
15002
14404
  function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext) {
15003
- const { luvio, config } = context;
15004
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
15005
- const dispatchOptions = {
15006
- resourceRequestContext: {
15007
- requestCorrelator,
15008
- luvioRequestMethod: undefined,
15009
- },
15010
- eventObservers
15011
- };
15012
- if (networkPriority !== 'normal') {
15013
- dispatchOptions.overrides = {
15014
- priority: networkPriority
15015
- };
15016
- }
15017
- return buildNetworkSnapshot$G(luvio, config, dispatchOptions);
14405
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$G, undefined, false);
15018
14406
  }
15019
14407
  function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
15020
14408
  const { luvio, config } = context;
@@ -15091,13 +14479,11 @@ function createResourceRequest$E(config) {
15091
14479
  };
15092
14480
  }
15093
14481
 
15094
- const getDataflows_ConfigPropertyNames = {
15095
- displayName: 'getDataflows',
15096
- parameters: {
15097
- required: [],
15098
- optional: ['q']
15099
- }
15100
- };
14482
+ const adapterName$E = 'getDataflows';
14483
+ const getDataflows_ConfigPropertyMetadata = [
14484
+ generateParamConfigMetadata('q', false),
14485
+ ];
14486
+ const getDataflows_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getDataflows_ConfigPropertyMetadata);
15101
14487
  function createResourceParams$E(config) {
15102
14488
  const resourceParams = {
15103
14489
  queryParams: {
@@ -15163,21 +14549,7 @@ function buildNetworkSnapshot$F(luvio, config, options) {
15163
14549
  });
15164
14550
  }
15165
14551
  function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext) {
15166
- const { luvio, config } = context;
15167
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
15168
- const dispatchOptions = {
15169
- resourceRequestContext: {
15170
- requestCorrelator,
15171
- luvioRequestMethod: undefined,
15172
- },
15173
- eventObservers
15174
- };
15175
- if (networkPriority !== 'normal') {
15176
- dispatchOptions.overrides = {
15177
- priority: networkPriority
15178
- };
15179
- }
15180
- return buildNetworkSnapshot$F(luvio, config, dispatchOptions);
14552
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
15181
14553
  }
15182
14554
  function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
15183
14555
  const { luvio, config } = context;
@@ -15301,7 +14673,7 @@ function normalize$l(input, existing, path, luvio, store, timestamp) {
15301
14673
  existing: existing,
15302
14674
  },
15303
14675
  ttl: path.ttl
15304
- }, luvio, store);
14676
+ }, luvio, store, timestamp);
15305
14677
  }
15306
14678
  return input;
15307
14679
  }
@@ -15386,26 +14758,8 @@ const ingest$l = function DataflowJobCollectionRepresentationIngest(input, path,
15386
14758
  }
15387
14759
  }
15388
14760
  const key = path.fullPath;
15389
- const existingRecord = store.readEntry(key);
15390
14761
  const ttlToUse = TTL$i;
15391
- let incomingRecord = normalize$l(input, store.readEntry(key), {
15392
- fullPath: key,
15393
- parent: path.parent,
15394
- propertyName: path.propertyName,
15395
- ttl: ttlToUse
15396
- }, luvio, store);
15397
- if (existingRecord === undefined || equals$K(existingRecord, incomingRecord) === false) {
15398
- luvio.storePublish(key, incomingRecord);
15399
- }
15400
- {
15401
- const storeMetadataParams = {
15402
- ttl: ttlToUse,
15403
- namespace: "WAVE",
15404
- version: VERSION$K,
15405
- representationName: RepresentationType$l,
15406
- };
15407
- luvio.publishStoreMetadata(key, storeMetadataParams);
15408
- }
14762
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "WAVE", VERSION$K, RepresentationType$l, equals$K);
15409
14763
  return createLink(key);
15410
14764
  };
15411
14765
  function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
@@ -15474,13 +14828,19 @@ function createResourceRequest$D(config) {
15474
14828
  };
15475
14829
  }
15476
14830
 
15477
- const getDataflowJobs_ConfigPropertyNames = {
15478
- displayName: 'getDataflowJobs',
15479
- parameters: {
15480
- required: [],
15481
- optional: ['dataflowId', 'jobTypes', 'licenseType', 'page', 'pageSize', 'q', 'startedAfter', 'startedBefore', 'status']
15482
- }
15483
- };
14831
+ const adapterName$D = 'getDataflowJobs';
14832
+ const getDataflowJobs_ConfigPropertyMetadata = [
14833
+ generateParamConfigMetadata('dataflowId', false),
14834
+ generateParamConfigMetadata('jobTypes', false),
14835
+ generateParamConfigMetadata('licenseType', false),
14836
+ generateParamConfigMetadata('page', false),
14837
+ generateParamConfigMetadata('pageSize', false),
14838
+ generateParamConfigMetadata('q', false),
14839
+ generateParamConfigMetadata('startedAfter', false),
14840
+ generateParamConfigMetadata('startedBefore', false),
14841
+ generateParamConfigMetadata('status', false),
14842
+ ];
14843
+ const getDataflowJobs_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getDataflowJobs_ConfigPropertyMetadata);
15484
14844
  function createResourceParams$D(config) {
15485
14845
  const resourceParams = {
15486
14846
  queryParams: {
@@ -15556,21 +14916,7 @@ function buildNetworkSnapshot$E(luvio, config, options) {
15556
14916
  });
15557
14917
  }
15558
14918
  function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext) {
15559
- const { luvio, config } = context;
15560
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
15561
- const dispatchOptions = {
15562
- resourceRequestContext: {
15563
- requestCorrelator,
15564
- luvioRequestMethod: undefined,
15565
- },
15566
- eventObservers
15567
- };
15568
- if (networkPriority !== 'normal') {
15569
- dispatchOptions.overrides = {
15570
- priority: networkPriority
15571
- };
15572
- }
15573
- return buildNetworkSnapshot$E(luvio, config, dispatchOptions);
14919
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
15574
14920
  }
15575
14921
  function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
15576
14922
  const { luvio, config } = context;
@@ -15653,13 +14999,11 @@ function createResourceRequest$C(config) {
15653
14999
  };
15654
15000
  }
15655
15001
 
15656
- const createDataflowJob_ConfigPropertyNames = {
15657
- displayName: 'createDataflowJob',
15658
- parameters: {
15659
- required: ['dataflowJob'],
15660
- optional: []
15661
- }
15662
- };
15002
+ const adapterName$C = 'createDataflowJob';
15003
+ const createDataflowJob_ConfigPropertyMetadata = [
15004
+ generateParamConfigMetadata('dataflowJob', true),
15005
+ ];
15006
+ const createDataflowJob_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, createDataflowJob_ConfigPropertyMetadata);
15663
15007
  function createResourceParams$C(config) {
15664
15008
  const resourceParams = {
15665
15009
  body: {
@@ -15773,13 +15117,11 @@ function createResourceRequest$B(config) {
15773
15117
  };
15774
15118
  }
15775
15119
 
15776
- const getDataflowJob_ConfigPropertyNames = {
15777
- displayName: 'getDataflowJob',
15778
- parameters: {
15779
- required: ['dataflowjobId'],
15780
- optional: []
15781
- }
15782
- };
15120
+ const adapterName$B = 'getDataflowJob';
15121
+ const getDataflowJob_ConfigPropertyMetadata = [
15122
+ generateParamConfigMetadata('dataflowjobId', true),
15123
+ ];
15124
+ const getDataflowJob_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, getDataflowJob_ConfigPropertyMetadata);
15783
15125
  function createResourceParams$B(config) {
15784
15126
  const resourceParams = {
15785
15127
  urlParams: {
@@ -15845,21 +15187,7 @@ function buildNetworkSnapshot$C(luvio, config, options) {
15845
15187
  });
15846
15188
  }
15847
15189
  function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext) {
15848
- const { luvio, config } = context;
15849
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
15850
- const dispatchOptions = {
15851
- resourceRequestContext: {
15852
- requestCorrelator,
15853
- luvioRequestMethod: undefined,
15854
- },
15855
- eventObservers
15856
- };
15857
- if (networkPriority !== 'normal') {
15858
- dispatchOptions.overrides = {
15859
- priority: networkPriority
15860
- };
15861
- }
15862
- return buildNetworkSnapshot$C(luvio, config, dispatchOptions);
15190
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
15863
15191
  }
15864
15192
  function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
15865
15193
  const { luvio, config } = context;
@@ -15921,13 +15249,12 @@ function createResourceRequest$A(config) {
15921
15249
  };
15922
15250
  }
15923
15251
 
15924
- const updateDataflowJob_ConfigPropertyNames = {
15925
- displayName: 'updateDataflowJob',
15926
- parameters: {
15927
- required: ['dataflowjobId', 'dataflowJob'],
15928
- optional: []
15929
- }
15930
- };
15252
+ const adapterName$A = 'updateDataflowJob';
15253
+ const updateDataflowJob_ConfigPropertyMetadata = [
15254
+ generateParamConfigMetadata('dataflowjobId', true),
15255
+ generateParamConfigMetadata('dataflowJob', true),
15256
+ ];
15257
+ const updateDataflowJob_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$A, updateDataflowJob_ConfigPropertyMetadata);
15931
15258
  function createResourceParams$A(config) {
15932
15259
  const resourceParams = {
15933
15260
  urlParams: {
@@ -16036,7 +15363,7 @@ function normalize$k(input, existing, path, luvio, store, timestamp) {
16036
15363
  existing: existing,
16037
15364
  },
16038
15365
  ttl: path.ttl
16039
- }, luvio, store);
15366
+ }, luvio, store, timestamp);
16040
15367
  }
16041
15368
  return input;
16042
15369
  }
@@ -16085,26 +15412,8 @@ const ingest$k = function DataflowJobNodeCollectionRepresentationIngest(input, p
16085
15412
  }
16086
15413
  }
16087
15414
  const key = path.fullPath;
16088
- const existingRecord = store.readEntry(key);
16089
15415
  const ttlToUse = TTL$h;
16090
- let incomingRecord = normalize$k(input, store.readEntry(key), {
16091
- fullPath: key,
16092
- parent: path.parent,
16093
- propertyName: path.propertyName,
16094
- ttl: ttlToUse
16095
- }, luvio, store);
16096
- if (existingRecord === undefined || equals$J(existingRecord, incomingRecord) === false) {
16097
- luvio.storePublish(key, incomingRecord);
16098
- }
16099
- {
16100
- const storeMetadataParams = {
16101
- ttl: ttlToUse,
16102
- namespace: "WAVE",
16103
- version: VERSION$J,
16104
- representationName: RepresentationType$k,
16105
- };
16106
- luvio.publishStoreMetadata(key, storeMetadataParams);
16107
- }
15416
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "WAVE", VERSION$J, RepresentationType$k, equals$J);
16108
15417
  return createLink(key);
16109
15418
  };
16110
15419
  function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
@@ -16173,13 +15482,11 @@ function createResourceRequest$z(config) {
16173
15482
  };
16174
15483
  }
16175
15484
 
16176
- const getDataflowJobNodes_ConfigPropertyNames = {
16177
- displayName: 'getDataflowJobNodes',
16178
- parameters: {
16179
- required: ['dataflowjobId'],
16180
- optional: []
16181
- }
16182
- };
15485
+ const adapterName$z = 'getDataflowJobNodes';
15486
+ const getDataflowJobNodes_ConfigPropertyMetadata = [
15487
+ generateParamConfigMetadata('dataflowjobId', true),
15488
+ ];
15489
+ const getDataflowJobNodes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, getDataflowJobNodes_ConfigPropertyMetadata);
16183
15490
  function createResourceParams$z(config) {
16184
15491
  const resourceParams = {
16185
15492
  urlParams: {
@@ -16245,21 +15552,7 @@ function buildNetworkSnapshot$A(luvio, config, options) {
16245
15552
  });
16246
15553
  }
16247
15554
  function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext) {
16248
- const { luvio, config } = context;
16249
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
16250
- const dispatchOptions = {
16251
- resourceRequestContext: {
16252
- requestCorrelator,
16253
- luvioRequestMethod: undefined,
16254
- },
16255
- eventObservers
16256
- };
16257
- if (networkPriority !== 'normal') {
16258
- dispatchOptions.overrides = {
16259
- priority: networkPriority
16260
- };
16261
- }
16262
- return buildNetworkSnapshot$A(luvio, config, dispatchOptions);
15555
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$A, undefined, false);
16263
15556
  }
16264
15557
  function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
16265
15558
  const { luvio, config } = context;
@@ -16338,13 +15631,12 @@ function createResourceRequest$y(config) {
16338
15631
  };
16339
15632
  }
16340
15633
 
16341
- const getDataflowJobNode_ConfigPropertyNames = {
16342
- displayName: 'getDataflowJobNode',
16343
- parameters: {
16344
- required: ['dataflowjobId', 'nodeId'],
16345
- optional: []
16346
- }
16347
- };
15634
+ const adapterName$y = 'getDataflowJobNode';
15635
+ const getDataflowJobNode_ConfigPropertyMetadata = [
15636
+ generateParamConfigMetadata('dataflowjobId', true),
15637
+ generateParamConfigMetadata('nodeId', true),
15638
+ ];
15639
+ const getDataflowJobNode_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getDataflowJobNode_ConfigPropertyMetadata);
16348
15640
  function createResourceParams$y(config) {
16349
15641
  const resourceParams = {
16350
15642
  urlParams: {
@@ -16411,21 +15703,7 @@ function buildNetworkSnapshot$z(luvio, config, options) {
16411
15703
  });
16412
15704
  }
16413
15705
  function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext) {
16414
- const { luvio, config } = context;
16415
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
16416
- const dispatchOptions = {
16417
- resourceRequestContext: {
16418
- requestCorrelator,
16419
- luvioRequestMethod: undefined,
16420
- },
16421
- eventObservers
16422
- };
16423
- if (networkPriority !== 'normal') {
16424
- dispatchOptions.overrides = {
16425
- priority: networkPriority
16426
- };
16427
- }
16428
- return buildNetworkSnapshot$z(luvio, config, dispatchOptions);
15706
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$z, undefined, false);
16429
15707
  }
16430
15708
  function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
16431
15709
  const { luvio, config } = context;
@@ -16545,7 +15823,7 @@ function normalize$j(input, existing, path, luvio, store, timestamp) {
16545
15823
  existing: existing,
16546
15824
  },
16547
15825
  ttl: path.ttl
16548
- }, luvio, store);
15826
+ }, luvio, store, timestamp);
16549
15827
  }
16550
15828
  return input;
16551
15829
  }
@@ -16612,26 +15890,8 @@ const ingest$j = function DatasetCollectionRepresentationIngest(input, path, luv
16612
15890
  }
16613
15891
  }
16614
15892
  const key = path.fullPath;
16615
- const existingRecord = store.readEntry(key);
16616
15893
  const ttlToUse = TTL$g;
16617
- let incomingRecord = normalize$j(input, store.readEntry(key), {
16618
- fullPath: key,
16619
- parent: path.parent,
16620
- propertyName: path.propertyName,
16621
- ttl: ttlToUse
16622
- }, luvio, store);
16623
- if (existingRecord === undefined || equals$I(existingRecord, incomingRecord) === false) {
16624
- luvio.storePublish(key, incomingRecord);
16625
- }
16626
- {
16627
- const storeMetadataParams = {
16628
- ttl: ttlToUse,
16629
- namespace: "WAVE",
16630
- version: VERSION$I,
16631
- representationName: RepresentationType$j,
16632
- };
16633
- luvio.publishStoreMetadata(key, storeMetadataParams);
16634
- }
15894
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "WAVE", VERSION$I, RepresentationType$j, equals$I);
16635
15895
  return createLink(key);
16636
15896
  };
16637
15897
  function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
@@ -16700,13 +15960,26 @@ function createResourceRequest$x(config) {
16700
15960
  };
16701
15961
  }
16702
15962
 
16703
- const getDatasets_ConfigPropertyNames = {
16704
- displayName: 'getDatasets',
16705
- parameters: {
16706
- required: [],
16707
- optional: ['createdAfter', 'createdBefore', 'datasetTypes', 'folderId', 'hasCurrentOnly', 'ids', 'includeCurrentVersion', 'lastQueriedAfter', 'lastQueriedBefore', 'licenseType', 'order', 'page', 'pageSize', 'q', 'scope', 'sort']
16708
- }
16709
- };
15963
+ const adapterName$x = 'getDatasets';
15964
+ const getDatasets_ConfigPropertyMetadata = [
15965
+ generateParamConfigMetadata('createdAfter', false),
15966
+ generateParamConfigMetadata('createdBefore', false),
15967
+ generateParamConfigMetadata('datasetTypes', false),
15968
+ generateParamConfigMetadata('folderId', false),
15969
+ generateParamConfigMetadata('hasCurrentOnly', false),
15970
+ generateParamConfigMetadata('ids', false),
15971
+ generateParamConfigMetadata('includeCurrentVersion', false),
15972
+ generateParamConfigMetadata('lastQueriedAfter', false),
15973
+ generateParamConfigMetadata('lastQueriedBefore', false),
15974
+ generateParamConfigMetadata('licenseType', false),
15975
+ generateParamConfigMetadata('order', false),
15976
+ generateParamConfigMetadata('page', false),
15977
+ generateParamConfigMetadata('pageSize', false),
15978
+ generateParamConfigMetadata('q', false),
15979
+ generateParamConfigMetadata('scope', false),
15980
+ generateParamConfigMetadata('sort', false),
15981
+ ];
15982
+ const getDatasets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, getDatasets_ConfigPropertyMetadata);
16710
15983
  function createResourceParams$x(config) {
16711
15984
  const resourceParams = {
16712
15985
  queryParams: {
@@ -16789,21 +16062,7 @@ function buildNetworkSnapshot$y(luvio, config, options) {
16789
16062
  });
16790
16063
  }
16791
16064
  function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
16792
- const { luvio, config } = context;
16793
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
16794
- const dispatchOptions = {
16795
- resourceRequestContext: {
16796
- requestCorrelator,
16797
- luvioRequestMethod: undefined,
16798
- },
16799
- eventObservers
16800
- };
16801
- if (networkPriority !== 'normal') {
16802
- dispatchOptions.overrides = {
16803
- priority: networkPriority
16804
- };
16805
- }
16806
- return buildNetworkSnapshot$y(luvio, config, dispatchOptions);
16065
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
16807
16066
  }
16808
16067
  function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
16809
16068
  const { luvio, config } = context;
@@ -18065,13 +17324,11 @@ function createResourceRequest$w(config) {
18065
17324
  };
18066
17325
  }
18067
17326
 
18068
- const createDataset_ConfigPropertyNames = {
18069
- displayName: 'createDataset',
18070
- parameters: {
18071
- required: ['dataset'],
18072
- optional: []
18073
- }
18074
- };
17327
+ const adapterName$w = 'createDataset';
17328
+ const createDataset_ConfigPropertyMetadata = [
17329
+ generateParamConfigMetadata('dataset', true),
17330
+ ];
17331
+ const createDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, createDataset_ConfigPropertyMetadata);
18075
17332
  function createResourceParams$w(config) {
18076
17333
  const resourceParams = {
18077
17334
  body: {
@@ -18202,14 +17459,11 @@ function buildNetworkSnapshot$w(luvio, config) {
18202
17459
  });
18203
17460
  }
18204
17461
 
18205
- const adapterName$2 = 'deleteDataset';
18206
- const deleteDataset_ConfigPropertyNames = {
18207
- displayName: 'deleteDataset',
18208
- parameters: {
18209
- required: ['datasetIdOrApiName'],
18210
- optional: []
18211
- }
18212
- };
17462
+ const adapterName$v = 'deleteDataset';
17463
+ const deleteDataset_ConfigPropertyMetadata = [
17464
+ generateParamConfigMetadata('datasetIdOrApiName', true),
17465
+ ];
17466
+ const deleteDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, deleteDataset_ConfigPropertyMetadata);
18213
17467
  function createResourceParams$v(config) {
18214
17468
  const resourceParams = {
18215
17469
  urlParams: {
@@ -18261,7 +17515,7 @@ const deleteDatasetAdapterFactory = (luvio) => {
18261
17515
  const config = validateAdapterConfig$v(untrustedConfig, deleteDataset_ConfigPropertyNames);
18262
17516
  // Invalid or incomplete config
18263
17517
  if (config === null) {
18264
- throw new Error(`Invalid config for "${adapterName$2}"`);
17518
+ throw new Error(`Invalid config for "${adapterName$v}"`);
18265
17519
  }
18266
17520
  return buildNetworkSnapshot$w(luvio, config);
18267
17521
  };
@@ -18358,13 +17612,11 @@ function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
18358
17612
  return buildCachedSnapshotCachePolicy$l(context, storeLookup);
18359
17613
  }
18360
17614
 
18361
- const getDataset_ConfigPropertyNames = {
18362
- displayName: 'getDataset',
18363
- parameters: {
18364
- required: ['datasetIdOrApiName'],
18365
- optional: []
18366
- }
18367
- };
17615
+ const adapterName$u = 'getDataset';
17616
+ const getDataset_ConfigPropertyMetadata = [
17617
+ generateParamConfigMetadata('datasetIdOrApiName', true),
17618
+ ];
17619
+ const getDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getDataset_ConfigPropertyMetadata);
18368
17620
  function createResourceParams$u(config) {
18369
17621
  const resourceParams = {
18370
17622
  urlParams: {
@@ -18430,21 +17682,7 @@ function buildNetworkSnapshot$u(luvio, config, options) {
18430
17682
  });
18431
17683
  }
18432
17684
  function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
18433
- const { luvio, config } = context;
18434
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
18435
- const dispatchOptions = {
18436
- resourceRequestContext: {
18437
- requestCorrelator,
18438
- luvioRequestMethod: undefined,
18439
- },
18440
- eventObservers
18441
- };
18442
- if (networkPriority !== 'normal') {
18443
- dispatchOptions.overrides = {
18444
- priority: networkPriority
18445
- };
18446
- }
18447
- return buildNetworkSnapshot$u(luvio, config, dispatchOptions);
17685
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
18448
17686
  }
18449
17687
  function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
18450
17688
  const { luvio, config } = context;
@@ -18506,13 +17744,12 @@ function createResourceRequest$t(config) {
18506
17744
  };
18507
17745
  }
18508
17746
 
18509
- const updateDataset_ConfigPropertyNames = {
18510
- displayName: 'updateDataset',
18511
- parameters: {
18512
- required: ['datasetIdOrApiName', 'dataset'],
18513
- optional: []
18514
- }
18515
- };
17747
+ const adapterName$t = 'updateDataset';
17748
+ const updateDataset_ConfigPropertyMetadata = [
17749
+ generateParamConfigMetadata('datasetIdOrApiName', true),
17750
+ generateParamConfigMetadata('dataset', true),
17751
+ ];
17752
+ const updateDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, updateDataset_ConfigPropertyMetadata);
18516
17753
  function createResourceParams$t(config) {
18517
17754
  const resourceParams = {
18518
17755
  urlParams: {
@@ -18621,7 +17858,7 @@ function normalize$i(input, existing, path, luvio, store, timestamp) {
18621
17858
  existing: existing,
18622
17859
  },
18623
17860
  ttl: path.ttl
18624
- }, luvio, store);
17861
+ }, luvio, store, timestamp);
18625
17862
  }
18626
17863
  return input;
18627
17864
  }
@@ -18670,26 +17907,8 @@ const ingest$i = function DatasetVersionCollectionRepresentationIngest(input, pa
18670
17907
  }
18671
17908
  }
18672
17909
  const key = path.fullPath;
18673
- const existingRecord = store.readEntry(key);
18674
17910
  const ttlToUse = TTL$f;
18675
- let incomingRecord = normalize$i(input, store.readEntry(key), {
18676
- fullPath: key,
18677
- parent: path.parent,
18678
- propertyName: path.propertyName,
18679
- ttl: ttlToUse
18680
- }, luvio, store);
18681
- if (existingRecord === undefined || equals$H(existingRecord, incomingRecord) === false) {
18682
- luvio.storePublish(key, incomingRecord);
18683
- }
18684
- {
18685
- const storeMetadataParams = {
18686
- ttl: ttlToUse,
18687
- namespace: "WAVE",
18688
- version: VERSION$H,
18689
- representationName: RepresentationType$i,
18690
- };
18691
- luvio.publishStoreMetadata(key, storeMetadataParams);
18692
- }
17911
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "WAVE", VERSION$H, RepresentationType$i, equals$H);
18693
17912
  return createLink(key);
18694
17913
  };
18695
17914
  function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
@@ -18758,13 +17977,11 @@ function createResourceRequest$s(config) {
18758
17977
  };
18759
17978
  }
18760
17979
 
18761
- const getDatasetVersions_ConfigPropertyNames = {
18762
- displayName: 'getDatasetVersions',
18763
- parameters: {
18764
- required: ['datasetIdOrApiName'],
18765
- optional: []
18766
- }
18767
- };
17980
+ const adapterName$s = 'getDatasetVersions';
17981
+ const getDatasetVersions_ConfigPropertyMetadata = [
17982
+ generateParamConfigMetadata('datasetIdOrApiName', true),
17983
+ ];
17984
+ const getDatasetVersions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getDatasetVersions_ConfigPropertyMetadata);
18768
17985
  function createResourceParams$s(config) {
18769
17986
  const resourceParams = {
18770
17987
  urlParams: {
@@ -18830,21 +18047,7 @@ function buildNetworkSnapshot$s(luvio, config, options) {
18830
18047
  });
18831
18048
  }
18832
18049
  function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
18833
- const { luvio, config } = context;
18834
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
18835
- const dispatchOptions = {
18836
- resourceRequestContext: {
18837
- requestCorrelator,
18838
- luvioRequestMethod: undefined,
18839
- },
18840
- eventObservers
18841
- };
18842
- if (networkPriority !== 'normal') {
18843
- dispatchOptions.overrides = {
18844
- priority: networkPriority
18845
- };
18846
- }
18847
- return buildNetworkSnapshot$s(luvio, config, dispatchOptions);
18050
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$s, undefined, false);
18848
18051
  }
18849
18052
  function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
18850
18053
  const { luvio, config } = context;
@@ -18923,13 +18126,12 @@ function createResourceRequest$r(config) {
18923
18126
  };
18924
18127
  }
18925
18128
 
18926
- const createDatasetVersion_ConfigPropertyNames = {
18927
- displayName: 'createDatasetVersion',
18928
- parameters: {
18929
- required: ['datasetIdOrApiName', 'sourceVersion'],
18930
- optional: []
18931
- }
18932
- };
18129
+ const adapterName$r = 'createDatasetVersion';
18130
+ const createDatasetVersion_ConfigPropertyMetadata = [
18131
+ generateParamConfigMetadata('datasetIdOrApiName', true),
18132
+ generateParamConfigMetadata('sourceVersion', true),
18133
+ ];
18134
+ const createDatasetVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, createDatasetVersion_ConfigPropertyMetadata);
18933
18135
  function createResourceParams$r(config) {
18934
18136
  const resourceParams = {
18935
18137
  urlParams: {
@@ -19049,13 +18251,12 @@ function createResourceRequest$q(config) {
19049
18251
  };
19050
18252
  }
19051
18253
 
19052
- const getDatasetVersion_ConfigPropertyNames = {
19053
- displayName: 'getDatasetVersion',
19054
- parameters: {
19055
- required: ['datasetIdOrApiName', 'versionId'],
19056
- optional: []
19057
- }
19058
- };
18254
+ const adapterName$q = 'getDatasetVersion';
18255
+ const getDatasetVersion_ConfigPropertyMetadata = [
18256
+ generateParamConfigMetadata('datasetIdOrApiName', true),
18257
+ generateParamConfigMetadata('versionId', true),
18258
+ ];
18259
+ const getDatasetVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getDatasetVersion_ConfigPropertyMetadata);
19059
18260
  function createResourceParams$q(config) {
19060
18261
  const resourceParams = {
19061
18262
  urlParams: {
@@ -19122,21 +18323,7 @@ function buildNetworkSnapshot$q(luvio, config, options) {
19122
18323
  });
19123
18324
  }
19124
18325
  function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
19125
- const { luvio, config } = context;
19126
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
19127
- const dispatchOptions = {
19128
- resourceRequestContext: {
19129
- requestCorrelator,
19130
- luvioRequestMethod: undefined,
19131
- },
19132
- eventObservers
19133
- };
19134
- if (networkPriority !== 'normal') {
19135
- dispatchOptions.overrides = {
19136
- priority: networkPriority
19137
- };
19138
- }
19139
- return buildNetworkSnapshot$q(luvio, config, dispatchOptions);
18326
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$q, undefined, false);
19140
18327
  }
19141
18328
  function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
19142
18329
  const { luvio, config } = context;
@@ -19259,13 +18446,13 @@ function createResourceRequest$p(config) {
19259
18446
  };
19260
18447
  }
19261
18448
 
19262
- const updateDatasetVersion_ConfigPropertyNames = {
19263
- displayName: 'updateDatasetVersion',
19264
- parameters: {
19265
- required: ['datasetIdOrApiName', 'versionId', 'datasetVersion'],
19266
- optional: []
19267
- }
19268
- };
18449
+ const adapterName$p = 'updateDatasetVersion';
18450
+ const updateDatasetVersion_ConfigPropertyMetadata = [
18451
+ generateParamConfigMetadata('datasetIdOrApiName', true),
18452
+ generateParamConfigMetadata('versionId', true),
18453
+ generateParamConfigMetadata('datasetVersion', true),
18454
+ ];
18455
+ const updateDatasetVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, updateDatasetVersion_ConfigPropertyMetadata);
19269
18456
  function createResourceParams$p(config) {
19270
18457
  const resourceParams = {
19271
18458
  urlParams: {
@@ -19744,26 +18931,8 @@ const ingest$h = function XmdRepresentationIngest(input, path, luvio, store, tim
19744
18931
  }
19745
18932
  }
19746
18933
  const key = keyBuilderFromType$7(luvio, input);
19747
- const existingRecord = store.readEntry(key);
19748
18934
  const ttlToUse = TTL$e;
19749
- let incomingRecord = normalize$h(input, store.readEntry(key), {
19750
- fullPath: key,
19751
- parent: path.parent,
19752
- propertyName: path.propertyName,
19753
- ttl: ttlToUse
19754
- });
19755
- if (existingRecord === undefined || equals$G(existingRecord, incomingRecord) === false) {
19756
- luvio.storePublish(key, incomingRecord);
19757
- }
19758
- {
19759
- const storeMetadataParams = {
19760
- ttl: ttlToUse,
19761
- namespace: "WAVE",
19762
- version: VERSION$G,
19763
- representationName: RepresentationType$h,
19764
- };
19765
- luvio.publishStoreMetadata(key, storeMetadataParams);
19766
- }
18935
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "WAVE", VERSION$G, RepresentationType$h, equals$G);
19767
18936
  return createLink(key);
19768
18937
  };
19769
18938
  function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
@@ -19830,13 +18999,13 @@ function createResourceRequest$o(config) {
19830
18999
  };
19831
19000
  }
19832
19001
 
19833
- const getXmd_ConfigPropertyNames = {
19834
- displayName: 'getXmd',
19835
- parameters: {
19836
- required: ['datasetIdOrApiName', 'versionId', 'xmdType'],
19837
- optional: []
19838
- }
19839
- };
19002
+ const adapterName$o = 'getXmd';
19003
+ const getXmd_ConfigPropertyMetadata = [
19004
+ generateParamConfigMetadata('datasetIdOrApiName', true),
19005
+ generateParamConfigMetadata('versionId', true),
19006
+ generateParamConfigMetadata('xmdType', true),
19007
+ ];
19008
+ const getXmd_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getXmd_ConfigPropertyMetadata);
19840
19009
  function createResourceParams$o(config) {
19841
19010
  const resourceParams = {
19842
19011
  urlParams: {
@@ -19904,21 +19073,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
19904
19073
  });
19905
19074
  }
19906
19075
  function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
19907
- const { luvio, config } = context;
19908
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
19909
- const dispatchOptions = {
19910
- resourceRequestContext: {
19911
- requestCorrelator,
19912
- luvioRequestMethod: undefined,
19913
- },
19914
- eventObservers
19915
- };
19916
- if (networkPriority !== 'normal') {
19917
- dispatchOptions.overrides = {
19918
- priority: networkPriority
19919
- };
19920
- }
19921
- return buildNetworkSnapshot$o(luvio, config, dispatchOptions);
19076
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
19922
19077
  }
19923
19078
  function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
19924
19079
  const { luvio, config } = context;
@@ -19980,13 +19135,14 @@ function createResourceRequest$n(config) {
19980
19135
  };
19981
19136
  }
19982
19137
 
19983
- const updateXmd_ConfigPropertyNames = {
19984
- displayName: 'updateXmd',
19985
- parameters: {
19986
- required: ['datasetIdOrApiName', 'versionId', 'xmdType', 'xmd'],
19987
- optional: []
19988
- }
19989
- };
19138
+ const adapterName$n = 'updateXmd';
19139
+ const updateXmd_ConfigPropertyMetadata = [
19140
+ generateParamConfigMetadata('datasetIdOrApiName', true),
19141
+ generateParamConfigMetadata('versionId', true),
19142
+ generateParamConfigMetadata('xmdType', true),
19143
+ generateParamConfigMetadata('xmd', true),
19144
+ ];
19145
+ const updateXmd_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, updateXmd_ConfigPropertyMetadata);
19990
19146
  function createResourceParams$n(config) {
19991
19147
  const resourceParams = {
19992
19148
  urlParams: {
@@ -20473,26 +19629,8 @@ const ingest$g = function DependencyRepresentationIngest(input, path, luvio, sto
20473
19629
  }
20474
19630
  }
20475
19631
  const key = path.fullPath;
20476
- const existingRecord = store.readEntry(key);
20477
19632
  const ttlToUse = TTL$d;
20478
- let incomingRecord = normalize$g(input, store.readEntry(key), {
20479
- fullPath: key,
20480
- parent: path.parent,
20481
- propertyName: path.propertyName,
20482
- ttl: ttlToUse
20483
- });
20484
- if (existingRecord === undefined || equals$E(existingRecord, incomingRecord) === false) {
20485
- luvio.storePublish(key, incomingRecord);
20486
- }
20487
- {
20488
- const storeMetadataParams = {
20489
- ttl: ttlToUse,
20490
- namespace: "WAVE",
20491
- version: VERSION$E,
20492
- representationName: RepresentationType$g,
20493
- };
20494
- luvio.publishStoreMetadata(key, storeMetadataParams);
20495
- }
19633
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "WAVE", VERSION$E, RepresentationType$g, equals$E);
20496
19634
  return createLink(key);
20497
19635
  };
20498
19636
  function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
@@ -20557,13 +19695,11 @@ function createResourceRequest$m(config) {
20557
19695
  };
20558
19696
  }
20559
19697
 
20560
- const getDependencies_ConfigPropertyNames = {
20561
- displayName: 'getDependencies',
20562
- parameters: {
20563
- required: ['assetId'],
20564
- optional: []
20565
- }
20566
- };
19698
+ const adapterName$m = 'getDependencies';
19699
+ const getDependencies_ConfigPropertyMetadata = [
19700
+ generateParamConfigMetadata('assetId', true),
19701
+ ];
19702
+ const getDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getDependencies_ConfigPropertyMetadata);
20567
19703
  function createResourceParams$m(config) {
20568
19704
  const resourceParams = {
20569
19705
  urlParams: {
@@ -20629,21 +19765,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
20629
19765
  });
20630
19766
  }
20631
19767
  function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
20632
- const { luvio, config } = context;
20633
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
20634
- const dispatchOptions = {
20635
- resourceRequestContext: {
20636
- requestCorrelator,
20637
- luvioRequestMethod: undefined,
20638
- },
20639
- eventObservers
20640
- };
20641
- if (networkPriority !== 'normal') {
20642
- dispatchOptions.overrides = {
20643
- priority: networkPriority
20644
- };
20645
- }
20646
- return buildNetworkSnapshot$m(luvio, config, dispatchOptions);
19768
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
20647
19769
  }
20648
19770
  function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
20649
19771
  const { luvio, config } = context;
@@ -20744,7 +19866,7 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
20744
19866
  existing: existing,
20745
19867
  },
20746
19868
  ttl: path.ttl
20747
- }, luvio, store);
19869
+ }, luvio, store, timestamp);
20748
19870
  }
20749
19871
  return input;
20750
19872
  }
@@ -20820,26 +19942,8 @@ const ingest$f = function WaveFolderCollectionRepresentationIngest(input, path,
20820
19942
  }
20821
19943
  }
20822
19944
  const key = path.fullPath;
20823
- const existingRecord = store.readEntry(key);
20824
19945
  const ttlToUse = TTL$c;
20825
- let incomingRecord = normalize$f(input, store.readEntry(key), {
20826
- fullPath: key,
20827
- parent: path.parent,
20828
- propertyName: path.propertyName,
20829
- ttl: ttlToUse
20830
- }, luvio, store);
20831
- if (existingRecord === undefined || equals$D(existingRecord, incomingRecord) === false) {
20832
- luvio.storePublish(key, incomingRecord);
20833
- }
20834
- {
20835
- const storeMetadataParams = {
20836
- ttl: ttlToUse,
20837
- namespace: "WAVE",
20838
- version: VERSION$D,
20839
- representationName: RepresentationType$f,
20840
- };
20841
- luvio.publishStoreMetadata(key, storeMetadataParams);
20842
- }
19946
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "WAVE", VERSION$D, RepresentationType$f, equals$D);
20843
19947
  return createLink(key);
20844
19948
  };
20845
19949
  function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
@@ -20908,13 +20012,18 @@ function createResourceRequest$l(config) {
20908
20012
  };
20909
20013
  }
20910
20014
 
20911
- const getWaveFolders_ConfigPropertyNames = {
20912
- displayName: 'getWaveFolders',
20913
- parameters: {
20914
- required: [],
20915
- optional: ['isPinned', 'mobileOnlyFeaturedAssets', 'page', 'pageSize', 'q', 'scope', 'sort', 'templateSourceId']
20916
- }
20917
- };
20015
+ const adapterName$l = 'getWaveFolders';
20016
+ const getWaveFolders_ConfigPropertyMetadata = [
20017
+ generateParamConfigMetadata('isPinned', false),
20018
+ generateParamConfigMetadata('mobileOnlyFeaturedAssets', false),
20019
+ generateParamConfigMetadata('page', false),
20020
+ generateParamConfigMetadata('pageSize', false),
20021
+ generateParamConfigMetadata('q', false),
20022
+ generateParamConfigMetadata('scope', false),
20023
+ generateParamConfigMetadata('sort', false),
20024
+ generateParamConfigMetadata('templateSourceId', false),
20025
+ ];
20026
+ const getWaveFolders_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getWaveFolders_ConfigPropertyMetadata);
20918
20027
  function createResourceParams$l(config) {
20919
20028
  const resourceParams = {
20920
20029
  queryParams: {
@@ -20987,21 +20096,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
20987
20096
  });
20988
20097
  }
20989
20098
  function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
20990
- const { luvio, config } = context;
20991
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
20992
- const dispatchOptions = {
20993
- resourceRequestContext: {
20994
- requestCorrelator,
20995
- luvioRequestMethod: undefined,
20996
- },
20997
- eventObservers
20998
- };
20999
- if (networkPriority !== 'normal') {
21000
- dispatchOptions.overrides = {
21001
- priority: networkPriority
21002
- };
21003
- }
21004
- return buildNetworkSnapshot$l(luvio, config, dispatchOptions);
20099
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
21005
20100
  }
21006
20101
  function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
21007
20102
  const { luvio, config } = context;
@@ -21213,26 +20308,8 @@ const ingest$e = function WaveAnalyticsLimitCollectionRepresentationIngest(input
21213
20308
  }
21214
20309
  }
21215
20310
  const key = path.fullPath;
21216
- const existingRecord = store.readEntry(key);
21217
20311
  const ttlToUse = TTL$b;
21218
- let incomingRecord = normalize$e(input, store.readEntry(key), {
21219
- fullPath: key,
21220
- parent: path.parent,
21221
- propertyName: path.propertyName,
21222
- ttl: ttlToUse
21223
- });
21224
- if (existingRecord === undefined || equals$B(existingRecord, incomingRecord) === false) {
21225
- luvio.storePublish(key, incomingRecord);
21226
- }
21227
- {
21228
- const storeMetadataParams = {
21229
- ttl: ttlToUse,
21230
- namespace: "WAVE",
21231
- version: VERSION$B,
21232
- representationName: RepresentationType$e,
21233
- };
21234
- luvio.publishStoreMetadata(key, storeMetadataParams);
21235
- }
20312
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "WAVE", VERSION$B, RepresentationType$e, equals$B);
21236
20313
  return createLink(key);
21237
20314
  };
21238
20315
  function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
@@ -21297,13 +20374,12 @@ function createResourceRequest$k(config) {
21297
20374
  };
21298
20375
  }
21299
20376
 
21300
- const getAnalyticsLimits_ConfigPropertyNames = {
21301
- displayName: 'getAnalyticsLimits',
21302
- parameters: {
21303
- required: [],
21304
- optional: ['licenseType', 'types']
21305
- }
21306
- };
20377
+ const adapterName$k = 'getAnalyticsLimits';
20378
+ const getAnalyticsLimits_ConfigPropertyMetadata = [
20379
+ generateParamConfigMetadata('licenseType', false),
20380
+ generateParamConfigMetadata('types', false),
20381
+ ];
20382
+ const getAnalyticsLimits_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getAnalyticsLimits_ConfigPropertyMetadata);
21307
20383
  function createResourceParams$k(config) {
21308
20384
  const resourceParams = {
21309
20385
  queryParams: {
@@ -21372,21 +20448,7 @@ function buildNetworkSnapshot$k(luvio, config, options) {
21372
20448
  });
21373
20449
  }
21374
20450
  function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
21375
- const { luvio, config } = context;
21376
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
21377
- const dispatchOptions = {
21378
- resourceRequestContext: {
21379
- requestCorrelator,
21380
- luvioRequestMethod: undefined,
21381
- },
21382
- eventObservers
21383
- };
21384
- if (networkPriority !== 'normal') {
21385
- dispatchOptions.overrides = {
21386
- priority: networkPriority
21387
- };
21388
- }
21389
- return buildNetworkSnapshot$k(luvio, config, dispatchOptions);
20451
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
21390
20452
  }
21391
20453
  function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
21392
20454
  const { luvio, config } = context;
@@ -21544,26 +20606,8 @@ const ingest$d = function SaqlQueryResultsRepresentationIngest(input, path, luvi
21544
20606
  }
21545
20607
  }
21546
20608
  const key = path.fullPath;
21547
- const existingRecord = store.readEntry(key);
21548
20609
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
21549
- let incomingRecord = normalize$d(input, store.readEntry(key), {
21550
- fullPath: key,
21551
- parent: path.parent,
21552
- propertyName: path.propertyName,
21553
- ttl: ttlToUse
21554
- });
21555
- if (existingRecord === undefined || equals$A(existingRecord, incomingRecord) === false) {
21556
- luvio.storePublish(key, incomingRecord);
21557
- }
21558
- if (ttlToUse !== undefined) {
21559
- const storeMetadataParams = {
21560
- ttl: ttlToUse,
21561
- namespace: "WAVE",
21562
- version: VERSION$A,
21563
- representationName: RepresentationType$d,
21564
- };
21565
- luvio.publishStoreMetadata(key, storeMetadataParams);
21566
- }
20610
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "WAVE", VERSION$A, RepresentationType$d, equals$A);
21567
20611
  return createLink(key);
21568
20612
  };
21569
20613
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -21638,7 +20682,7 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
21638
20682
  existing: existing,
21639
20683
  },
21640
20684
  ttl: path.ttl
21641
- }, luvio, store);
20685
+ }, luvio, store, timestamp);
21642
20686
  return input;
21643
20687
  }
21644
20688
  const select$R = function SaqlQueryResultRepresentationSelect() {
@@ -21693,26 +20737,8 @@ const ingest$c = function SaqlQueryResultRepresentationIngest(input, path, luvio
21693
20737
  }
21694
20738
  }
21695
20739
  const key = path.fullPath;
21696
- const existingRecord = store.readEntry(key);
21697
20740
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
21698
- let incomingRecord = normalize$c(input, store.readEntry(key), {
21699
- fullPath: key,
21700
- parent: path.parent,
21701
- propertyName: path.propertyName,
21702
- ttl: ttlToUse
21703
- }, luvio, store);
21704
- if (existingRecord === undefined || equals$z(existingRecord, incomingRecord) === false) {
21705
- luvio.storePublish(key, incomingRecord);
21706
- }
21707
- if (ttlToUse !== undefined) {
21708
- const storeMetadataParams = {
21709
- ttl: ttlToUse,
21710
- namespace: "WAVE",
21711
- version: VERSION$z,
21712
- representationName: RepresentationType$c,
21713
- };
21714
- luvio.publishStoreMetadata(key, storeMetadataParams);
21715
- }
20741
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "WAVE", VERSION$z, RepresentationType$c, equals$z);
21716
20742
  return createLink(key);
21717
20743
  };
21718
20744
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -21772,13 +20798,11 @@ function createResourceRequest$j(config) {
21772
20798
  };
21773
20799
  }
21774
20800
 
21775
- const executeQuery_ConfigPropertyNames = {
21776
- displayName: 'executeQuery',
21777
- parameters: {
21778
- required: ['query'],
21779
- optional: []
21780
- }
21781
- };
20801
+ const adapterName$j = 'executeQuery';
20802
+ const executeQuery_ConfigPropertyMetadata = [
20803
+ generateParamConfigMetadata('query', true),
20804
+ ];
20805
+ const executeQuery_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, executeQuery_ConfigPropertyMetadata);
21782
20806
  function createResourceParams$j(config) {
21783
20807
  const resourceParams = {
21784
20808
  body: {
@@ -21846,21 +20870,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
21846
20870
  });
21847
20871
  }
21848
20872
  function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
21849
- const { luvio, config } = context;
21850
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
21851
- const dispatchOptions = {
21852
- resourceRequestContext: {
21853
- requestCorrelator,
21854
- luvioRequestMethod: 'get',
21855
- },
21856
- eventObservers
21857
- };
21858
- if (networkPriority !== 'normal') {
21859
- dispatchOptions.overrides = {
21860
- priority: networkPriority
21861
- };
21862
- }
21863
- return buildNetworkSnapshot$j(luvio, config, dispatchOptions);
20873
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, 'get', false);
21864
20874
  }
21865
20875
  function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
21866
20876
  const { luvio, config } = context;
@@ -21982,7 +20992,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
21982
20992
  existing: existing,
21983
20993
  },
21984
20994
  ttl: path.ttl
21985
- }, luvio, store);
20995
+ }, luvio, store, timestamp);
21986
20996
  }
21987
20997
  return input;
21988
20998
  }
@@ -22058,26 +21068,8 @@ const ingest$b = function RecipeCollectionRepresentationIngest(input, path, luvi
22058
21068
  }
22059
21069
  }
22060
21070
  const key = path.fullPath;
22061
- const existingRecord = store.readEntry(key);
22062
21071
  const ttlToUse = TTL$a;
22063
- let incomingRecord = normalize$b(input, store.readEntry(key), {
22064
- fullPath: key,
22065
- parent: path.parent,
22066
- propertyName: path.propertyName,
22067
- ttl: ttlToUse
22068
- }, luvio, store);
22069
- if (existingRecord === undefined || equals$y(existingRecord, incomingRecord) === false) {
22070
- luvio.storePublish(key, incomingRecord);
22071
- }
22072
- {
22073
- const storeMetadataParams = {
22074
- ttl: ttlToUse,
22075
- namespace: "WAVE",
22076
- version: VERSION$y,
22077
- representationName: RepresentationType$b,
22078
- };
22079
- luvio.publishStoreMetadata(key, storeMetadataParams);
22080
- }
21072
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "WAVE", VERSION$y, RepresentationType$b, equals$y);
22081
21073
  return createLink(key);
22082
21074
  };
22083
21075
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -22146,13 +21138,21 @@ function createResourceRequest$i(config) {
22146
21138
  };
22147
21139
  }
22148
21140
 
22149
- const getRecipes_ConfigPropertyNames = {
22150
- displayName: 'getRecipes',
22151
- parameters: {
22152
- required: [],
22153
- optional: ['format', 'lastModifiedAfter', 'lastModifiedBefore', 'licenseType', 'nextScheduledAfter', 'nextScheduledBefore', 'page', 'pageSize', 'q', 'sort', 'status']
22154
- }
22155
- };
21141
+ const adapterName$i = 'getRecipes';
21142
+ const getRecipes_ConfigPropertyMetadata = [
21143
+ generateParamConfigMetadata('format', false),
21144
+ generateParamConfigMetadata('lastModifiedAfter', false),
21145
+ generateParamConfigMetadata('lastModifiedBefore', false),
21146
+ generateParamConfigMetadata('licenseType', false),
21147
+ generateParamConfigMetadata('nextScheduledAfter', false),
21148
+ generateParamConfigMetadata('nextScheduledBefore', false),
21149
+ generateParamConfigMetadata('page', false),
21150
+ generateParamConfigMetadata('pageSize', false),
21151
+ generateParamConfigMetadata('q', false),
21152
+ generateParamConfigMetadata('sort', false),
21153
+ generateParamConfigMetadata('status', false),
21154
+ ];
21155
+ const getRecipes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getRecipes_ConfigPropertyMetadata);
22156
21156
  function createResourceParams$i(config) {
22157
21157
  const resourceParams = {
22158
21158
  queryParams: {
@@ -22230,21 +21230,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
22230
21230
  });
22231
21231
  }
22232
21232
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
22233
- const { luvio, config } = context;
22234
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
22235
- const dispatchOptions = {
22236
- resourceRequestContext: {
22237
- requestCorrelator,
22238
- luvioRequestMethod: undefined,
22239
- },
22240
- eventObservers
22241
- };
22242
- if (networkPriority !== 'normal') {
22243
- dispatchOptions.overrides = {
22244
- priority: networkPriority
22245
- };
22246
- }
22247
- return buildNetworkSnapshot$i(luvio, config, dispatchOptions);
21233
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
22248
21234
  }
22249
21235
  function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
22250
21236
  const { luvio, config } = context;
@@ -22323,13 +21309,12 @@ function createResourceRequest$h(config) {
22323
21309
  };
22324
21310
  }
22325
21311
 
22326
- const getRecipe_ConfigPropertyNames = {
22327
- displayName: 'getRecipe',
22328
- parameters: {
22329
- required: ['id'],
22330
- optional: ['format']
22331
- }
22332
- };
21312
+ const adapterName$h = 'getRecipe';
21313
+ const getRecipe_ConfigPropertyMetadata = [
21314
+ generateParamConfigMetadata('id', true),
21315
+ generateParamConfigMetadata('format', false),
21316
+ ];
21317
+ const getRecipe_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getRecipe_ConfigPropertyMetadata);
22333
21318
  function createResourceParams$h(config) {
22334
21319
  const resourceParams = {
22335
21320
  urlParams: {
@@ -22399,21 +21384,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
22399
21384
  });
22400
21385
  }
22401
21386
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
22402
- const { luvio, config } = context;
22403
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
22404
- const dispatchOptions = {
22405
- resourceRequestContext: {
22406
- requestCorrelator,
22407
- luvioRequestMethod: undefined,
22408
- },
22409
- eventObservers
22410
- };
22411
- if (networkPriority !== 'normal') {
22412
- dispatchOptions.overrides = {
22413
- priority: networkPriority
22414
- };
22415
- }
22416
- return buildNetworkSnapshot$h(luvio, config, dispatchOptions);
21387
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
22417
21388
  }
22418
21389
  function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
22419
21390
  const { luvio, config } = context;
@@ -22469,14 +21440,11 @@ function createResourceRequest$g(config) {
22469
21440
  };
22470
21441
  }
22471
21442
 
22472
- const adapterName$1 = 'deleteRecipe';
22473
- const deleteRecipe_ConfigPropertyNames = {
22474
- displayName: 'deleteRecipe',
22475
- parameters: {
22476
- required: ['id'],
22477
- optional: []
22478
- }
22479
- };
21443
+ const adapterName$g = 'deleteRecipe';
21444
+ const deleteRecipe_ConfigPropertyMetadata = [
21445
+ generateParamConfigMetadata('id', true),
21446
+ ];
21447
+ const deleteRecipe_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, deleteRecipe_ConfigPropertyMetadata);
22480
21448
  function createResourceParams$g(config) {
22481
21449
  const resourceParams = {
22482
21450
  urlParams: {
@@ -22528,7 +21496,7 @@ const deleteRecipeAdapterFactory = (luvio) => {
22528
21496
  const config = validateAdapterConfig$g(untrustedConfig, deleteRecipe_ConfigPropertyNames);
22529
21497
  // Invalid or incomplete config
22530
21498
  if (config === null) {
22531
- throw new Error(`Invalid config for "${adapterName$1}"`);
21499
+ throw new Error(`Invalid config for "${adapterName$g}"`);
22532
21500
  }
22533
21501
  return buildNetworkSnapshot$g(luvio, config);
22534
21502
  };
@@ -23048,13 +22016,14 @@ function createResourceRequest$f(config) {
23048
22016
  };
23049
22017
  }
23050
22018
 
23051
- const updateRecipe_ConfigPropertyNames = {
23052
- displayName: 'updateRecipe',
23053
- parameters: {
23054
- required: ['id', 'recipeObject'],
23055
- optional: ['enableEditorValidation', 'validationContext']
23056
- }
23057
- };
22019
+ const adapterName$f = 'updateRecipe';
22020
+ const updateRecipe_ConfigPropertyMetadata = [
22021
+ generateParamConfigMetadata('id', true),
22022
+ generateParamConfigMetadata('enableEditorValidation', false),
22023
+ generateParamConfigMetadata('validationContext', false),
22024
+ generateParamConfigMetadata('recipeObject', true),
22025
+ ];
22026
+ const updateRecipe_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, updateRecipe_ConfigPropertyMetadata);
23058
22027
  function createResourceParams$f(config) {
23059
22028
  const resourceParams = {
23060
22029
  urlParams: {
@@ -23226,26 +22195,8 @@ const ingest$a = function RecipeNotificationRepresentationIngest(input, path, lu
23226
22195
  }
23227
22196
  }
23228
22197
  const key = keyBuilderFromType$6(luvio, input);
23229
- const existingRecord = store.readEntry(key);
23230
22198
  const ttlToUse = TTL$9;
23231
- let incomingRecord = normalize$a(input, store.readEntry(key), {
23232
- fullPath: key,
23233
- parent: path.parent,
23234
- propertyName: path.propertyName,
23235
- ttl: ttlToUse
23236
- });
23237
- if (existingRecord === undefined || equals$x(existingRecord, incomingRecord) === false) {
23238
- luvio.storePublish(key, incomingRecord);
23239
- }
23240
- {
23241
- const storeMetadataParams = {
23242
- ttl: ttlToUse,
23243
- namespace: "WAVE",
23244
- version: VERSION$x,
23245
- representationName: RepresentationType$a,
23246
- };
23247
- luvio.publishStoreMetadata(key, storeMetadataParams);
23248
- }
22199
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "WAVE", VERSION$x, RepresentationType$a, equals$x);
23249
22200
  return createLink(key);
23250
22201
  };
23251
22202
  function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
@@ -23312,13 +22263,11 @@ function createResourceRequest$e(config) {
23312
22263
  };
23313
22264
  }
23314
22265
 
23315
- const getRecipeNotification_ConfigPropertyNames = {
23316
- displayName: 'getRecipeNotification',
23317
- parameters: {
23318
- required: ['id'],
23319
- optional: []
23320
- }
23321
- };
22266
+ const adapterName$e = 'getRecipeNotification';
22267
+ const getRecipeNotification_ConfigPropertyMetadata = [
22268
+ generateParamConfigMetadata('id', true),
22269
+ ];
22270
+ const getRecipeNotification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getRecipeNotification_ConfigPropertyMetadata);
23322
22271
  function createResourceParams$e(config) {
23323
22272
  const resourceParams = {
23324
22273
  urlParams: {
@@ -23384,21 +22333,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
23384
22333
  });
23385
22334
  }
23386
22335
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
23387
- const { luvio, config } = context;
23388
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
23389
- const dispatchOptions = {
23390
- resourceRequestContext: {
23391
- requestCorrelator,
23392
- luvioRequestMethod: undefined,
23393
- },
23394
- eventObservers
23395
- };
23396
- if (networkPriority !== 'normal') {
23397
- dispatchOptions.overrides = {
23398
- priority: networkPriority
23399
- };
23400
- }
23401
- return buildNetworkSnapshot$e(luvio, config, dispatchOptions);
22336
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
23402
22337
  }
23403
22338
  function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
23404
22339
  const { luvio, config } = context;
@@ -23502,13 +22437,12 @@ function createResourceRequest$d(config) {
23502
22437
  };
23503
22438
  }
23504
22439
 
23505
- const updateRecipeNotification_ConfigPropertyNames = {
23506
- displayName: 'updateRecipeNotification',
23507
- parameters: {
23508
- required: ['id', 'recipeNotification'],
23509
- optional: []
23510
- }
23511
- };
22440
+ const adapterName$d = 'updateRecipeNotification';
22441
+ const updateRecipeNotification_ConfigPropertyMetadata = [
22442
+ generateParamConfigMetadata('id', true),
22443
+ generateParamConfigMetadata('recipeNotification', true),
22444
+ ];
22445
+ const updateRecipeNotification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, updateRecipeNotification_ConfigPropertyMetadata);
23512
22446
  function createResourceParams$d(config) {
23513
22447
  const resourceParams = {
23514
22448
  urlParams: {
@@ -24029,7 +22963,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
24029
22963
  existing: existing,
24030
22964
  },
24031
22965
  ttl: path.ttl
24032
- }, luvio, store);
22966
+ }, luvio, store, timestamp);
24033
22967
  return input;
24034
22968
  }
24035
22969
  const select$G = function ReplicatedDatasetConnectorRepresentationSelect() {
@@ -24383,26 +23317,8 @@ const ingest$9 = function ReplicatedDatasetConnectorRepresentationIngest(input,
24383
23317
  }
24384
23318
  }
24385
23319
  const key = path.fullPath;
24386
- const existingRecord = store.readEntry(key);
24387
23320
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
24388
- let incomingRecord = normalize$9(input, store.readEntry(key), {
24389
- fullPath: key,
24390
- parent: path.parent,
24391
- propertyName: path.propertyName,
24392
- ttl: ttlToUse
24393
- }, luvio, store);
24394
- if (existingRecord === undefined || equals$u(existingRecord, incomingRecord) === false) {
24395
- luvio.storePublish(key, incomingRecord);
24396
- }
24397
- if (ttlToUse !== undefined) {
24398
- const storeMetadataParams = {
24399
- ttl: ttlToUse,
24400
- namespace: "WAVE",
24401
- version: VERSION$u,
24402
- representationName: RepresentationType$9,
24403
- };
24404
- luvio.publishStoreMetadata(key, storeMetadataParams);
24405
- }
23321
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "WAVE", VERSION$u, RepresentationType$9, equals$u);
24406
23322
  return createLink(key);
24407
23323
  };
24408
23324
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -24787,7 +23703,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
24787
23703
  existing: existing,
24788
23704
  },
24789
23705
  ttl: path.ttl
24790
- }, luvio, store);
23706
+ }, luvio, store, timestamp);
24791
23707
  return input;
24792
23708
  }
24793
23709
  const select$F = function ReplicatedDatasetRepresentationSelect() {
@@ -25335,26 +24251,8 @@ const ingest$8 = function ReplicatedDatasetRepresentationIngest(input, path, luv
25335
24251
  }
25336
24252
  }
25337
24253
  const key = keyBuilderFromType$5(luvio, input);
25338
- const existingRecord = store.readEntry(key);
25339
24254
  const ttlToUse = TTL$8;
25340
- let incomingRecord = normalize$8(input, store.readEntry(key), {
25341
- fullPath: key,
25342
- parent: path.parent,
25343
- propertyName: path.propertyName,
25344
- ttl: ttlToUse
25345
- }, luvio, store);
25346
- if (existingRecord === undefined || equals$t(existingRecord, incomingRecord) === false) {
25347
- luvio.storePublish(key, incomingRecord);
25348
- }
25349
- {
25350
- const storeMetadataParams = {
25351
- ttl: ttlToUse,
25352
- namespace: "WAVE",
25353
- version: VERSION$t,
25354
- representationName: RepresentationType$8,
25355
- };
25356
- luvio.publishStoreMetadata(key, storeMetadataParams);
25357
- }
24255
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "WAVE", VERSION$t, RepresentationType$8, equals$t);
25358
24256
  return createLink(key);
25359
24257
  };
25360
24258
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -25411,7 +24309,7 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
25411
24309
  existing: existing,
25412
24310
  },
25413
24311
  ttl: path.ttl
25414
- }, luvio, store);
24312
+ }, luvio, store, timestamp);
25415
24313
  }
25416
24314
  return input;
25417
24315
  }
@@ -25460,26 +24358,8 @@ const ingest$7 = function ReplicatedDatasetCollectionRepresentationIngest(input,
25460
24358
  }
25461
24359
  }
25462
24360
  const key = path.fullPath;
25463
- const existingRecord = store.readEntry(key);
25464
24361
  const ttlToUse = TTL$7;
25465
- let incomingRecord = normalize$7(input, store.readEntry(key), {
25466
- fullPath: key,
25467
- parent: path.parent,
25468
- propertyName: path.propertyName,
25469
- ttl: ttlToUse
25470
- }, luvio, store);
25471
- if (existingRecord === undefined || equals$s(existingRecord, incomingRecord) === false) {
25472
- luvio.storePublish(key, incomingRecord);
25473
- }
25474
- {
25475
- const storeMetadataParams = {
25476
- ttl: ttlToUse,
25477
- namespace: "WAVE",
25478
- version: VERSION$s,
25479
- representationName: RepresentationType$7,
25480
- };
25481
- luvio.publishStoreMetadata(key, storeMetadataParams);
25482
- }
24362
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "WAVE", VERSION$s, RepresentationType$7, equals$s);
25483
24363
  return createLink(key);
25484
24364
  };
25485
24365
  function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
@@ -25548,13 +24428,15 @@ function createResourceRequest$c(config) {
25548
24428
  };
25549
24429
  }
25550
24430
 
25551
- const getReplicatedDatasets_ConfigPropertyNames = {
25552
- displayName: 'getReplicatedDatasets',
25553
- parameters: {
25554
- required: [],
25555
- optional: ['category', 'connector', 'q', 'sourceObject', 'includeLive']
25556
- }
25557
- };
24431
+ const adapterName$c = 'getReplicatedDatasets';
24432
+ const getReplicatedDatasets_ConfigPropertyMetadata = [
24433
+ generateParamConfigMetadata('category', false),
24434
+ generateParamConfigMetadata('connector', false),
24435
+ generateParamConfigMetadata('q', false),
24436
+ generateParamConfigMetadata('sourceObject', false),
24437
+ generateParamConfigMetadata('includeLive', false),
24438
+ ];
24439
+ const getReplicatedDatasets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getReplicatedDatasets_ConfigPropertyMetadata);
25558
24440
  function createResourceParams$c(config) {
25559
24441
  const resourceParams = {
25560
24442
  queryParams: {
@@ -25624,21 +24506,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
25624
24506
  });
25625
24507
  }
25626
24508
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
25627
- const { luvio, config } = context;
25628
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
25629
- const dispatchOptions = {
25630
- resourceRequestContext: {
25631
- requestCorrelator,
25632
- luvioRequestMethod: undefined,
25633
- },
25634
- eventObservers
25635
- };
25636
- if (networkPriority !== 'normal') {
25637
- dispatchOptions.overrides = {
25638
- priority: networkPriority
25639
- };
25640
- }
25641
- return buildNetworkSnapshot$c(luvio, config, dispatchOptions);
24509
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
25642
24510
  }
25643
24511
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
25644
24512
  const { luvio, config } = context;
@@ -25774,13 +24642,11 @@ function createResourceRequest$b(config) {
25774
24642
  };
25775
24643
  }
25776
24644
 
25777
- const createReplicatedDataset_ConfigPropertyNames = {
25778
- displayName: 'createReplicatedDataset',
25779
- parameters: {
25780
- required: ['replicatedDataset'],
25781
- optional: []
25782
- }
25783
- };
24645
+ const adapterName$b = 'createReplicatedDataset';
24646
+ const createReplicatedDataset_ConfigPropertyMetadata = [
24647
+ generateParamConfigMetadata('replicatedDataset', true),
24648
+ ];
24649
+ const createReplicatedDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, createReplicatedDataset_ConfigPropertyMetadata);
25784
24650
  function createResourceParams$b(config) {
25785
24651
  const resourceParams = {
25786
24652
  body: {
@@ -25871,14 +24737,11 @@ function createResourceRequest$a(config) {
25871
24737
  };
25872
24738
  }
25873
24739
 
25874
- const adapterName = 'deleteReplicatedDataset';
25875
- const deleteReplicatedDataset_ConfigPropertyNames = {
25876
- displayName: 'deleteReplicatedDataset',
25877
- parameters: {
25878
- required: ['id'],
25879
- optional: []
25880
- }
25881
- };
24740
+ const adapterName$a = 'deleteReplicatedDataset';
24741
+ const deleteReplicatedDataset_ConfigPropertyMetadata = [
24742
+ generateParamConfigMetadata('id', true),
24743
+ ];
24744
+ const deleteReplicatedDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteReplicatedDataset_ConfigPropertyMetadata);
25882
24745
  function createResourceParams$a(config) {
25883
24746
  const resourceParams = {
25884
24747
  urlParams: {
@@ -25930,7 +24793,7 @@ const deleteReplicatedDatasetAdapterFactory = (luvio) => {
25930
24793
  const config = validateAdapterConfig$a(untrustedConfig, deleteReplicatedDataset_ConfigPropertyNames);
25931
24794
  // Invalid or incomplete config
25932
24795
  if (config === null) {
25933
- throw new Error(`Invalid config for "${adapterName}"`);
24796
+ throw new Error(`Invalid config for "${adapterName$a}"`);
25934
24797
  }
25935
24798
  return buildNetworkSnapshot$a(luvio, config);
25936
24799
  };
@@ -25990,13 +24853,11 @@ function createResourceRequest$9(config) {
25990
24853
  };
25991
24854
  }
25992
24855
 
25993
- const getReplicatedDataset_ConfigPropertyNames = {
25994
- displayName: 'getReplicatedDataset',
25995
- parameters: {
25996
- required: ['id'],
25997
- optional: []
25998
- }
25999
- };
24856
+ const adapterName$9 = 'getReplicatedDataset';
24857
+ const getReplicatedDataset_ConfigPropertyMetadata = [
24858
+ generateParamConfigMetadata('id', true),
24859
+ ];
24860
+ const getReplicatedDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getReplicatedDataset_ConfigPropertyMetadata);
26000
24861
  function createResourceParams$9(config) {
26001
24862
  const resourceParams = {
26002
24863
  urlParams: {
@@ -26062,21 +24923,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
26062
24923
  });
26063
24924
  }
26064
24925
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
26065
- const { luvio, config } = context;
26066
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
26067
- const dispatchOptions = {
26068
- resourceRequestContext: {
26069
- requestCorrelator,
26070
- luvioRequestMethod: undefined,
26071
- },
26072
- eventObservers
26073
- };
26074
- if (networkPriority !== 'normal') {
26075
- dispatchOptions.overrides = {
26076
- priority: networkPriority
26077
- };
26078
- }
26079
- return buildNetworkSnapshot$9(luvio, config, dispatchOptions);
24926
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
26080
24927
  }
26081
24928
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
26082
24929
  const { luvio, config } = context;
@@ -26138,13 +24985,12 @@ function createResourceRequest$8(config) {
26138
24985
  };
26139
24986
  }
26140
24987
 
26141
- const updateReplicatedDataset_ConfigPropertyNames = {
26142
- displayName: 'updateReplicatedDataset',
26143
- parameters: {
26144
- required: ['id', 'replicatedDataset'],
26145
- optional: []
26146
- }
26147
- };
24988
+ const adapterName$8 = 'updateReplicatedDataset';
24989
+ const updateReplicatedDataset_ConfigPropertyMetadata = [
24990
+ generateParamConfigMetadata('id', true),
24991
+ generateParamConfigMetadata('replicatedDataset', true),
24992
+ ];
24993
+ const updateReplicatedDataset_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, updateReplicatedDataset_ConfigPropertyMetadata);
26148
24994
  function createResourceParams$8(config) {
26149
24995
  const resourceParams = {
26150
24996
  urlParams: {
@@ -26318,26 +25164,8 @@ const ingest$6 = function ReplicatedFieldCollectionRepresentationIngest(input, p
26318
25164
  }
26319
25165
  }
26320
25166
  const key = keyBuilderFromType$4(luvio, input);
26321
- const existingRecord = store.readEntry(key);
26322
25167
  const ttlToUse = TTL$6;
26323
- let incomingRecord = normalize$6(input, store.readEntry(key), {
26324
- fullPath: key,
26325
- parent: path.parent,
26326
- propertyName: path.propertyName,
26327
- ttl: ttlToUse
26328
- });
26329
- if (existingRecord === undefined || equals$r(existingRecord, incomingRecord) === false) {
26330
- luvio.storePublish(key, incomingRecord);
26331
- }
26332
- {
26333
- const storeMetadataParams = {
26334
- ttl: ttlToUse,
26335
- namespace: "WAVE",
26336
- version: VERSION$r,
26337
- representationName: RepresentationType$6,
26338
- };
26339
- luvio.publishStoreMetadata(key, storeMetadataParams);
26340
- }
25168
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "WAVE", VERSION$r, RepresentationType$6, equals$r);
26341
25169
  return createLink(key);
26342
25170
  };
26343
25171
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -26404,13 +25232,11 @@ function createResourceRequest$7(config) {
26404
25232
  };
26405
25233
  }
26406
25234
 
26407
- const getReplicatedFields_ConfigPropertyNames = {
26408
- displayName: 'getReplicatedFields',
26409
- parameters: {
26410
- required: ['id'],
26411
- optional: []
26412
- }
26413
- };
25235
+ const adapterName$7 = 'getReplicatedFields';
25236
+ const getReplicatedFields_ConfigPropertyMetadata = [
25237
+ generateParamConfigMetadata('id', true),
25238
+ ];
25239
+ const getReplicatedFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getReplicatedFields_ConfigPropertyMetadata);
26414
25240
  function createResourceParams$7(config) {
26415
25241
  const resourceParams = {
26416
25242
  urlParams: {
@@ -26476,21 +25302,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
26476
25302
  });
26477
25303
  }
26478
25304
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
26479
- const { luvio, config } = context;
26480
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
26481
- const dispatchOptions = {
26482
- resourceRequestContext: {
26483
- requestCorrelator,
26484
- luvioRequestMethod: undefined,
26485
- },
26486
- eventObservers
26487
- };
26488
- if (networkPriority !== 'normal') {
26489
- dispatchOptions.overrides = {
26490
- priority: networkPriority
26491
- };
26492
- }
26493
- return buildNetworkSnapshot$7(luvio, config, dispatchOptions);
25305
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
26494
25306
  }
26495
25307
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
26496
25308
  const { luvio, config } = context;
@@ -26573,13 +25385,12 @@ function createResourceRequest$6(config) {
26573
25385
  };
26574
25386
  }
26575
25387
 
26576
- const updateReplicatedFields_ConfigPropertyNames = {
26577
- displayName: 'updateReplicatedFields',
26578
- parameters: {
26579
- required: ['id', 'replicatedFields'],
26580
- optional: []
26581
- }
26582
- };
25388
+ const adapterName$6 = 'updateReplicatedFields';
25389
+ const updateReplicatedFields_ConfigPropertyMetadata = [
25390
+ generateParamConfigMetadata('id', true),
25391
+ generateParamConfigMetadata('replicatedFields', true),
25392
+ ];
25393
+ const updateReplicatedFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, updateReplicatedFields_ConfigPropertyMetadata);
26583
25394
  function createResourceParams$6(config) {
26584
25395
  const resourceParams = {
26585
25396
  urlParams: {
@@ -27159,26 +25970,8 @@ const ingest$5 = function DatasetCoverageRepresentationIngest(input, path, luvio
27159
25970
  }
27160
25971
  }
27161
25972
  const key = path.fullPath;
27162
- const existingRecord = store.readEntry(key);
27163
25973
  const ttlToUse = TTL$5;
27164
- let incomingRecord = normalize$5(input, store.readEntry(key), {
27165
- fullPath: key,
27166
- parent: path.parent,
27167
- propertyName: path.propertyName,
27168
- ttl: ttlToUse
27169
- });
27170
- if (existingRecord === undefined || equals$l(existingRecord, incomingRecord) === false) {
27171
- luvio.storePublish(key, incomingRecord);
27172
- }
27173
- {
27174
- const storeMetadataParams = {
27175
- ttl: ttlToUse,
27176
- namespace: "WAVE",
27177
- version: VERSION$l,
27178
- representationName: RepresentationType$5,
27179
- };
27180
- luvio.publishStoreMetadata(key, storeMetadataParams);
27181
- }
25974
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "WAVE", VERSION$l, RepresentationType$5, equals$l);
27182
25975
  return createLink(key);
27183
25976
  };
27184
25977
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
@@ -27243,13 +26036,12 @@ function createResourceRequest$5(config) {
27243
26036
  };
27244
26037
  }
27245
26038
 
27246
- const getSecurityCoverageDatasetVersion_ConfigPropertyNames = {
27247
- displayName: 'getSecurityCoverageDatasetVersion',
27248
- parameters: {
27249
- required: ['datasetIdOrApiName', 'versionId'],
27250
- optional: []
27251
- }
27252
- };
26039
+ const adapterName$5 = 'getSecurityCoverageDatasetVersion';
26040
+ const getSecurityCoverageDatasetVersion_ConfigPropertyMetadata = [
26041
+ generateParamConfigMetadata('datasetIdOrApiName', true),
26042
+ generateParamConfigMetadata('versionId', true),
26043
+ ];
26044
+ const getSecurityCoverageDatasetVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSecurityCoverageDatasetVersion_ConfigPropertyMetadata);
27253
26045
  function createResourceParams$5(config) {
27254
26046
  const resourceParams = {
27255
26047
  urlParams: {
@@ -27316,21 +26108,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
27316
26108
  });
27317
26109
  }
27318
26110
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
27319
- const { luvio, config } = context;
27320
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
27321
- const dispatchOptions = {
27322
- resourceRequestContext: {
27323
- requestCorrelator,
27324
- luvioRequestMethod: undefined,
27325
- },
27326
- eventObservers
27327
- };
27328
- if (networkPriority !== 'normal') {
27329
- dispatchOptions.overrides = {
27330
- priority: networkPriority
27331
- };
27332
- }
27333
- return buildNetworkSnapshot$5(luvio, config, dispatchOptions);
26111
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
27334
26112
  }
27335
26113
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
27336
26114
  const { luvio, config } = context;
@@ -28504,26 +27282,8 @@ const ingest$4 = function TemplateRepresentationIngest(input, path, luvio, store
28504
27282
  }
28505
27283
  }
28506
27284
  const key = keyBuilderFromType$3(luvio, input);
28507
- const existingRecord = store.readEntry(key);
28508
27285
  const ttlToUse = TTL$4;
28509
- let incomingRecord = normalize$4(input, store.readEntry(key), {
28510
- fullPath: key,
28511
- parent: path.parent,
28512
- propertyName: path.propertyName,
28513
- ttl: ttlToUse
28514
- });
28515
- if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
28516
- luvio.storePublish(key, incomingRecord);
28517
- }
28518
- {
28519
- const storeMetadataParams = {
28520
- ttl: ttlToUse,
28521
- namespace: "WAVE",
28522
- version: VERSION$e,
28523
- representationName: RepresentationType$4,
28524
- };
28525
- luvio.publishStoreMetadata(key, storeMetadataParams);
28526
- }
27286
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "WAVE", VERSION$e, RepresentationType$4, equals$e);
28527
27287
  return createLink(key);
28528
27288
  };
28529
27289
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
@@ -28574,7 +27334,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
28574
27334
  existing: existing,
28575
27335
  },
28576
27336
  ttl: path.ttl
28577
- }, luvio, store);
27337
+ }, luvio, store, timestamp);
28578
27338
  }
28579
27339
  return input;
28580
27340
  }
@@ -28614,26 +27374,8 @@ const ingest$3 = function TemplateCollectionRepresentationIngest(input, path, lu
28614
27374
  }
28615
27375
  }
28616
27376
  const key = path.fullPath;
28617
- const existingRecord = store.readEntry(key);
28618
27377
  const ttlToUse = TTL$3;
28619
- let incomingRecord = normalize$3(input, store.readEntry(key), {
28620
- fullPath: key,
28621
- parent: path.parent,
28622
- propertyName: path.propertyName,
28623
- ttl: ttlToUse
28624
- }, luvio, store);
28625
- if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
28626
- luvio.storePublish(key, incomingRecord);
28627
- }
28628
- {
28629
- const storeMetadataParams = {
28630
- ttl: ttlToUse,
28631
- namespace: "WAVE",
28632
- version: VERSION$d,
28633
- representationName: RepresentationType$3,
28634
- };
28635
- luvio.publishStoreMetadata(key, storeMetadataParams);
28636
- }
27378
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "WAVE", VERSION$d, RepresentationType$3, equals$d);
28637
27379
  return createLink(key);
28638
27380
  };
28639
27381
  function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
@@ -28702,13 +27444,12 @@ function createResourceRequest$4(config) {
28702
27444
  };
28703
27445
  }
28704
27446
 
28705
- const getWaveTemplates_ConfigPropertyNames = {
28706
- displayName: 'getWaveTemplates',
28707
- parameters: {
28708
- required: [],
28709
- optional: ['options', 'type']
28710
- }
28711
- };
27447
+ const adapterName$4 = 'getWaveTemplates';
27448
+ const getWaveTemplates_ConfigPropertyMetadata = [
27449
+ generateParamConfigMetadata('options', false),
27450
+ generateParamConfigMetadata('type', false),
27451
+ ];
27452
+ const getWaveTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getWaveTemplates_ConfigPropertyMetadata);
28712
27453
  function createResourceParams$4(config) {
28713
27454
  const resourceParams = {
28714
27455
  queryParams: {
@@ -28775,21 +27516,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
28775
27516
  });
28776
27517
  }
28777
27518
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
28778
- const { luvio, config } = context;
28779
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
28780
- const dispatchOptions = {
28781
- resourceRequestContext: {
28782
- requestCorrelator,
28783
- luvioRequestMethod: undefined,
28784
- },
28785
- eventObservers
28786
- };
28787
- if (networkPriority !== 'normal') {
28788
- dispatchOptions.overrides = {
28789
- priority: networkPriority
28790
- };
28791
- }
28792
- return buildNetworkSnapshot$4(luvio, config, dispatchOptions);
27519
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
28793
27520
  }
28794
27521
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
28795
27522
  const { luvio, config } = context;
@@ -28910,13 +27637,12 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
28910
27637
  return buildCachedSnapshotCachePolicy$4(context, storeLookup);
28911
27638
  }
28912
27639
 
28913
- const getWaveTemplate_ConfigPropertyNames = {
28914
- displayName: 'getWaveTemplate',
28915
- parameters: {
28916
- required: ['templateIdOrApiName'],
28917
- optional: ['options']
28918
- }
28919
- };
27640
+ const adapterName$3 = 'getWaveTemplate';
27641
+ const getWaveTemplate_ConfigPropertyMetadata = [
27642
+ generateParamConfigMetadata('templateIdOrApiName', true),
27643
+ generateParamConfigMetadata('options', false),
27644
+ ];
27645
+ const getWaveTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getWaveTemplate_ConfigPropertyMetadata);
28920
27646
  function createResourceParams$3(config) {
28921
27647
  const resourceParams = {
28922
27648
  urlParams: {
@@ -28986,21 +27712,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
28986
27712
  });
28987
27713
  }
28988
27714
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
28989
- const { luvio, config } = context;
28990
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
28991
- const dispatchOptions = {
28992
- resourceRequestContext: {
28993
- requestCorrelator,
28994
- luvioRequestMethod: undefined,
28995
- },
28996
- eventObservers
28997
- };
28998
- if (networkPriority !== 'normal') {
28999
- dispatchOptions.overrides = {
29000
- priority: networkPriority
29001
- };
29002
- }
29003
- return buildNetworkSnapshot$3(luvio, config, dispatchOptions);
27715
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
29004
27716
  }
29005
27717
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
29006
27718
  const { luvio, config } = context;
@@ -30164,26 +28876,8 @@ const ingest$2 = function TemplateConfigurationRepresentationIngest(input, path,
30164
28876
  }
30165
28877
  }
30166
28878
  const key = keyBuilderFromType$2(luvio, input);
30167
- const existingRecord = store.readEntry(key);
30168
28879
  const ttlToUse = TTL$2;
30169
- let incomingRecord = normalize$2(input, store.readEntry(key), {
30170
- fullPath: key,
30171
- parent: path.parent,
30172
- propertyName: path.propertyName,
30173
- ttl: ttlToUse
30174
- });
30175
- if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
30176
- luvio.storePublish(key, incomingRecord);
30177
- }
30178
- {
30179
- const storeMetadataParams = {
30180
- ttl: ttlToUse,
30181
- namespace: "WAVE",
30182
- version: VERSION$3,
30183
- representationName: RepresentationType$2,
30184
- };
30185
- luvio.publishStoreMetadata(key, storeMetadataParams);
30186
- }
28880
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "WAVE", VERSION$3, RepresentationType$2, equals$3);
30187
28881
  return createLink(key);
30188
28882
  };
30189
28883
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -30287,13 +28981,13 @@ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
30287
28981
  return buildCachedSnapshotCachePolicy$2(context, storeLookup);
30288
28982
  }
30289
28983
 
30290
- const getWaveTemplateConfig_ConfigPropertyNames = {
30291
- displayName: 'getWaveTemplateConfig',
30292
- parameters: {
30293
- required: ['templateIdOrApiName'],
30294
- optional: ['disableApex', 'options']
30295
- }
30296
- };
28984
+ const adapterName$2 = 'getWaveTemplateConfig';
28985
+ const getWaveTemplateConfig_ConfigPropertyMetadata = [
28986
+ generateParamConfigMetadata('templateIdOrApiName', true),
28987
+ generateParamConfigMetadata('disableApex', false),
28988
+ generateParamConfigMetadata('options', false),
28989
+ ];
28990
+ const getWaveTemplateConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getWaveTemplateConfig_ConfigPropertyMetadata);
30297
28991
  function createResourceParams$2(config) {
30298
28992
  const resourceParams = {
30299
28993
  urlParams: {
@@ -30364,21 +29058,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
30364
29058
  });
30365
29059
  }
30366
29060
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
30367
- const { luvio, config } = context;
30368
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
30369
- const dispatchOptions = {
30370
- resourceRequestContext: {
30371
- requestCorrelator,
30372
- luvioRequestMethod: undefined,
30373
- },
30374
- eventObservers
30375
- };
30376
- if (networkPriority !== 'normal') {
30377
- dispatchOptions.overrides = {
30378
- priority: networkPriority
30379
- };
30380
- }
30381
- return buildNetworkSnapshot$2(luvio, config, dispatchOptions);
29061
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
30382
29062
  }
30383
29063
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
30384
29064
  const { luvio, config } = context;
@@ -30544,26 +29224,8 @@ const ingest$1 = function TemplateReleaseNotesRepresentationIngest(input, path,
30544
29224
  }
30545
29225
  }
30546
29226
  const key = keyBuilderFromType$1(luvio, input);
30547
- const existingRecord = store.readEntry(key);
30548
29227
  const ttlToUse = TTL$1;
30549
- let incomingRecord = normalize$1(input, store.readEntry(key), {
30550
- fullPath: key,
30551
- parent: path.parent,
30552
- propertyName: path.propertyName,
30553
- ttl: ttlToUse
30554
- });
30555
- if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
30556
- luvio.storePublish(key, incomingRecord);
30557
- }
30558
- {
30559
- const storeMetadataParams = {
30560
- ttl: ttlToUse,
30561
- namespace: "WAVE",
30562
- version: VERSION$2,
30563
- representationName: RepresentationType$1,
30564
- };
30565
- luvio.publishStoreMetadata(key, storeMetadataParams);
30566
- }
29228
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "WAVE", VERSION$2, RepresentationType$1, equals$2);
30567
29229
  return createLink(key);
30568
29230
  };
30569
29231
  function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
@@ -30667,13 +29329,11 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
30667
29329
  return buildCachedSnapshotCachePolicy(context, storeLookup);
30668
29330
  }
30669
29331
 
30670
- const getWaveTemplateReleaseNotes_ConfigPropertyNames = {
30671
- displayName: 'getWaveTemplateReleaseNotes',
30672
- parameters: {
30673
- required: ['templateIdOrApiName'],
30674
- optional: []
30675
- }
30676
- };
29332
+ const adapterName$1 = 'getWaveTemplateReleaseNotes';
29333
+ const getWaveTemplateReleaseNotes_ConfigPropertyMetadata = [
29334
+ generateParamConfigMetadata('templateIdOrApiName', true),
29335
+ ];
29336
+ const getWaveTemplateReleaseNotes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getWaveTemplateReleaseNotes_ConfigPropertyMetadata);
30677
29337
  function createResourceParams$1(config) {
30678
29338
  const resourceParams = {
30679
29339
  urlParams: {
@@ -30739,21 +29399,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
30739
29399
  });
30740
29400
  }
30741
29401
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
30742
- const { luvio, config } = context;
30743
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
30744
- const dispatchOptions = {
30745
- resourceRequestContext: {
30746
- requestCorrelator,
30747
- luvioRequestMethod: undefined,
30748
- },
30749
- eventObservers
30750
- };
30751
- if (networkPriority !== 'normal') {
30752
- dispatchOptions.overrides = {
30753
- priority: networkPriority
30754
- };
30755
- }
30756
- return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
29402
+ return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
30757
29403
  }
30758
29404
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
30759
29405
  const { luvio, config } = context;
@@ -31125,26 +29771,8 @@ const ingest = function TemplateValidateRepresentationIngest(input, path, luvio,
31125
29771
  }
31126
29772
  }
31127
29773
  const key = keyBuilderFromType(luvio, input);
31128
- const existingRecord = store.readEntry(key);
31129
29774
  const ttlToUse = TTL;
31130
- let incomingRecord = normalize(input, store.readEntry(key), {
31131
- fullPath: key,
31132
- parent: path.parent,
31133
- propertyName: path.propertyName,
31134
- ttl: ttlToUse
31135
- });
31136
- if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
31137
- luvio.storePublish(key, incomingRecord);
31138
- }
31139
- {
31140
- const storeMetadataParams = {
31141
- ttl: ttlToUse,
31142
- namespace: "WAVE",
31143
- version: VERSION,
31144
- representationName: RepresentationType,
31145
- };
31146
- luvio.publishStoreMetadata(key, storeMetadataParams);
31147
- }
29775
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "WAVE", VERSION, RepresentationType, equals);
31148
29776
  return createLink(key);
31149
29777
  };
31150
29778
  function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
@@ -31194,13 +29822,12 @@ function createResourceRequest(config) {
31194
29822
  };
31195
29823
  }
31196
29824
 
31197
- const validateWaveTemplate_ConfigPropertyNames = {
31198
- displayName: 'validateWaveTemplate',
31199
- parameters: {
31200
- required: ['templateIdOrApiName', 'templateValidateParam'],
31201
- optional: []
31202
- }
31203
- };
29825
+ const adapterName = 'validateWaveTemplate';
29826
+ const validateWaveTemplate_ConfigPropertyMetadata = [
29827
+ generateParamConfigMetadata('templateIdOrApiName', true),
29828
+ generateParamConfigMetadata('templateValidateParam', true),
29829
+ ];
29830
+ const validateWaveTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, validateWaveTemplate_ConfigPropertyMetadata);
31204
29831
  function createResourceParams(config) {
31205
29832
  const resourceParams = {
31206
29833
  urlParams: {