@salesforce/lds-adapters-industries-rule-builder 1.212.1 → 1.213.1

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 (30) hide show
  1. package/dist/es/es2018/industries-rule-builder.js +208 -839
  2. package/dist/es/es2018/types/src/generated/adapters/activateCalcProcedureVersion.d.ts +3 -2
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
  4. package/dist/es/es2018/types/src/generated/adapters/createExpressionSet.d.ts +3 -2
  5. package/dist/es/es2018/types/src/generated/adapters/createObjectAlias.d.ts +3 -2
  6. package/dist/es/es2018/types/src/generated/adapters/deleteExpressionSet.d.ts +3 -2
  7. package/dist/es/es2018/types/src/generated/adapters/getBusinessKnowledgeModel.d.ts +3 -2
  8. package/dist/es/es2018/types/src/generated/adapters/getCalcProcDetails.d.ts +3 -2
  9. package/dist/es/es2018/types/src/generated/adapters/getCalcProcVersionDetails.d.ts +3 -2
  10. package/dist/es/es2018/types/src/generated/adapters/getDecisionMatrixDetails.d.ts +3 -2
  11. package/dist/es/es2018/types/src/generated/adapters/getDecisionTableDetails.d.ts +3 -2
  12. package/dist/es/es2018/types/src/generated/adapters/getExplainabilityLogs.d.ts +3 -2
  13. package/dist/es/es2018/types/src/generated/adapters/getExpressionSet.d.ts +3 -2
  14. package/dist/es/es2018/types/src/generated/adapters/getExpressionSetAliasMetaInfo.d.ts +3 -2
  15. package/dist/es/es2018/types/src/generated/adapters/getLookupTables.d.ts +3 -2
  16. package/dist/es/es2018/types/src/generated/adapters/getMessageTemplateDetail.d.ts +3 -2
  17. package/dist/es/es2018/types/src/generated/adapters/getProcessType.d.ts +3 -2
  18. package/dist/es/es2018/types/src/generated/adapters/getSimulationInputVariables.d.ts +3 -2
  19. package/dist/es/es2018/types/src/generated/adapters/getUsageTypes.d.ts +3 -2
  20. package/dist/es/es2018/types/src/generated/adapters/postCalcProcVersionDetails.d.ts +3 -2
  21. package/dist/es/es2018/types/src/generated/adapters/postInvokeExpressionSet.d.ts +3 -2
  22. package/dist/es/es2018/types/src/generated/adapters/searchCalculationProcedure.d.ts +3 -2
  23. package/dist/es/es2018/types/src/generated/adapters/searchDecisionMatrixByName.d.ts +3 -2
  24. package/dist/es/es2018/types/src/generated/adapters/searchDecisionTableByName.d.ts +3 -2
  25. package/dist/es/es2018/types/src/generated/adapters/searchMessageTemplates.d.ts +3 -2
  26. package/dist/es/es2018/types/src/generated/adapters/simulateEvaluationService.d.ts +3 -2
  27. package/dist/es/es2018/types/src/generated/adapters/updateAliasField.d.ts +3 -2
  28. package/dist/es/es2018/types/src/generated/adapters/updateExpressionSet.d.ts +3 -2
  29. package/package.json +1 -1
  30. package/sfdc/index.js +210 -841
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars, typeCheckArrayOfScalars } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, typeCheckScalars, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$h, typeCheckArrayOfScalars } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -48,6 +48,24 @@ const snapshotRefreshOptions = {
48
48
  },
49
49
  }
50
50
  };
51
+ function generateParamConfigMetadata(name, required, coerceFn) {
52
+ return {
53
+ name,
54
+ required,
55
+ coerceFn,
56
+ };
57
+ }
58
+ function buildAdapterValidationConfig(displayName, paramsMeta) {
59
+ const required = paramsMeta.filter(p => p.required).map(p => p.name);
60
+ const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
61
+ return {
62
+ displayName,
63
+ parameters: {
64
+ required,
65
+ optional,
66
+ }
67
+ };
68
+ }
51
69
  const keyPrefix = 'interaction';
52
70
 
53
71
  const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
@@ -856,26 +874,8 @@ const ingest$k = function ExpressionSetOutputRepresentationIngest(input, path, l
856
874
  }
857
875
  }
858
876
  const key = keyBuilderFromType$6(luvio, input);
859
- const existingRecord = store.readEntry(key);
860
877
  const ttlToUse = TTL$h;
861
- let incomingRecord = normalize$k(input, store.readEntry(key), {
862
- fullPath: key,
863
- parent: path.parent,
864
- propertyName: path.propertyName,
865
- ttl: ttlToUse
866
- });
867
- if (existingRecord === undefined || equals$l(existingRecord, incomingRecord) === false) {
868
- luvio.storePublish(key, incomingRecord);
869
- }
870
- {
871
- const storeMetadataParams = {
872
- ttl: ttlToUse,
873
- namespace: "interaction",
874
- version: VERSION$l,
875
- representationName: RepresentationType$k,
876
- };
877
- luvio.publishStoreMetadata(key, storeMetadataParams);
878
- }
878
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "interaction", VERSION$l, RepresentationType$k, equals$l);
879
879
  return createLink(key);
880
880
  };
881
881
  function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
@@ -925,13 +925,11 @@ function createResourceRequest$p(config) {
925
925
  };
926
926
  }
927
927
 
928
- const createExpressionSet_ConfigPropertyNames = {
929
- displayName: 'createExpressionSet',
930
- parameters: {
931
- required: ['esInputRepresentationObject'],
932
- optional: []
933
- }
934
- };
928
+ const adapterName$p = 'createExpressionSet';
929
+ const createExpressionSet_ConfigPropertyMetadata = [
930
+ generateParamConfigMetadata('esInputRepresentationObject', true),
931
+ ];
932
+ const createExpressionSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, createExpressionSet_ConfigPropertyMetadata);
935
933
  function createResourceParams$p(config) {
936
934
  const resourceParams = {
937
935
  body: {
@@ -1022,14 +1020,11 @@ function createResourceRequest$o(config) {
1022
1020
  };
1023
1021
  }
1024
1022
 
1025
- const adapterName = 'deleteExpressionSet';
1026
- const deleteExpressionSet_ConfigPropertyNames = {
1027
- displayName: 'deleteExpressionSet',
1028
- parameters: {
1029
- required: ['expressionSetId'],
1030
- optional: []
1031
- }
1032
- };
1023
+ const adapterName$o = 'deleteExpressionSet';
1024
+ const deleteExpressionSet_ConfigPropertyMetadata = [
1025
+ generateParamConfigMetadata('expressionSetId', true),
1026
+ ];
1027
+ const deleteExpressionSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, deleteExpressionSet_ConfigPropertyMetadata);
1033
1028
  function createResourceParams$o(config) {
1034
1029
  const resourceParams = {
1035
1030
  urlParams: {
@@ -1081,7 +1076,7 @@ const deleteExpressionSetAdapterFactory = (luvio) => {
1081
1076
  const config = validateAdapterConfig$o(untrustedConfig, deleteExpressionSet_ConfigPropertyNames);
1082
1077
  // Invalid or incomplete config
1083
1078
  if (config === null) {
1084
- throw new Error(`Invalid config for "${adapterName}"`);
1079
+ throw new Error(`Invalid config for "${adapterName$o}"`);
1085
1080
  }
1086
1081
  return buildNetworkSnapshot$o(luvio, config);
1087
1082
  };
@@ -1141,13 +1136,11 @@ function createResourceRequest$n(config) {
1141
1136
  };
1142
1137
  }
1143
1138
 
1144
- const getExpressionSet_ConfigPropertyNames = {
1145
- displayName: 'getExpressionSet',
1146
- parameters: {
1147
- required: ['expressionSetId'],
1148
- optional: []
1149
- }
1150
- };
1139
+ const adapterName$n = 'getExpressionSet';
1140
+ const getExpressionSet_ConfigPropertyMetadata = [
1141
+ generateParamConfigMetadata('expressionSetId', true),
1142
+ ];
1143
+ const getExpressionSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getExpressionSet_ConfigPropertyMetadata);
1151
1144
  function createResourceParams$n(config) {
1152
1145
  const resourceParams = {
1153
1146
  urlParams: {
@@ -1213,21 +1206,7 @@ function buildNetworkSnapshot$n(luvio, config, options) {
1213
1206
  });
1214
1207
  }
1215
1208
  function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
1216
- const { luvio, config } = context;
1217
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
1218
- const dispatchOptions = {
1219
- resourceRequestContext: {
1220
- requestCorrelator,
1221
- luvioRequestMethod: undefined,
1222
- },
1223
- eventObservers
1224
- };
1225
- if (networkPriority !== 'normal') {
1226
- dispatchOptions.overrides = {
1227
- priority: networkPriority
1228
- };
1229
- }
1230
- return buildNetworkSnapshot$n(luvio, config, dispatchOptions);
1209
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$n, undefined, false);
1231
1210
  }
1232
1211
  function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
1233
1212
  const { luvio, config } = context;
@@ -1289,13 +1268,12 @@ function createResourceRequest$m(config) {
1289
1268
  };
1290
1269
  }
1291
1270
 
1292
- const updateExpressionSet_ConfigPropertyNames = {
1293
- displayName: 'updateExpressionSet',
1294
- parameters: {
1295
- required: ['expressionSetId', 'esInputRepresentationObject'],
1296
- optional: []
1297
- }
1298
- };
1271
+ const adapterName$m = 'updateExpressionSet';
1272
+ const updateExpressionSet_ConfigPropertyMetadata = [
1273
+ generateParamConfigMetadata('expressionSetId', true),
1274
+ generateParamConfigMetadata('esInputRepresentationObject', true),
1275
+ ];
1276
+ const updateExpressionSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, updateExpressionSet_ConfigPropertyMetadata);
1299
1277
  function createResourceParams$m(config) {
1300
1278
  const resourceParams = {
1301
1279
  urlParams: {
@@ -1463,26 +1441,8 @@ const ingest$j = function ExplainabilityLogsRepresentationIngest(input, path, lu
1463
1441
  }
1464
1442
  }
1465
1443
  const key = path.fullPath;
1466
- const existingRecord = store.readEntry(key);
1467
1444
  const ttlToUse = TTL$g;
1468
- let incomingRecord = normalize$j(input, store.readEntry(key), {
1469
- fullPath: key,
1470
- parent: path.parent,
1471
- propertyName: path.propertyName,
1472
- ttl: ttlToUse
1473
- });
1474
- if (existingRecord === undefined || equals$k(existingRecord, incomingRecord) === false) {
1475
- luvio.storePublish(key, incomingRecord);
1476
- }
1477
- {
1478
- const storeMetadataParams = {
1479
- ttl: ttlToUse,
1480
- namespace: "interaction",
1481
- version: VERSION$k,
1482
- representationName: RepresentationType$j,
1483
- };
1484
- luvio.publishStoreMetadata(key, storeMetadataParams);
1485
- }
1445
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "interaction", VERSION$k, RepresentationType$j, equals$k);
1486
1446
  return createLink(key);
1487
1447
  };
1488
1448
  function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
@@ -1547,13 +1507,18 @@ function createResourceRequest$l(config) {
1547
1507
  };
1548
1508
  }
1549
1509
 
1550
- const getExplainabilityLogs_ConfigPropertyNames = {
1551
- displayName: 'getExplainabilityLogs',
1552
- parameters: {
1553
- required: [],
1554
- optional: ['actionContextCode', 'applicationSubType', 'applicationType', 'createdAfter', 'createdBefore', 'pageSize', 'processType', 'queryMore']
1555
- }
1556
- };
1510
+ const adapterName$l = 'getExplainabilityLogs';
1511
+ const getExplainabilityLogs_ConfigPropertyMetadata = [
1512
+ generateParamConfigMetadata('actionContextCode', false),
1513
+ generateParamConfigMetadata('applicationSubType', false),
1514
+ generateParamConfigMetadata('applicationType', false),
1515
+ generateParamConfigMetadata('createdAfter', false),
1516
+ generateParamConfigMetadata('createdBefore', false),
1517
+ generateParamConfigMetadata('pageSize', false),
1518
+ generateParamConfigMetadata('processType', false),
1519
+ generateParamConfigMetadata('queryMore', false),
1520
+ ];
1521
+ const getExplainabilityLogs_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getExplainabilityLogs_ConfigPropertyMetadata);
1557
1522
  function createResourceParams$l(config) {
1558
1523
  const resourceParams = {
1559
1524
  queryParams: {
@@ -1626,21 +1591,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
1626
1591
  });
1627
1592
  }
1628
1593
  function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
1629
- const { luvio, config } = context;
1630
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
1631
- const dispatchOptions = {
1632
- resourceRequestContext: {
1633
- requestCorrelator,
1634
- luvioRequestMethod: undefined,
1635
- },
1636
- eventObservers
1637
- };
1638
- if (networkPriority !== 'normal') {
1639
- dispatchOptions.overrides = {
1640
- priority: networkPriority
1641
- };
1642
- }
1643
- return buildNetworkSnapshot$l(luvio, config, dispatchOptions);
1594
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
1644
1595
  }
1645
1596
  function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
1646
1597
  const { luvio, config } = context;
@@ -1731,26 +1682,8 @@ const ingest$i = function MessageTemplateDetailOutputRepresentationIngest(input,
1731
1682
  }
1732
1683
  }
1733
1684
  const key = path.fullPath;
1734
- const existingRecord = store.readEntry(key);
1735
1685
  const ttlToUse = TTL$f;
1736
- let incomingRecord = normalize$i(input, store.readEntry(key), {
1737
- fullPath: key,
1738
- parent: path.parent,
1739
- propertyName: path.propertyName,
1740
- ttl: ttlToUse
1741
- });
1742
- if (existingRecord === undefined || equals$j(existingRecord, incomingRecord) === false) {
1743
- luvio.storePublish(key, incomingRecord);
1744
- }
1745
- {
1746
- const storeMetadataParams = {
1747
- ttl: ttlToUse,
1748
- namespace: "interaction",
1749
- version: VERSION$j,
1750
- representationName: RepresentationType$i,
1751
- };
1752
- luvio.publishStoreMetadata(key, storeMetadataParams);
1753
- }
1686
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "interaction", VERSION$j, RepresentationType$i, equals$j);
1754
1687
  return createLink(key);
1755
1688
  };
1756
1689
  function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
@@ -1837,26 +1770,8 @@ const ingest$h = function MessageTemplatesListOutputRepresentationIngest(input,
1837
1770
  }
1838
1771
  }
1839
1772
  const key = path.fullPath;
1840
- const existingRecord = store.readEntry(key);
1841
1773
  const ttlToUse = TTL$e;
1842
- let incomingRecord = normalize$h(input, store.readEntry(key), {
1843
- fullPath: key,
1844
- parent: path.parent,
1845
- propertyName: path.propertyName,
1846
- ttl: ttlToUse
1847
- });
1848
- if (existingRecord === undefined || equals$i(existingRecord, incomingRecord) === false) {
1849
- luvio.storePublish(key, incomingRecord);
1850
- }
1851
- {
1852
- const storeMetadataParams = {
1853
- ttl: ttlToUse,
1854
- namespace: "interaction",
1855
- version: VERSION$i,
1856
- representationName: RepresentationType$h,
1857
- };
1858
- luvio.publishStoreMetadata(key, storeMetadataParams);
1859
- }
1774
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "interaction", VERSION$i, RepresentationType$h, equals$i);
1860
1775
  return createLink(key);
1861
1776
  };
1862
1777
  function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
@@ -1921,13 +1836,14 @@ function createResourceRequest$k(config) {
1921
1836
  };
1922
1837
  }
1923
1838
 
1924
- const searchMessageTemplates_ConfigPropertyNames = {
1925
- displayName: 'searchMessageTemplates',
1926
- parameters: {
1927
- required: [],
1928
- optional: ['isDefault', 'messageType', 'searchKey', 'stepType']
1929
- }
1930
- };
1839
+ const adapterName$k = 'searchMessageTemplates';
1840
+ const searchMessageTemplates_ConfigPropertyMetadata = [
1841
+ generateParamConfigMetadata('isDefault', false),
1842
+ generateParamConfigMetadata('messageType', false),
1843
+ generateParamConfigMetadata('searchKey', false),
1844
+ generateParamConfigMetadata('stepType', false),
1845
+ ];
1846
+ const searchMessageTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, searchMessageTemplates_ConfigPropertyMetadata);
1931
1847
  function createResourceParams$k(config) {
1932
1848
  const resourceParams = {
1933
1849
  queryParams: {
@@ -1996,21 +1912,7 @@ function buildNetworkSnapshot$k(luvio, config, options) {
1996
1912
  });
1997
1913
  }
1998
1914
  function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
1999
- const { luvio, config } = context;
2000
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
2001
- const dispatchOptions = {
2002
- resourceRequestContext: {
2003
- requestCorrelator,
2004
- luvioRequestMethod: undefined,
2005
- },
2006
- eventObservers
2007
- };
2008
- if (networkPriority !== 'normal') {
2009
- dispatchOptions.overrides = {
2010
- priority: networkPriority
2011
- };
2012
- }
2013
- return buildNetworkSnapshot$k(luvio, config, dispatchOptions);
1915
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
2014
1916
  }
2015
1917
  function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
2016
1918
  const { luvio, config } = context;
@@ -2087,13 +1989,11 @@ function createResourceRequest$j(config) {
2087
1989
  };
2088
1990
  }
2089
1991
 
2090
- const getMessageTemplateDetail_ConfigPropertyNames = {
2091
- displayName: 'getMessageTemplateDetail',
2092
- parameters: {
2093
- required: ['messageTemplateId'],
2094
- optional: []
2095
- }
2096
- };
1992
+ const adapterName$j = 'getMessageTemplateDetail';
1993
+ const getMessageTemplateDetail_ConfigPropertyMetadata = [
1994
+ generateParamConfigMetadata('messageTemplateId', true),
1995
+ ];
1996
+ const getMessageTemplateDetail_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getMessageTemplateDetail_ConfigPropertyMetadata);
2097
1997
  function createResourceParams$j(config) {
2098
1998
  const resourceParams = {
2099
1999
  urlParams: {
@@ -2159,21 +2059,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
2159
2059
  });
2160
2060
  }
2161
2061
  function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
2162
- const { luvio, config } = context;
2163
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
2164
- const dispatchOptions = {
2165
- resourceRequestContext: {
2166
- requestCorrelator,
2167
- luvioRequestMethod: undefined,
2168
- },
2169
- eventObservers
2170
- };
2171
- if (networkPriority !== 'normal') {
2172
- dispatchOptions.overrides = {
2173
- priority: networkPriority
2174
- };
2175
- }
2176
- return buildNetworkSnapshot$j(luvio, config, dispatchOptions);
2062
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
2177
2063
  }
2178
2064
  function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
2179
2065
  const { luvio, config } = context;
@@ -2684,26 +2570,8 @@ const ingest$g = function SimulationEvalServiceOutputRepresentationIngest(input,
2684
2570
  }
2685
2571
  }
2686
2572
  const key = keyBuilderFromType$5(luvio, input);
2687
- const existingRecord = store.readEntry(key);
2688
2573
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
2689
- let incomingRecord = normalize$g(input, store.readEntry(key), {
2690
- fullPath: key,
2691
- parent: path.parent,
2692
- propertyName: path.propertyName,
2693
- ttl: ttlToUse
2694
- });
2695
- if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
2696
- luvio.storePublish(key, incomingRecord);
2697
- }
2698
- if (ttlToUse !== undefined) {
2699
- const storeMetadataParams = {
2700
- ttl: ttlToUse,
2701
- namespace: "interaction",
2702
- version: VERSION$h,
2703
- representationName: RepresentationType$g,
2704
- };
2705
- luvio.publishStoreMetadata(key, storeMetadataParams);
2706
- }
2574
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "interaction", VERSION$h, RepresentationType$g, equals$h);
2707
2575
  return createLink(key);
2708
2576
  };
2709
2577
  function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
@@ -2799,26 +2667,8 @@ const ingest$f = function BusinessRulesResultRepresentationIngest(input, path, l
2799
2667
  }
2800
2668
  }
2801
2669
  const key = keyBuilderFromType$4(luvio, input);
2802
- const existingRecord = store.readEntry(key);
2803
2670
  const ttlToUse = TTL$d;
2804
- let incomingRecord = normalize$f(input, store.readEntry(key), {
2805
- fullPath: key,
2806
- parent: path.parent,
2807
- propertyName: path.propertyName,
2808
- ttl: ttlToUse
2809
- });
2810
- if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
2811
- luvio.storePublish(key, incomingRecord);
2812
- }
2813
- {
2814
- const storeMetadataParams = {
2815
- ttl: ttlToUse,
2816
- namespace: "interaction",
2817
- version: VERSION$g,
2818
- representationName: RepresentationType$f,
2819
- };
2820
- luvio.publishStoreMetadata(key, storeMetadataParams);
2821
- }
2671
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "interaction", VERSION$g, RepresentationType$f, equals$g);
2822
2672
  return createLink(key);
2823
2673
  };
2824
2674
  function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
@@ -2868,13 +2718,12 @@ function createResourceRequest$i(config) {
2868
2718
  };
2869
2719
  }
2870
2720
 
2871
- const postInvokeExpressionSet_ConfigPropertyNames = {
2872
- displayName: 'postInvokeExpressionSet',
2873
- parameters: {
2874
- required: ['expressionSetName', 'ruleInput'],
2875
- optional: []
2876
- }
2877
- };
2721
+ const adapterName$i = 'postInvokeExpressionSet';
2722
+ const postInvokeExpressionSet_ConfigPropertyMetadata = [
2723
+ generateParamConfigMetadata('expressionSetName', true),
2724
+ generateParamConfigMetadata('ruleInput', true),
2725
+ ];
2726
+ const postInvokeExpressionSet_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postInvokeExpressionSet_ConfigPropertyMetadata);
2878
2727
  function createResourceParams$i(config) {
2879
2728
  const resourceParams = {
2880
2729
  urlParams: {
@@ -3238,26 +3087,8 @@ const ingest$e = function LookupTablesResultListRepresentationIngest(input, path
3238
3087
  }
3239
3088
  }
3240
3089
  const key = path.fullPath;
3241
- const existingRecord = store.readEntry(key);
3242
3090
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
3243
- let incomingRecord = normalize$e(input, store.readEntry(key), {
3244
- fullPath: key,
3245
- parent: path.parent,
3246
- propertyName: path.propertyName,
3247
- ttl: ttlToUse
3248
- });
3249
- if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
3250
- luvio.storePublish(key, incomingRecord);
3251
- }
3252
- if (ttlToUse !== undefined) {
3253
- const storeMetadataParams = {
3254
- ttl: ttlToUse,
3255
- namespace: "interaction",
3256
- version: VERSION$e,
3257
- representationName: RepresentationType$e,
3258
- };
3259
- luvio.publishStoreMetadata(key, storeMetadataParams);
3260
- }
3091
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "interaction", VERSION$e, RepresentationType$e, equals$e);
3261
3092
  return createLink(key);
3262
3093
  };
3263
3094
  function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
@@ -3316,13 +3147,13 @@ function createResourceRequest$h(config) {
3316
3147
  };
3317
3148
  }
3318
3149
 
3319
- const getLookupTables_ConfigPropertyNames = {
3320
- displayName: 'getLookupTables',
3321
- parameters: {
3322
- required: ['searchKey', 'usageType'],
3323
- optional: ['lookupTypes']
3324
- }
3325
- };
3150
+ const adapterName$h = 'getLookupTables';
3151
+ const getLookupTables_ConfigPropertyMetadata = [
3152
+ generateParamConfigMetadata('lookupTypes', false),
3153
+ generateParamConfigMetadata('searchKey', true),
3154
+ generateParamConfigMetadata('usageType', true),
3155
+ ];
3156
+ const getLookupTables_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getLookupTables_ConfigPropertyMetadata);
3326
3157
  function createResourceParams$h(config) {
3327
3158
  const resourceParams = {
3328
3159
  queryParams: {
@@ -3392,21 +3223,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
3392
3223
  });
3393
3224
  }
3394
3225
  function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
3395
- const { luvio, config } = context;
3396
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
3397
- const dispatchOptions = {
3398
- resourceRequestContext: {
3399
- requestCorrelator,
3400
- luvioRequestMethod: undefined,
3401
- },
3402
- eventObservers
3403
- };
3404
- if (networkPriority !== 'normal') {
3405
- dispatchOptions.overrides = {
3406
- priority: networkPriority
3407
- };
3408
- }
3409
- return buildNetworkSnapshot$h(luvio, config, dispatchOptions);
3226
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
3410
3227
  }
3411
3228
  function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
3412
3229
  const { luvio, config } = context;
@@ -3535,26 +3352,8 @@ const ingest$d = function DecisionTableResultListRepresentationIngest(input, pat
3535
3352
  }
3536
3353
  }
3537
3354
  const key = path.fullPath;
3538
- const existingRecord = store.readEntry(key);
3539
3355
  const ttlToUse = TTL$c;
3540
- let incomingRecord = normalize$d(input, store.readEntry(key), {
3541
- fullPath: key,
3542
- parent: path.parent,
3543
- propertyName: path.propertyName,
3544
- ttl: ttlToUse
3545
- });
3546
- if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
3547
- luvio.storePublish(key, incomingRecord);
3548
- }
3549
- {
3550
- const storeMetadataParams = {
3551
- ttl: ttlToUse,
3552
- namespace: "interaction",
3553
- version: VERSION$d,
3554
- representationName: RepresentationType$d,
3555
- };
3556
- luvio.publishStoreMetadata(key, storeMetadataParams);
3557
- }
3356
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "interaction", VERSION$d, RepresentationType$d, equals$d);
3558
3357
  return createLink(key);
3559
3358
  };
3560
3359
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -3619,13 +3418,11 @@ function createResourceRequest$g(config) {
3619
3418
  };
3620
3419
  }
3621
3420
 
3622
- const searchDecisionTableByName_ConfigPropertyNames = {
3623
- displayName: 'searchDecisionTableByName',
3624
- parameters: {
3625
- required: ['searchKey'],
3626
- optional: []
3627
- }
3628
- };
3421
+ const adapterName$g = 'searchDecisionTableByName';
3422
+ const searchDecisionTableByName_ConfigPropertyMetadata = [
3423
+ generateParamConfigMetadata('searchKey', true),
3424
+ ];
3425
+ const searchDecisionTableByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, searchDecisionTableByName_ConfigPropertyMetadata);
3629
3426
  function createResourceParams$g(config) {
3630
3427
  const resourceParams = {
3631
3428
  queryParams: {
@@ -3691,21 +3488,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
3691
3488
  });
3692
3489
  }
3693
3490
  function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
3694
- const { luvio, config } = context;
3695
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
3696
- const dispatchOptions = {
3697
- resourceRequestContext: {
3698
- requestCorrelator,
3699
- luvioRequestMethod: undefined,
3700
- },
3701
- eventObservers
3702
- };
3703
- if (networkPriority !== 'normal') {
3704
- dispatchOptions.overrides = {
3705
- priority: networkPriority
3706
- };
3707
- }
3708
- return buildNetworkSnapshot$g(luvio, config, dispatchOptions);
3491
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
3709
3492
  }
3710
3493
  function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
3711
3494
  const { luvio, config } = context;
@@ -3875,26 +3658,8 @@ const ingest$c = function DecisionTableResultRepresentationIngest(input, path, l
3875
3658
  }
3876
3659
  }
3877
3660
  const key = path.fullPath;
3878
- const existingRecord = store.readEntry(key);
3879
3661
  const ttlToUse = TTL$b;
3880
- let incomingRecord = normalize$c(input, store.readEntry(key), {
3881
- fullPath: key,
3882
- parent: path.parent,
3883
- propertyName: path.propertyName,
3884
- ttl: ttlToUse
3885
- });
3886
- if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
3887
- luvio.storePublish(key, incomingRecord);
3888
- }
3889
- {
3890
- const storeMetadataParams = {
3891
- ttl: ttlToUse,
3892
- namespace: "interaction",
3893
- version: VERSION$c,
3894
- representationName: RepresentationType$c,
3895
- };
3896
- luvio.publishStoreMetadata(key, storeMetadataParams);
3897
- }
3662
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "interaction", VERSION$c, RepresentationType$c, equals$c);
3898
3663
  return createLink(key);
3899
3664
  };
3900
3665
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -3959,13 +3724,12 @@ function createResourceRequest$f(config) {
3959
3724
  };
3960
3725
  }
3961
3726
 
3962
- const getDecisionTableDetails_ConfigPropertyNames = {
3963
- displayName: 'getDecisionTableDetails',
3964
- parameters: {
3965
- required: ['decisionTableId'],
3966
- optional: ['isBuilderApi']
3967
- }
3968
- };
3727
+ const adapterName$f = 'getDecisionTableDetails';
3728
+ const getDecisionTableDetails_ConfigPropertyMetadata = [
3729
+ generateParamConfigMetadata('decisionTableId', true),
3730
+ generateParamConfigMetadata('isBuilderApi', false),
3731
+ ];
3732
+ const getDecisionTableDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getDecisionTableDetails_ConfigPropertyMetadata);
3969
3733
  function createResourceParams$f(config) {
3970
3734
  const resourceParams = {
3971
3735
  urlParams: {
@@ -4035,21 +3799,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
4035
3799
  });
4036
3800
  }
4037
3801
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
4038
- const { luvio, config } = context;
4039
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
4040
- const dispatchOptions = {
4041
- resourceRequestContext: {
4042
- requestCorrelator,
4043
- luvioRequestMethod: undefined,
4044
- },
4045
- eventObservers
4046
- };
4047
- if (networkPriority !== 'normal') {
4048
- dispatchOptions.overrides = {
4049
- priority: networkPriority
4050
- };
4051
- }
4052
- return buildNetworkSnapshot$f(luvio, config, dispatchOptions);
3802
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
4053
3803
  }
4054
3804
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
4055
3805
  const { luvio, config } = context;
@@ -4185,26 +3935,8 @@ const ingest$b = function CalculationProcedureListOutputRepresentationIngest(inp
4185
3935
  }
4186
3936
  }
4187
3937
  const key = path.fullPath;
4188
- const existingRecord = store.readEntry(key);
4189
3938
  const ttlToUse = TTL$a;
4190
- let incomingRecord = normalize$b(input, store.readEntry(key), {
4191
- fullPath: key,
4192
- parent: path.parent,
4193
- propertyName: path.propertyName,
4194
- ttl: ttlToUse
4195
- });
4196
- if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
4197
- luvio.storePublish(key, incomingRecord);
4198
- }
4199
- {
4200
- const storeMetadataParams = {
4201
- ttl: ttlToUse,
4202
- namespace: "interaction",
4203
- version: VERSION$b,
4204
- representationName: RepresentationType$b,
4205
- };
4206
- luvio.publishStoreMetadata(key, storeMetadataParams);
4207
- }
3939
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "interaction", VERSION$b, RepresentationType$b, equals$b);
4208
3940
  return createLink(key);
4209
3941
  };
4210
3942
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -4269,13 +4001,12 @@ function createResourceRequest$e(config) {
4269
4001
  };
4270
4002
  }
4271
4003
 
4272
- const searchCalculationProcedure_ConfigPropertyNames = {
4273
- displayName: 'searchCalculationProcedure',
4274
- parameters: {
4275
- required: ['searchKey'],
4276
- optional: ['usageType']
4277
- }
4278
- };
4004
+ const adapterName$e = 'searchCalculationProcedure';
4005
+ const searchCalculationProcedure_ConfigPropertyMetadata = [
4006
+ generateParamConfigMetadata('searchKey', true),
4007
+ generateParamConfigMetadata('usageType', false),
4008
+ ];
4009
+ const searchCalculationProcedure_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, searchCalculationProcedure_ConfigPropertyMetadata);
4279
4010
  function createResourceParams$e(config) {
4280
4011
  const resourceParams = {
4281
4012
  queryParams: {
@@ -4342,21 +4073,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
4342
4073
  });
4343
4074
  }
4344
4075
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
4345
- const { luvio, config } = context;
4346
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
4347
- const dispatchOptions = {
4348
- resourceRequestContext: {
4349
- requestCorrelator,
4350
- luvioRequestMethod: undefined,
4351
- },
4352
- eventObservers
4353
- };
4354
- if (networkPriority !== 'normal') {
4355
- dispatchOptions.overrides = {
4356
- priority: networkPriority
4357
- };
4358
- }
4359
- return buildNetworkSnapshot$e(luvio, config, dispatchOptions);
4076
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
4360
4077
  }
4361
4078
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
4362
4079
  const { luvio, config } = context;
@@ -5531,26 +5248,8 @@ const ingest$a = function CalculationProcedureVersionDefinitionOutputRepresentat
5531
5248
  }
5532
5249
  }
5533
5250
  const key = keyBuilderFromType$3(luvio, input);
5534
- const existingRecord = store.readEntry(key);
5535
5251
  const ttlToUse = TTL$9;
5536
- let incomingRecord = normalize$a(input, store.readEntry(key), {
5537
- fullPath: key,
5538
- parent: path.parent,
5539
- propertyName: path.propertyName,
5540
- ttl: ttlToUse
5541
- });
5542
- if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
5543
- luvio.storePublish(key, incomingRecord);
5544
- }
5545
- {
5546
- const storeMetadataParams = {
5547
- ttl: ttlToUse,
5548
- namespace: "interaction",
5549
- version: VERSION$a,
5550
- representationName: RepresentationType$a,
5551
- };
5552
- luvio.publishStoreMetadata(key, storeMetadataParams);
5553
- }
5252
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "interaction", VERSION$a, RepresentationType$a, equals$a);
5554
5253
  return createLink(key);
5555
5254
  };
5556
5255
  function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
@@ -5600,13 +5299,11 @@ function createResourceRequest$d(config) {
5600
5299
  };
5601
5300
  }
5602
5301
 
5603
- const postCalcProcVersionDetails_ConfigPropertyNames = {
5604
- displayName: 'postCalcProcVersionDetails',
5605
- parameters: {
5606
- required: ['calculationProcedureDefinition'],
5607
- optional: []
5608
- }
5609
- };
5302
+ const adapterName$d = 'postCalcProcVersionDetails';
5303
+ const postCalcProcVersionDetails_ConfigPropertyMetadata = [
5304
+ generateParamConfigMetadata('calculationProcedureDefinition', true),
5305
+ ];
5306
+ const postCalcProcVersionDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, postCalcProcVersionDetails_ConfigPropertyMetadata);
5610
5307
  function createResourceParams$d(config) {
5611
5308
  const resourceParams = {
5612
5309
  body: {
@@ -5720,13 +5417,11 @@ function createResourceRequest$c(config) {
5720
5417
  };
5721
5418
  }
5722
5419
 
5723
- const getCalcProcVersionDetails_ConfigPropertyNames = {
5724
- displayName: 'getCalcProcVersionDetails',
5725
- parameters: {
5726
- required: ['id'],
5727
- optional: []
5728
- }
5729
- };
5420
+ const adapterName$c = 'getCalcProcVersionDetails';
5421
+ const getCalcProcVersionDetails_ConfigPropertyMetadata = [
5422
+ generateParamConfigMetadata('id', true),
5423
+ ];
5424
+ const getCalcProcVersionDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getCalcProcVersionDetails_ConfigPropertyMetadata);
5730
5425
  function createResourceParams$c(config) {
5731
5426
  const resourceParams = {
5732
5427
  urlParams: {
@@ -5792,21 +5487,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
5792
5487
  });
5793
5488
  }
5794
5489
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
5795
- const { luvio, config } = context;
5796
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
5797
- const dispatchOptions = {
5798
- resourceRequestContext: {
5799
- requestCorrelator,
5800
- luvioRequestMethod: undefined,
5801
- },
5802
- eventObservers
5803
- };
5804
- if (networkPriority !== 'normal') {
5805
- dispatchOptions.overrides = {
5806
- priority: networkPriority
5807
- };
5808
- }
5809
- return buildNetworkSnapshot$c(luvio, config, dispatchOptions);
5490
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
5810
5491
  }
5811
5492
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
5812
5493
  const { luvio, config } = context;
@@ -5901,26 +5582,8 @@ const ingest$9 = function CalculationProcedureActivationOutputRepresentationInge
5901
5582
  }
5902
5583
  }
5903
5584
  const key = keyBuilderFromType$2(luvio, input);
5904
- const existingRecord = store.readEntry(key);
5905
5585
  const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
5906
- let incomingRecord = normalize$9(input, store.readEntry(key), {
5907
- fullPath: key,
5908
- parent: path.parent,
5909
- propertyName: path.propertyName,
5910
- ttl: ttlToUse
5911
- });
5912
- if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
5913
- luvio.storePublish(key, incomingRecord);
5914
- }
5915
- if (ttlToUse !== undefined) {
5916
- const storeMetadataParams = {
5917
- ttl: ttlToUse,
5918
- namespace: "interaction",
5919
- version: VERSION$9,
5920
- representationName: RepresentationType$9,
5921
- };
5922
- luvio.publishStoreMetadata(key, storeMetadataParams);
5923
- }
5586
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "interaction", VERSION$9, RepresentationType$9, equals$9);
5924
5587
  return createLink(key);
5925
5588
  };
5926
5589
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -5970,13 +5633,12 @@ function createResourceRequest$b(config) {
5970
5633
  };
5971
5634
  }
5972
5635
 
5973
- const activateCalcProcedureVersion_ConfigPropertyNames = {
5974
- displayName: 'activateCalcProcedureVersion',
5975
- parameters: {
5976
- required: ['id'],
5977
- optional: ['action']
5978
- }
5979
- };
5636
+ const adapterName$b = 'activateCalcProcedureVersion';
5637
+ const activateCalcProcedureVersion_ConfigPropertyMetadata = [
5638
+ generateParamConfigMetadata('id', true),
5639
+ generateParamConfigMetadata('action', false),
5640
+ ];
5641
+ const activateCalcProcedureVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, activateCalcProcedureVersion_ConfigPropertyMetadata);
5980
5642
  function createResourceParams$b(config) {
5981
5643
  const resourceParams = {
5982
5644
  urlParams: {
@@ -6186,26 +5848,8 @@ const ingest$8 = function CalculationProcedureDetailOutputRepresentationIngest(i
6186
5848
  }
6187
5849
  }
6188
5850
  const key = path.fullPath;
6189
- const existingRecord = store.readEntry(key);
6190
5851
  const ttlToUse = TTL$8;
6191
- let incomingRecord = normalize$8(input, store.readEntry(key), {
6192
- fullPath: key,
6193
- parent: path.parent,
6194
- propertyName: path.propertyName,
6195
- ttl: ttlToUse
6196
- });
6197
- if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
6198
- luvio.storePublish(key, incomingRecord);
6199
- }
6200
- {
6201
- const storeMetadataParams = {
6202
- ttl: ttlToUse,
6203
- namespace: "interaction",
6204
- version: VERSION$8,
6205
- representationName: RepresentationType$8,
6206
- };
6207
- luvio.publishStoreMetadata(key, storeMetadataParams);
6208
- }
5852
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "interaction", VERSION$8, RepresentationType$8, equals$8);
6209
5853
  return createLink(key);
6210
5854
  };
6211
5855
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -6270,13 +5914,11 @@ function createResourceRequest$a(config) {
6270
5914
  };
6271
5915
  }
6272
5916
 
6273
- const getCalcProcDetails_ConfigPropertyNames = {
6274
- displayName: 'getCalcProcDetails',
6275
- parameters: {
6276
- required: ['id'],
6277
- optional: []
6278
- }
6279
- };
5917
+ const adapterName$a = 'getCalcProcDetails';
5918
+ const getCalcProcDetails_ConfigPropertyMetadata = [
5919
+ generateParamConfigMetadata('id', true),
5920
+ ];
5921
+ const getCalcProcDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getCalcProcDetails_ConfigPropertyMetadata);
6280
5922
  function createResourceParams$a(config) {
6281
5923
  const resourceParams = {
6282
5924
  urlParams: {
@@ -6342,21 +5984,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
6342
5984
  });
6343
5985
  }
6344
5986
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
6345
- const { luvio, config } = context;
6346
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
6347
- const dispatchOptions = {
6348
- resourceRequestContext: {
6349
- requestCorrelator,
6350
- luvioRequestMethod: undefined,
6351
- },
6352
- eventObservers
6353
- };
6354
- if (networkPriority !== 'normal') {
6355
- dispatchOptions.overrides = {
6356
- priority: networkPriority
6357
- };
6358
- }
6359
- return buildNetworkSnapshot$a(luvio, config, dispatchOptions);
5987
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
6360
5988
  }
6361
5989
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
6362
5990
  const { luvio, config } = context;
@@ -6496,26 +6124,8 @@ const ingest$7 = function SimulationInputVariablesResultListRepresentationIngest
6496
6124
  }
6497
6125
  }
6498
6126
  const key = path.fullPath;
6499
- const existingRecord = store.readEntry(key);
6500
6127
  const ttlToUse = TTL$7;
6501
- let incomingRecord = normalize$7(input, store.readEntry(key), {
6502
- fullPath: key,
6503
- parent: path.parent,
6504
- propertyName: path.propertyName,
6505
- ttl: ttlToUse
6506
- });
6507
- if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
6508
- luvio.storePublish(key, incomingRecord);
6509
- }
6510
- {
6511
- const storeMetadataParams = {
6512
- ttl: ttlToUse,
6513
- namespace: "interaction",
6514
- version: VERSION$7,
6515
- representationName: RepresentationType$7,
6516
- };
6517
- luvio.publishStoreMetadata(key, storeMetadataParams);
6518
- }
6128
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "interaction", VERSION$7, RepresentationType$7, equals$7);
6519
6129
  return createLink(key);
6520
6130
  };
6521
6131
  function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
@@ -6580,13 +6190,12 @@ function createResourceRequest$9(config) {
6580
6190
  };
6581
6191
  }
6582
6192
 
6583
- const getSimulationInputVariables_ConfigPropertyNames = {
6584
- displayName: 'getSimulationInputVariables',
6585
- parameters: {
6586
- required: ['id'],
6587
- optional: ['inputVariables']
6588
- }
6589
- };
6193
+ const adapterName$9 = 'getSimulationInputVariables';
6194
+ const getSimulationInputVariables_ConfigPropertyMetadata = [
6195
+ generateParamConfigMetadata('id', true),
6196
+ generateParamConfigMetadata('inputVariables', false),
6197
+ ];
6198
+ const getSimulationInputVariables_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSimulationInputVariables_ConfigPropertyMetadata);
6590
6199
  function createResourceParams$9(config) {
6591
6200
  const resourceParams = {
6592
6201
  urlParams: {
@@ -6656,21 +6265,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
6656
6265
  });
6657
6266
  }
6658
6267
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
6659
- const { luvio, config } = context;
6660
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
6661
- const dispatchOptions = {
6662
- resourceRequestContext: {
6663
- requestCorrelator,
6664
- luvioRequestMethod: undefined,
6665
- },
6666
- eventObservers
6667
- };
6668
- if (networkPriority !== 'normal') {
6669
- dispatchOptions.overrides = {
6670
- priority: networkPriority
6671
- };
6672
- }
6673
- return buildNetworkSnapshot$9(luvio, config, dispatchOptions);
6268
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
6674
6269
  }
6675
6270
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
6676
6271
  const { luvio, config } = context;
@@ -6841,13 +6436,13 @@ function createResourceRequest$8(config) {
6841
6436
  };
6842
6437
  }
6843
6438
 
6844
- const simulateEvaluationService_ConfigPropertyNames = {
6845
- displayName: 'simulateEvaluationService',
6846
- parameters: {
6847
- required: ['id', 'simulationInput'],
6848
- optional: ['shouldSaveSimulationInput']
6849
- }
6850
- };
6439
+ const adapterName$8 = 'simulateEvaluationService';
6440
+ const simulateEvaluationService_ConfigPropertyMetadata = [
6441
+ generateParamConfigMetadata('id', true),
6442
+ generateParamConfigMetadata('simulationInput', true),
6443
+ generateParamConfigMetadata('shouldSaveSimulationInput', false),
6444
+ ];
6445
+ const simulateEvaluationService_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, simulateEvaluationService_ConfigPropertyMetadata);
6851
6446
  function createResourceParams$8(config) {
6852
6447
  const resourceParams = {
6853
6448
  urlParams: {
@@ -7021,26 +6616,8 @@ const ingest$6 = function DecisionMatrixResultListRepresentationIngest(input, pa
7021
6616
  }
7022
6617
  }
7023
6618
  const key = path.fullPath;
7024
- const existingRecord = store.readEntry(key);
7025
6619
  const ttlToUse = TTL$6;
7026
- let incomingRecord = normalize$6(input, store.readEntry(key), {
7027
- fullPath: key,
7028
- parent: path.parent,
7029
- propertyName: path.propertyName,
7030
- ttl: ttlToUse
7031
- });
7032
- if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
7033
- luvio.storePublish(key, incomingRecord);
7034
- }
7035
- {
7036
- const storeMetadataParams = {
7037
- ttl: ttlToUse,
7038
- namespace: "interaction",
7039
- version: VERSION$6,
7040
- representationName: RepresentationType$6,
7041
- };
7042
- luvio.publishStoreMetadata(key, storeMetadataParams);
7043
- }
6620
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "interaction", VERSION$6, RepresentationType$6, equals$6);
7044
6621
  return createLink(key);
7045
6622
  };
7046
6623
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -7105,13 +6682,11 @@ function createResourceRequest$7(config) {
7105
6682
  };
7106
6683
  }
7107
6684
 
7108
- const searchDecisionMatrixByName_ConfigPropertyNames = {
7109
- displayName: 'searchDecisionMatrixByName',
7110
- parameters: {
7111
- required: ['searchKey'],
7112
- optional: []
7113
- }
7114
- };
6685
+ const adapterName$7 = 'searchDecisionMatrixByName';
6686
+ const searchDecisionMatrixByName_ConfigPropertyMetadata = [
6687
+ generateParamConfigMetadata('searchKey', true),
6688
+ ];
6689
+ const searchDecisionMatrixByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, searchDecisionMatrixByName_ConfigPropertyMetadata);
7115
6690
  function createResourceParams$7(config) {
7116
6691
  const resourceParams = {
7117
6692
  queryParams: {
@@ -7177,21 +6752,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
7177
6752
  });
7178
6753
  }
7179
6754
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
7180
- const { luvio, config } = context;
7181
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
7182
- const dispatchOptions = {
7183
- resourceRequestContext: {
7184
- requestCorrelator,
7185
- luvioRequestMethod: undefined,
7186
- },
7187
- eventObservers
7188
- };
7189
- if (networkPriority !== 'normal') {
7190
- dispatchOptions.overrides = {
7191
- priority: networkPriority
7192
- };
7193
- }
7194
- return buildNetworkSnapshot$7(luvio, config, dispatchOptions);
6755
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
7195
6756
  }
7196
6757
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
7197
6758
  const { luvio, config } = context;
@@ -7359,26 +6920,8 @@ const ingest$5 = function DecisionMatrixResultRepresentationIngest(input, path,
7359
6920
  }
7360
6921
  }
7361
6922
  const key = keyBuilderFromType$1(luvio, input);
7362
- const existingRecord = store.readEntry(key);
7363
6923
  const ttlToUse = TTL$5;
7364
- let incomingRecord = normalize$5(input, store.readEntry(key), {
7365
- fullPath: key,
7366
- parent: path.parent,
7367
- propertyName: path.propertyName,
7368
- ttl: ttlToUse
7369
- });
7370
- if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
7371
- luvio.storePublish(key, incomingRecord);
7372
- }
7373
- {
7374
- const storeMetadataParams = {
7375
- ttl: ttlToUse,
7376
- namespace: "interaction",
7377
- version: VERSION$5,
7378
- representationName: RepresentationType$5,
7379
- };
7380
- luvio.publishStoreMetadata(key, storeMetadataParams);
7381
- }
6924
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "interaction", VERSION$5, RepresentationType$5, equals$5);
7382
6925
  return createLink(key);
7383
6926
  };
7384
6927
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
@@ -7445,13 +6988,11 @@ function createResourceRequest$6(config) {
7445
6988
  };
7446
6989
  }
7447
6990
 
7448
- const getDecisionMatrixDetails_ConfigPropertyNames = {
7449
- displayName: 'getDecisionMatrixDetails',
7450
- parameters: {
7451
- required: ['matrixId'],
7452
- optional: []
7453
- }
7454
- };
6991
+ const adapterName$6 = 'getDecisionMatrixDetails';
6992
+ const getDecisionMatrixDetails_ConfigPropertyMetadata = [
6993
+ generateParamConfigMetadata('matrixId', true),
6994
+ ];
6995
+ const getDecisionMatrixDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getDecisionMatrixDetails_ConfigPropertyMetadata);
7455
6996
  function createResourceParams$6(config) {
7456
6997
  const resourceParams = {
7457
6998
  urlParams: {
@@ -7517,21 +7058,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
7517
7058
  });
7518
7059
  }
7519
7060
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
7520
- const { luvio, config } = context;
7521
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
7522
- const dispatchOptions = {
7523
- resourceRequestContext: {
7524
- requestCorrelator,
7525
- luvioRequestMethod: undefined,
7526
- },
7527
- eventObservers
7528
- };
7529
- if (networkPriority !== 'normal') {
7530
- dispatchOptions.overrides = {
7531
- priority: networkPriority
7532
- };
7533
- }
7534
- return buildNetworkSnapshot$6(luvio, config, dispatchOptions);
7061
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
7535
7062
  }
7536
7063
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
7537
7064
  const { luvio, config } = context;
@@ -7695,26 +7222,8 @@ const ingest$4 = function ExpressionSetAliasMetaInfoRepresentationIngest(input,
7695
7222
  }
7696
7223
  }
7697
7224
  const key = path.fullPath;
7698
- const existingRecord = store.readEntry(key);
7699
7225
  const ttlToUse = TTL$4;
7700
- let incomingRecord = normalize$4(input, store.readEntry(key), {
7701
- fullPath: key,
7702
- parent: path.parent,
7703
- propertyName: path.propertyName,
7704
- ttl: ttlToUse
7705
- });
7706
- if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
7707
- luvio.storePublish(key, incomingRecord);
7708
- }
7709
- {
7710
- const storeMetadataParams = {
7711
- ttl: ttlToUse,
7712
- namespace: "interaction",
7713
- version: VERSION$4,
7714
- representationName: RepresentationType$4,
7715
- };
7716
- luvio.publishStoreMetadata(key, storeMetadataParams);
7717
- }
7226
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "interaction", VERSION$4, RepresentationType$4, equals$4);
7718
7227
  return createLink(key);
7719
7228
  };
7720
7229
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
@@ -7779,13 +7288,11 @@ function createResourceRequest$5(config) {
7779
7288
  };
7780
7289
  }
7781
7290
 
7782
- const getExpressionSetAliasMetaInfo_ConfigPropertyNames = {
7783
- displayName: 'getExpressionSetAliasMetaInfo',
7784
- parameters: {
7785
- required: [],
7786
- optional: ['includeObjectList']
7787
- }
7788
- };
7291
+ const adapterName$5 = 'getExpressionSetAliasMetaInfo';
7292
+ const getExpressionSetAliasMetaInfo_ConfigPropertyMetadata = [
7293
+ generateParamConfigMetadata('includeObjectList', false),
7294
+ ];
7295
+ const getExpressionSetAliasMetaInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getExpressionSetAliasMetaInfo_ConfigPropertyMetadata);
7789
7296
  function createResourceParams$5(config) {
7790
7297
  const resourceParams = {
7791
7298
  queryParams: {
@@ -7851,21 +7358,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
7851
7358
  });
7852
7359
  }
7853
7360
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
7854
- const { luvio, config } = context;
7855
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
7856
- const dispatchOptions = {
7857
- resourceRequestContext: {
7858
- requestCorrelator,
7859
- luvioRequestMethod: undefined,
7860
- },
7861
- eventObservers
7862
- };
7863
- if (networkPriority !== 'normal') {
7864
- dispatchOptions.overrides = {
7865
- priority: networkPriority
7866
- };
7867
- }
7868
- return buildNetworkSnapshot$5(luvio, config, dispatchOptions);
7361
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
7869
7362
  }
7870
7363
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
7871
7364
  const { luvio, config } = context;
@@ -8006,26 +7499,8 @@ const ingest$3 = function BusinessKnowledgeModelParameterRepresentationIngest(in
8006
7499
  }
8007
7500
  }
8008
7501
  const key = path.fullPath;
8009
- const existingRecord = store.readEntry(key);
8010
7502
  const ttlToUse = TTL$3;
8011
- let incomingRecord = normalize$3(input, store.readEntry(key), {
8012
- fullPath: key,
8013
- parent: path.parent,
8014
- propertyName: path.propertyName,
8015
- ttl: ttlToUse
8016
- });
8017
- if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
8018
- luvio.storePublish(key, incomingRecord);
8019
- }
8020
- {
8021
- const storeMetadataParams = {
8022
- ttl: ttlToUse,
8023
- namespace: "interaction",
8024
- version: VERSION$3,
8025
- representationName: RepresentationType$3,
8026
- };
8027
- luvio.publishStoreMetadata(key, storeMetadataParams);
8028
- }
7503
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "interaction", VERSION$3, RepresentationType$3, equals$3);
8029
7504
  return createLink(key);
8030
7505
  };
8031
7506
  function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
@@ -8090,13 +7565,12 @@ function createResourceRequest$4(config) {
8090
7565
  };
8091
7566
  }
8092
7567
 
8093
- const getBusinessKnowledgeModel_ConfigPropertyNames = {
8094
- displayName: 'getBusinessKnowledgeModel',
8095
- parameters: {
8096
- required: ['businessKnowledgeModelName'],
8097
- optional: ['filterParams']
8098
- }
8099
- };
7568
+ const adapterName$4 = 'getBusinessKnowledgeModel';
7569
+ const getBusinessKnowledgeModel_ConfigPropertyMetadata = [
7570
+ generateParamConfigMetadata('businessKnowledgeModelName', true),
7571
+ generateParamConfigMetadata('filterParams', false),
7572
+ ];
7573
+ const getBusinessKnowledgeModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getBusinessKnowledgeModel_ConfigPropertyMetadata);
8100
7574
  function createResourceParams$4(config) {
8101
7575
  const resourceParams = {
8102
7576
  urlParams: {
@@ -8166,21 +7640,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
8166
7640
  });
8167
7641
  }
8168
7642
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
8169
- const { luvio, config } = context;
8170
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
8171
- const dispatchOptions = {
8172
- resourceRequestContext: {
8173
- requestCorrelator,
8174
- luvioRequestMethod: undefined,
8175
- },
8176
- eventObservers
8177
- };
8178
- if (networkPriority !== 'normal') {
8179
- dispatchOptions.overrides = {
8180
- priority: networkPriority
8181
- };
8182
- }
8183
- return buildNetworkSnapshot$4(luvio, config, dispatchOptions);
7643
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
8184
7644
  }
8185
7645
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
8186
7646
  const { luvio, config } = context;
@@ -8424,26 +7884,8 @@ const ingest$2 = function ProcessTypeOutputRepresentationIngest(input, path, luv
8424
7884
  }
8425
7885
  }
8426
7886
  const key = path.fullPath;
8427
- const existingRecord = store.readEntry(key);
8428
7887
  const ttlToUse = TTL$2;
8429
- let incomingRecord = normalize$2(input, store.readEntry(key), {
8430
- fullPath: key,
8431
- parent: path.parent,
8432
- propertyName: path.propertyName,
8433
- ttl: ttlToUse
8434
- });
8435
- if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
8436
- luvio.storePublish(key, incomingRecord);
8437
- }
8438
- {
8439
- const storeMetadataParams = {
8440
- ttl: ttlToUse,
8441
- namespace: "interaction",
8442
- version: VERSION$2,
8443
- representationName: RepresentationType$2,
8444
- };
8445
- luvio.publishStoreMetadata(key, storeMetadataParams);
8446
- }
7888
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "interaction", VERSION$2, RepresentationType$2, equals$2);
8447
7889
  return createLink(key);
8448
7890
  };
8449
7891
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -8508,13 +7950,11 @@ function createResourceRequest$3(config) {
8508
7950
  };
8509
7951
  }
8510
7952
 
8511
- const getProcessType_ConfigPropertyNames = {
8512
- displayName: 'getProcessType',
8513
- parameters: {
8514
- required: ['processTypeName'],
8515
- optional: []
8516
- }
8517
- };
7953
+ const adapterName$3 = 'getProcessType';
7954
+ const getProcessType_ConfigPropertyMetadata = [
7955
+ generateParamConfigMetadata('processTypeName', true),
7956
+ ];
7957
+ const getProcessType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProcessType_ConfigPropertyMetadata);
8518
7958
  function createResourceParams$3(config) {
8519
7959
  const resourceParams = {
8520
7960
  urlParams: {
@@ -8580,21 +8020,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
8580
8020
  });
8581
8021
  }
8582
8022
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
8583
- const { luvio, config } = context;
8584
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
8585
- const dispatchOptions = {
8586
- resourceRequestContext: {
8587
- requestCorrelator,
8588
- luvioRequestMethod: undefined,
8589
- },
8590
- eventObservers
8591
- };
8592
- if (networkPriority !== 'normal') {
8593
- dispatchOptions.overrides = {
8594
- priority: networkPriority
8595
- };
8596
- }
8597
- return buildNetworkSnapshot$3(luvio, config, dispatchOptions);
8023
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
8598
8024
  }
8599
8025
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
8600
8026
  const { luvio, config } = context;
@@ -8689,26 +8115,8 @@ const ingest$1 = function UsageTypeListOutputRepresentationIngest(input, path, l
8689
8115
  }
8690
8116
  }
8691
8117
  const key = path.fullPath;
8692
- const existingRecord = store.readEntry(key);
8693
8118
  const ttlToUse = TTL$1;
8694
- let incomingRecord = normalize$1(input, store.readEntry(key), {
8695
- fullPath: key,
8696
- parent: path.parent,
8697
- propertyName: path.propertyName,
8698
- ttl: ttlToUse
8699
- });
8700
- if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
8701
- luvio.storePublish(key, incomingRecord);
8702
- }
8703
- {
8704
- const storeMetadataParams = {
8705
- ttl: ttlToUse,
8706
- namespace: "interaction",
8707
- version: VERSION$1,
8708
- representationName: RepresentationType$1,
8709
- };
8710
- luvio.publishStoreMetadata(key, storeMetadataParams);
8711
- }
8119
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "interaction", VERSION$1, RepresentationType$1, equals$1);
8712
8120
  return createLink(key);
8713
8121
  };
8714
8122
  function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
@@ -8773,13 +8181,9 @@ function createResourceRequest$2(config) {
8773
8181
  };
8774
8182
  }
8775
8183
 
8776
- const getUsageTypes_ConfigPropertyNames = {
8777
- displayName: 'getUsageTypes',
8778
- parameters: {
8779
- required: [],
8780
- optional: []
8781
- }
8782
- };
8184
+ const adapterName$2 = 'getUsageTypes';
8185
+ const getUsageTypes_ConfigPropertyMetadata = [];
8186
+ const getUsageTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getUsageTypes_ConfigPropertyMetadata);
8783
8187
  function createResourceParams$2(config) {
8784
8188
  const resourceParams = {};
8785
8189
  return resourceParams;
@@ -8836,21 +8240,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
8836
8240
  });
8837
8241
  }
8838
8242
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
8839
- const { luvio, config } = context;
8840
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
8841
- const dispatchOptions = {
8842
- resourceRequestContext: {
8843
- requestCorrelator,
8844
- luvioRequestMethod: undefined,
8845
- },
8846
- eventObservers
8847
- };
8848
- if (networkPriority !== 'normal') {
8849
- dispatchOptions.overrides = {
8850
- priority: networkPriority
8851
- };
8852
- }
8853
- return buildNetworkSnapshot$2(luvio, config, dispatchOptions);
8243
+ return buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
8854
8244
  }
8855
8245
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
8856
8246
  const { luvio, config } = context;
@@ -9062,26 +8452,8 @@ const ingest = function ExpressionSetObjectAliasOutputRepresentationIngest(input
9062
8452
  }
9063
8453
  }
9064
8454
  const key = keyBuilderFromType(luvio, input);
9065
- const existingRecord = store.readEntry(key);
9066
8455
  const ttlToUse = TTL;
9067
- let incomingRecord = normalize(input, store.readEntry(key), {
9068
- fullPath: key,
9069
- parent: path.parent,
9070
- propertyName: path.propertyName,
9071
- ttl: ttlToUse
9072
- });
9073
- if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
9074
- luvio.storePublish(key, incomingRecord);
9075
- }
9076
- {
9077
- const storeMetadataParams = {
9078
- ttl: ttlToUse,
9079
- namespace: "interaction",
9080
- version: VERSION,
9081
- representationName: RepresentationType,
9082
- };
9083
- luvio.publishStoreMetadata(key, storeMetadataParams);
9084
- }
8456
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "interaction", VERSION, RepresentationType, equals);
9085
8457
  return createLink(key);
9086
8458
  };
9087
8459
  function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
@@ -9131,13 +8503,11 @@ function createResourceRequest$1(config) {
9131
8503
  };
9132
8504
  }
9133
8505
 
9134
- const createObjectAlias_ConfigPropertyNames = {
9135
- displayName: 'createObjectAlias',
9136
- parameters: {
9137
- required: ['expressionSetObjectAlias'],
9138
- optional: []
9139
- }
9140
- };
8506
+ const adapterName$1 = 'createObjectAlias';
8507
+ const createObjectAlias_ConfigPropertyMetadata = [
8508
+ generateParamConfigMetadata('expressionSetObjectAlias', true),
8509
+ ];
8510
+ const createObjectAlias_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createObjectAlias_ConfigPropertyMetadata);
9141
8511
  function createResourceParams$1(config) {
9142
8512
  const resourceParams = {
9143
8513
  body: {
@@ -9234,13 +8604,12 @@ function createResourceRequest(config) {
9234
8604
  };
9235
8605
  }
9236
8606
 
9237
- const updateAliasField_ConfigPropertyNames = {
9238
- displayName: 'updateAliasField',
9239
- parameters: {
9240
- required: ['id', 'expressionSetObjectAlias'],
9241
- optional: []
9242
- }
9243
- };
8607
+ const adapterName = 'updateAliasField';
8608
+ const updateAliasField_ConfigPropertyMetadata = [
8609
+ generateParamConfigMetadata('id', true),
8610
+ generateParamConfigMetadata('expressionSetObjectAlias', true),
8611
+ ];
8612
+ const updateAliasField_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateAliasField_ConfigPropertyMetadata);
9244
8613
  function createResourceParams(config) {
9245
8614
  const resourceParams = {
9246
8615
  urlParams: {