@salesforce/lds-adapters-industries-clm 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.
- package/dist/es/es2018/industries-clm.js +144 -418
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/adapters/checkIn.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/checkoutContractDocumentVersion.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createContractDocumentVersionAndInitializeGenerateDocumentProcess.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createContractDocumentVersionReview.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createExternalReviewDocument.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/deleteAttachment.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/deleteContractDocumentVersionReview.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/executeContractAction.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getContentDocument.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getContractActions.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getContractDocumentVersion.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getContractDocumentVersionReview.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getDocumentGenerationProcessDetails.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getTemplates.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/lockContractDocumentVersion.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/saveExternalDocument.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/unlock.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/updateContractDocumentVersionReview.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/updateContractDocumentVersionWithTemplate.d.ts +3 -2
- package/package.json +1 -1
- package/sfdc/index.js +147 -421
|
@@ -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$6, 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 = 'clm';
|
|
52
70
|
|
|
53
71
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
@@ -168,26 +186,8 @@ const ingest$9 = function GenericOutputRepresentationIngest(input, path, luvio,
|
|
|
168
186
|
}
|
|
169
187
|
}
|
|
170
188
|
const key = keyBuilderFromType$6(luvio, input);
|
|
171
|
-
const existingRecord = store.readEntry(key);
|
|
172
189
|
const ttlToUse = TTL$8;
|
|
173
|
-
|
|
174
|
-
fullPath: key,
|
|
175
|
-
parent: path.parent,
|
|
176
|
-
propertyName: path.propertyName,
|
|
177
|
-
ttl: ttlToUse
|
|
178
|
-
});
|
|
179
|
-
if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
|
|
180
|
-
luvio.storePublish(key, incomingRecord);
|
|
181
|
-
}
|
|
182
|
-
{
|
|
183
|
-
const storeMetadataParams = {
|
|
184
|
-
ttl: ttlToUse,
|
|
185
|
-
namespace: "clm",
|
|
186
|
-
version: VERSION$a,
|
|
187
|
-
representationName: RepresentationType$9,
|
|
188
|
-
};
|
|
189
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
190
|
-
}
|
|
190
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "clm", VERSION$a, RepresentationType$9, equals$a);
|
|
191
191
|
return createLink(key);
|
|
192
192
|
};
|
|
193
193
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -237,13 +237,12 @@ function createResourceRequest$i(config) {
|
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
};
|
|
240
|
+
const adapterName$i = 'executeContractAction';
|
|
241
|
+
const executeContractAction_ConfigPropertyMetadata = [
|
|
242
|
+
generateParamConfigMetadata('contractId', true),
|
|
243
|
+
generateParamConfigMetadata('actionInput', true),
|
|
244
|
+
];
|
|
245
|
+
const executeContractAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, executeContractAction_ConfigPropertyMetadata);
|
|
247
246
|
function createResourceParams$i(config) {
|
|
248
247
|
const resourceParams = {
|
|
249
248
|
urlParams: {
|
|
@@ -451,26 +450,8 @@ const ingest$8 = function ContractDocumentVersionsListRepresentationIngest(input
|
|
|
451
450
|
}
|
|
452
451
|
}
|
|
453
452
|
const key = path.fullPath;
|
|
454
|
-
const existingRecord = store.readEntry(key);
|
|
455
453
|
const ttlToUse = TTL$7;
|
|
456
|
-
|
|
457
|
-
fullPath: key,
|
|
458
|
-
parent: path.parent,
|
|
459
|
-
propertyName: path.propertyName,
|
|
460
|
-
ttl: ttlToUse
|
|
461
|
-
});
|
|
462
|
-
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
463
|
-
luvio.storePublish(key, incomingRecord);
|
|
464
|
-
}
|
|
465
|
-
{
|
|
466
|
-
const storeMetadataParams = {
|
|
467
|
-
ttl: ttlToUse,
|
|
468
|
-
namespace: "clm",
|
|
469
|
-
version: VERSION$9,
|
|
470
|
-
representationName: RepresentationType$8,
|
|
471
|
-
};
|
|
472
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
473
|
-
}
|
|
454
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "clm", VERSION$9, RepresentationType$8, equals$9);
|
|
474
455
|
return createLink(key);
|
|
475
456
|
};
|
|
476
457
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -535,13 +516,12 @@ function createResourceRequest$h(config) {
|
|
|
535
516
|
};
|
|
536
517
|
}
|
|
537
518
|
|
|
538
|
-
const
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
};
|
|
519
|
+
const adapterName$h = 'getContractDocumentVersion';
|
|
520
|
+
const getContractDocumentVersion_ConfigPropertyMetadata = [
|
|
521
|
+
generateParamConfigMetadata('contractId', true),
|
|
522
|
+
generateParamConfigMetadata('contractDocumentVersionId', false),
|
|
523
|
+
];
|
|
524
|
+
const getContractDocumentVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getContractDocumentVersion_ConfigPropertyMetadata);
|
|
545
525
|
function createResourceParams$h(config) {
|
|
546
526
|
const resourceParams = {
|
|
547
527
|
urlParams: {
|
|
@@ -611,21 +591,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
611
591
|
});
|
|
612
592
|
}
|
|
613
593
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
614
|
-
|
|
615
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
616
|
-
const dispatchOptions = {
|
|
617
|
-
resourceRequestContext: {
|
|
618
|
-
requestCorrelator,
|
|
619
|
-
luvioRequestMethod: undefined,
|
|
620
|
-
},
|
|
621
|
-
eventObservers
|
|
622
|
-
};
|
|
623
|
-
if (networkPriority !== 'normal') {
|
|
624
|
-
dispatchOptions.overrides = {
|
|
625
|
-
priority: networkPriority
|
|
626
|
-
};
|
|
627
|
-
}
|
|
628
|
-
return buildNetworkSnapshot$h(luvio, config, dispatchOptions);
|
|
594
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
|
|
629
595
|
}
|
|
630
596
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
631
597
|
const { luvio, config } = context;
|
|
@@ -906,26 +872,8 @@ const ingest$7 = function DocumentGenerateRepresentationIngest(input, path, luvi
|
|
|
906
872
|
}
|
|
907
873
|
}
|
|
908
874
|
const key = keyBuilderFromType$5(luvio, input);
|
|
909
|
-
const existingRecord = store.readEntry(key);
|
|
910
875
|
const ttlToUse = TTL$6;
|
|
911
|
-
|
|
912
|
-
fullPath: key,
|
|
913
|
-
parent: path.parent,
|
|
914
|
-
propertyName: path.propertyName,
|
|
915
|
-
ttl: ttlToUse
|
|
916
|
-
});
|
|
917
|
-
if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
|
|
918
|
-
luvio.storePublish(key, incomingRecord);
|
|
919
|
-
}
|
|
920
|
-
{
|
|
921
|
-
const storeMetadataParams = {
|
|
922
|
-
ttl: ttlToUse,
|
|
923
|
-
namespace: "clm",
|
|
924
|
-
version: VERSION$7,
|
|
925
|
-
representationName: RepresentationType$7,
|
|
926
|
-
};
|
|
927
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
928
|
-
}
|
|
876
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "clm", VERSION$7, RepresentationType$7, equals$7);
|
|
929
877
|
return createLink(key);
|
|
930
878
|
};
|
|
931
879
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -975,13 +923,12 @@ function createResourceRequest$g(config) {
|
|
|
975
923
|
};
|
|
976
924
|
}
|
|
977
925
|
|
|
978
|
-
const
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
};
|
|
926
|
+
const adapterName$g = 'createContractDocumentVersionAndInitializeGenerateDocumentProcess';
|
|
927
|
+
const createContractDocumentVersionAndInitializeGenerateDocumentProcess_ConfigPropertyMetadata = [
|
|
928
|
+
generateParamConfigMetadata('contractId', true),
|
|
929
|
+
generateParamConfigMetadata('templateInput', true),
|
|
930
|
+
];
|
|
931
|
+
const createContractDocumentVersionAndInitializeGenerateDocumentProcess_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, createContractDocumentVersionAndInitializeGenerateDocumentProcess_ConfigPropertyMetadata);
|
|
985
932
|
function createResourceParams$g(config) {
|
|
986
933
|
const resourceParams = {
|
|
987
934
|
urlParams: {
|
|
@@ -1171,26 +1118,8 @@ const ingest$6 = function ContractActionListRepresentationIngest(input, path, lu
|
|
|
1171
1118
|
}
|
|
1172
1119
|
}
|
|
1173
1120
|
const key = keyBuilderFromType$4(luvio, input);
|
|
1174
|
-
const existingRecord = store.readEntry(key);
|
|
1175
1121
|
const ttlToUse = TTL$5;
|
|
1176
|
-
|
|
1177
|
-
fullPath: key,
|
|
1178
|
-
parent: path.parent,
|
|
1179
|
-
propertyName: path.propertyName,
|
|
1180
|
-
ttl: ttlToUse
|
|
1181
|
-
});
|
|
1182
|
-
if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
|
|
1183
|
-
luvio.storePublish(key, incomingRecord);
|
|
1184
|
-
}
|
|
1185
|
-
{
|
|
1186
|
-
const storeMetadataParams = {
|
|
1187
|
-
ttl: ttlToUse,
|
|
1188
|
-
namespace: "clm",
|
|
1189
|
-
version: VERSION$6,
|
|
1190
|
-
representationName: RepresentationType$6,
|
|
1191
|
-
};
|
|
1192
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1193
|
-
}
|
|
1122
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "clm", VERSION$6, RepresentationType$6, equals$6);
|
|
1194
1123
|
return createLink(key);
|
|
1195
1124
|
};
|
|
1196
1125
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1257,13 +1186,11 @@ function createResourceRequest$f(config) {
|
|
|
1257
1186
|
};
|
|
1258
1187
|
}
|
|
1259
1188
|
|
|
1260
|
-
const
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
}
|
|
1266
|
-
};
|
|
1189
|
+
const adapterName$f = 'getContractActions';
|
|
1190
|
+
const getContractActions_ConfigPropertyMetadata = [
|
|
1191
|
+
generateParamConfigMetadata('contractId', true),
|
|
1192
|
+
];
|
|
1193
|
+
const getContractActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getContractActions_ConfigPropertyMetadata);
|
|
1267
1194
|
function createResourceParams$f(config) {
|
|
1268
1195
|
const resourceParams = {
|
|
1269
1196
|
urlParams: {
|
|
@@ -1329,21 +1256,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
|
|
|
1329
1256
|
});
|
|
1330
1257
|
}
|
|
1331
1258
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
1332
|
-
|
|
1333
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
1334
|
-
const dispatchOptions = {
|
|
1335
|
-
resourceRequestContext: {
|
|
1336
|
-
requestCorrelator,
|
|
1337
|
-
luvioRequestMethod: undefined,
|
|
1338
|
-
},
|
|
1339
|
-
eventObservers
|
|
1340
|
-
};
|
|
1341
|
-
if (networkPriority !== 'normal') {
|
|
1342
|
-
dispatchOptions.overrides = {
|
|
1343
|
-
priority: networkPriority
|
|
1344
|
-
};
|
|
1345
|
-
}
|
|
1346
|
-
return buildNetworkSnapshot$f(luvio, config, dispatchOptions);
|
|
1259
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
|
|
1347
1260
|
}
|
|
1348
1261
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
1349
1262
|
const { luvio, config } = context;
|
|
@@ -1405,13 +1318,12 @@ function createResourceRequest$e(config) {
|
|
|
1405
1318
|
};
|
|
1406
1319
|
}
|
|
1407
1320
|
|
|
1408
|
-
const
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
};
|
|
1321
|
+
const adapterName$e = 'updateContractDocumentVersionWithTemplate';
|
|
1322
|
+
const updateContractDocumentVersionWithTemplate_ConfigPropertyMetadata = [
|
|
1323
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
1324
|
+
generateParamConfigMetadata('templateInput', true),
|
|
1325
|
+
];
|
|
1326
|
+
const updateContractDocumentVersionWithTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, updateContractDocumentVersionWithTemplate_ConfigPropertyMetadata);
|
|
1415
1327
|
function createResourceParams$e(config) {
|
|
1416
1328
|
const resourceParams = {
|
|
1417
1329
|
urlParams: {
|
|
@@ -1514,13 +1426,11 @@ function createResourceRequest$d(config) {
|
|
|
1514
1426
|
};
|
|
1515
1427
|
}
|
|
1516
1428
|
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
}
|
|
1523
|
-
};
|
|
1429
|
+
const adapterName$d = 'checkIn';
|
|
1430
|
+
const checkIn_ConfigPropertyMetadata = [
|
|
1431
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
1432
|
+
];
|
|
1433
|
+
const checkIn_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, checkIn_ConfigPropertyMetadata);
|
|
1524
1434
|
function createResourceParams$d(config) {
|
|
1525
1435
|
const resourceParams = {
|
|
1526
1436
|
urlParams: {
|
|
@@ -1615,13 +1525,12 @@ function createResourceRequest$c(config) {
|
|
|
1615
1525
|
};
|
|
1616
1526
|
}
|
|
1617
1527
|
|
|
1618
|
-
const
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
};
|
|
1528
|
+
const adapterName$c = 'checkoutContractDocumentVersion';
|
|
1529
|
+
const checkoutContractDocumentVersion_ConfigPropertyMetadata = [
|
|
1530
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
1531
|
+
generateParamConfigMetadata('templateInput', true),
|
|
1532
|
+
];
|
|
1533
|
+
const checkoutContractDocumentVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, checkoutContractDocumentVersion_ConfigPropertyMetadata);
|
|
1625
1534
|
function createResourceParams$c(config) {
|
|
1626
1535
|
const resourceParams = {
|
|
1627
1536
|
urlParams: {
|
|
@@ -1754,26 +1663,8 @@ const ingest$5 = function ContentDocumentListRepresentationIngest(input, path, l
|
|
|
1754
1663
|
}
|
|
1755
1664
|
}
|
|
1756
1665
|
const key = keyBuilderFromType$3(luvio, input);
|
|
1757
|
-
const existingRecord = store.readEntry(key);
|
|
1758
1666
|
const ttlToUse = TTL$4;
|
|
1759
|
-
|
|
1760
|
-
fullPath: key,
|
|
1761
|
-
parent: path.parent,
|
|
1762
|
-
propertyName: path.propertyName,
|
|
1763
|
-
ttl: ttlToUse
|
|
1764
|
-
});
|
|
1765
|
-
if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
|
|
1766
|
-
luvio.storePublish(key, incomingRecord);
|
|
1767
|
-
}
|
|
1768
|
-
{
|
|
1769
|
-
const storeMetadataParams = {
|
|
1770
|
-
ttl: ttlToUse,
|
|
1771
|
-
namespace: "clm",
|
|
1772
|
-
version: VERSION$5,
|
|
1773
|
-
representationName: RepresentationType$5,
|
|
1774
|
-
};
|
|
1775
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1776
|
-
}
|
|
1667
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "clm", VERSION$5, RepresentationType$5, equals$5);
|
|
1777
1668
|
return createLink(key);
|
|
1778
1669
|
};
|
|
1779
1670
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1817,14 +1708,12 @@ function createResourceRequest$b(config) {
|
|
|
1817
1708
|
};
|
|
1818
1709
|
}
|
|
1819
1710
|
|
|
1820
|
-
const adapterName$
|
|
1821
|
-
const
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
}
|
|
1827
|
-
};
|
|
1711
|
+
const adapterName$b = 'deleteAttachment';
|
|
1712
|
+
const deleteAttachment_ConfigPropertyMetadata = [
|
|
1713
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
1714
|
+
generateParamConfigMetadata('contentDocumentId', false),
|
|
1715
|
+
];
|
|
1716
|
+
const deleteAttachment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, deleteAttachment_ConfigPropertyMetadata);
|
|
1828
1717
|
function createResourceParams$b(config) {
|
|
1829
1718
|
const resourceParams = {
|
|
1830
1719
|
urlParams: {
|
|
@@ -1880,7 +1769,7 @@ const deleteAttachmentAdapterFactory = (luvio) => {
|
|
|
1880
1769
|
const config = validateAdapterConfig$b(untrustedConfig, deleteAttachment_ConfigPropertyNames);
|
|
1881
1770
|
// Invalid or incomplete config
|
|
1882
1771
|
if (config === null) {
|
|
1883
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
1772
|
+
throw new Error(`Invalid config for "${adapterName$b}"`);
|
|
1884
1773
|
}
|
|
1885
1774
|
return buildNetworkSnapshot$b(luvio, config);
|
|
1886
1775
|
};
|
|
@@ -1940,13 +1829,11 @@ function createResourceRequest$a(config) {
|
|
|
1940
1829
|
};
|
|
1941
1830
|
}
|
|
1942
1831
|
|
|
1943
|
-
const
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
}
|
|
1949
|
-
};
|
|
1832
|
+
const adapterName$a = 'getContentDocument';
|
|
1833
|
+
const getContentDocument_ConfigPropertyMetadata = [
|
|
1834
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
1835
|
+
];
|
|
1836
|
+
const getContentDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getContentDocument_ConfigPropertyMetadata);
|
|
1950
1837
|
function createResourceParams$a(config) {
|
|
1951
1838
|
const resourceParams = {
|
|
1952
1839
|
urlParams: {
|
|
@@ -2012,21 +1899,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
2012
1899
|
});
|
|
2013
1900
|
}
|
|
2014
1901
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
2015
|
-
|
|
2016
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
2017
|
-
const dispatchOptions = {
|
|
2018
|
-
resourceRequestContext: {
|
|
2019
|
-
requestCorrelator,
|
|
2020
|
-
luvioRequestMethod: undefined,
|
|
2021
|
-
},
|
|
2022
|
-
eventObservers
|
|
2023
|
-
};
|
|
2024
|
-
if (networkPriority !== 'normal') {
|
|
2025
|
-
dispatchOptions.overrides = {
|
|
2026
|
-
priority: networkPriority
|
|
2027
|
-
};
|
|
2028
|
-
}
|
|
2029
|
-
return buildNetworkSnapshot$a(luvio, config, dispatchOptions);
|
|
1902
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
|
|
2030
1903
|
}
|
|
2031
1904
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
2032
1905
|
const { luvio, config } = context;
|
|
@@ -2088,13 +1961,11 @@ function createResourceRequest$9(config) {
|
|
|
2088
1961
|
};
|
|
2089
1962
|
}
|
|
2090
1963
|
|
|
2091
|
-
const
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
}
|
|
2097
|
-
};
|
|
1964
|
+
const adapterName$9 = 'lockContractDocumentVersion';
|
|
1965
|
+
const lockContractDocumentVersion_ConfigPropertyMetadata = [
|
|
1966
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
1967
|
+
];
|
|
1968
|
+
const lockContractDocumentVersion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, lockContractDocumentVersion_ConfigPropertyMetadata);
|
|
2098
1969
|
function createResourceParams$9(config) {
|
|
2099
1970
|
const resourceParams = {
|
|
2100
1971
|
urlParams: {
|
|
@@ -2189,13 +2060,11 @@ function createResourceRequest$8(config) {
|
|
|
2189
2060
|
};
|
|
2190
2061
|
}
|
|
2191
2062
|
|
|
2192
|
-
const
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
}
|
|
2198
|
-
};
|
|
2063
|
+
const adapterName$8 = 'createExternalReviewDocument';
|
|
2064
|
+
const createExternalReviewDocument_ConfigPropertyMetadata = [
|
|
2065
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
2066
|
+
];
|
|
2067
|
+
const createExternalReviewDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createExternalReviewDocument_ConfigPropertyMetadata);
|
|
2199
2068
|
function createResourceParams$8(config) {
|
|
2200
2069
|
const resourceParams = {
|
|
2201
2070
|
urlParams: {
|
|
@@ -2347,26 +2216,8 @@ const ingest$4 = function ContractDocumentVersionReviewersListOutputRepresentati
|
|
|
2347
2216
|
}
|
|
2348
2217
|
}
|
|
2349
2218
|
const key = keyBuilderFromType$2(luvio, input);
|
|
2350
|
-
const existingRecord = store.readEntry(key);
|
|
2351
2219
|
const ttlToUse = TTL$3;
|
|
2352
|
-
|
|
2353
|
-
fullPath: key,
|
|
2354
|
-
parent: path.parent,
|
|
2355
|
-
propertyName: path.propertyName,
|
|
2356
|
-
ttl: ttlToUse
|
|
2357
|
-
});
|
|
2358
|
-
if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
|
|
2359
|
-
luvio.storePublish(key, incomingRecord);
|
|
2360
|
-
}
|
|
2361
|
-
{
|
|
2362
|
-
const storeMetadataParams = {
|
|
2363
|
-
ttl: ttlToUse,
|
|
2364
|
-
namespace: "clm",
|
|
2365
|
-
version: VERSION$4,
|
|
2366
|
-
representationName: RepresentationType$4,
|
|
2367
|
-
};
|
|
2368
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2369
|
-
}
|
|
2220
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "clm", VERSION$4, RepresentationType$4, equals$4);
|
|
2370
2221
|
return createLink(key);
|
|
2371
2222
|
};
|
|
2372
2223
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2410,14 +2261,11 @@ function createResourceRequest$7(config) {
|
|
|
2410
2261
|
};
|
|
2411
2262
|
}
|
|
2412
2263
|
|
|
2413
|
-
const adapterName = 'deleteContractDocumentVersionReview';
|
|
2414
|
-
const
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
optional: []
|
|
2419
|
-
}
|
|
2420
|
-
};
|
|
2264
|
+
const adapterName$7 = 'deleteContractDocumentVersionReview';
|
|
2265
|
+
const deleteContractDocumentVersionReview_ConfigPropertyMetadata = [
|
|
2266
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
2267
|
+
];
|
|
2268
|
+
const deleteContractDocumentVersionReview_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteContractDocumentVersionReview_ConfigPropertyMetadata);
|
|
2421
2269
|
function createResourceParams$7(config) {
|
|
2422
2270
|
const resourceParams = {
|
|
2423
2271
|
urlParams: {
|
|
@@ -2469,7 +2317,7 @@ const deleteContractDocumentVersionReviewAdapterFactory = (luvio) => {
|
|
|
2469
2317
|
const config = validateAdapterConfig$7(untrustedConfig, deleteContractDocumentVersionReview_ConfigPropertyNames);
|
|
2470
2318
|
// Invalid or incomplete config
|
|
2471
2319
|
if (config === null) {
|
|
2472
|
-
throw new Error(`Invalid config for "${adapterName}"`);
|
|
2320
|
+
throw new Error(`Invalid config for "${adapterName$7}"`);
|
|
2473
2321
|
}
|
|
2474
2322
|
return buildNetworkSnapshot$7(luvio, config);
|
|
2475
2323
|
};
|
|
@@ -2529,13 +2377,11 @@ function createResourceRequest$6(config) {
|
|
|
2529
2377
|
};
|
|
2530
2378
|
}
|
|
2531
2379
|
|
|
2532
|
-
const
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
}
|
|
2538
|
-
};
|
|
2380
|
+
const adapterName$6 = 'getContractDocumentVersionReview';
|
|
2381
|
+
const getContractDocumentVersionReview_ConfigPropertyMetadata = [
|
|
2382
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
2383
|
+
];
|
|
2384
|
+
const getContractDocumentVersionReview_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getContractDocumentVersionReview_ConfigPropertyMetadata);
|
|
2539
2385
|
function createResourceParams$6(config) {
|
|
2540
2386
|
const resourceParams = {
|
|
2541
2387
|
urlParams: {
|
|
@@ -2601,21 +2447,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
2601
2447
|
});
|
|
2602
2448
|
}
|
|
2603
2449
|
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
2604
|
-
|
|
2605
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
2606
|
-
const dispatchOptions = {
|
|
2607
|
-
resourceRequestContext: {
|
|
2608
|
-
requestCorrelator,
|
|
2609
|
-
luvioRequestMethod: undefined,
|
|
2610
|
-
},
|
|
2611
|
-
eventObservers
|
|
2612
|
-
};
|
|
2613
|
-
if (networkPriority !== 'normal') {
|
|
2614
|
-
dispatchOptions.overrides = {
|
|
2615
|
-
priority: networkPriority
|
|
2616
|
-
};
|
|
2617
|
-
}
|
|
2618
|
-
return buildNetworkSnapshot$6(luvio, config, dispatchOptions);
|
|
2450
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
|
|
2619
2451
|
}
|
|
2620
2452
|
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
2621
2453
|
const { luvio, config } = context;
|
|
@@ -2726,26 +2558,8 @@ const ingest$3 = function ContractDocumentVersionReviewOutputRepresentationInges
|
|
|
2726
2558
|
}
|
|
2727
2559
|
}
|
|
2728
2560
|
const key = keyBuilderFromType$1(luvio, input);
|
|
2729
|
-
const existingRecord = store.readEntry(key);
|
|
2730
2561
|
const ttlToUse = TTL$2;
|
|
2731
|
-
|
|
2732
|
-
fullPath: key,
|
|
2733
|
-
parent: path.parent,
|
|
2734
|
-
propertyName: path.propertyName,
|
|
2735
|
-
ttl: ttlToUse
|
|
2736
|
-
});
|
|
2737
|
-
if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
|
|
2738
|
-
luvio.storePublish(key, incomingRecord);
|
|
2739
|
-
}
|
|
2740
|
-
{
|
|
2741
|
-
const storeMetadataParams = {
|
|
2742
|
-
ttl: ttlToUse,
|
|
2743
|
-
namespace: "clm",
|
|
2744
|
-
version: VERSION$3,
|
|
2745
|
-
representationName: RepresentationType$3,
|
|
2746
|
-
};
|
|
2747
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2748
|
-
}
|
|
2562
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "clm", VERSION$3, RepresentationType$3, equals$3);
|
|
2749
2563
|
return createLink(key);
|
|
2750
2564
|
};
|
|
2751
2565
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2795,13 +2609,12 @@ function createResourceRequest$5(config) {
|
|
|
2795
2609
|
};
|
|
2796
2610
|
}
|
|
2797
2611
|
|
|
2798
|
-
const
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
};
|
|
2612
|
+
const adapterName$5 = 'updateContractDocumentVersionReview';
|
|
2613
|
+
const updateContractDocumentVersionReview_ConfigPropertyMetadata = [
|
|
2614
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
2615
|
+
generateParamConfigMetadata('review', true),
|
|
2616
|
+
];
|
|
2617
|
+
const updateContractDocumentVersionReview_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, updateContractDocumentVersionReview_ConfigPropertyMetadata);
|
|
2805
2618
|
function createResourceParams$5(config) {
|
|
2806
2619
|
const resourceParams = {
|
|
2807
2620
|
urlParams: {
|
|
@@ -2904,13 +2717,12 @@ function createResourceRequest$4(config) {
|
|
|
2904
2717
|
};
|
|
2905
2718
|
}
|
|
2906
2719
|
|
|
2907
|
-
const
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
};
|
|
2720
|
+
const adapterName$4 = 'createContractDocumentVersionReview';
|
|
2721
|
+
const createContractDocumentVersionReview_ConfigPropertyMetadata = [
|
|
2722
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
2723
|
+
generateParamConfigMetadata('review', true),
|
|
2724
|
+
];
|
|
2725
|
+
const createContractDocumentVersionReview_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, createContractDocumentVersionReview_ConfigPropertyMetadata);
|
|
2914
2726
|
function createResourceParams$4(config) {
|
|
2915
2727
|
const resourceParams = {
|
|
2916
2728
|
urlParams: {
|
|
@@ -3013,13 +2825,11 @@ function createResourceRequest$3(config) {
|
|
|
3013
2825
|
};
|
|
3014
2826
|
}
|
|
3015
2827
|
|
|
3016
|
-
const
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
}
|
|
3022
|
-
};
|
|
2828
|
+
const adapterName$3 = 'unlock';
|
|
2829
|
+
const unlock_ConfigPropertyMetadata = [
|
|
2830
|
+
generateParamConfigMetadata('contractDocumentVersionId', true),
|
|
2831
|
+
];
|
|
2832
|
+
const unlock_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, unlock_ConfigPropertyMetadata);
|
|
3023
2833
|
function createResourceParams$3(config) {
|
|
3024
2834
|
const resourceParams = {
|
|
3025
2835
|
urlParams: {
|
|
@@ -3292,26 +3102,8 @@ const ingest$2 = function DocumentGenerationProcessStatusRepresentationIngest(in
|
|
|
3292
3102
|
}
|
|
3293
3103
|
}
|
|
3294
3104
|
const key = path.fullPath;
|
|
3295
|
-
const existingRecord = store.readEntry(key);
|
|
3296
3105
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
|
|
3297
|
-
|
|
3298
|
-
fullPath: key,
|
|
3299
|
-
parent: path.parent,
|
|
3300
|
-
propertyName: path.propertyName,
|
|
3301
|
-
ttl: ttlToUse
|
|
3302
|
-
});
|
|
3303
|
-
if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
|
|
3304
|
-
luvio.storePublish(key, incomingRecord);
|
|
3305
|
-
}
|
|
3306
|
-
if (ttlToUse !== undefined) {
|
|
3307
|
-
const storeMetadataParams = {
|
|
3308
|
-
ttl: ttlToUse,
|
|
3309
|
-
namespace: "clm",
|
|
3310
|
-
version: VERSION$2,
|
|
3311
|
-
representationName: RepresentationType$2,
|
|
3312
|
-
};
|
|
3313
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3314
|
-
}
|
|
3106
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "clm", VERSION$2, RepresentationType$2, equals$2);
|
|
3315
3107
|
return createLink(key);
|
|
3316
3108
|
};
|
|
3317
3109
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3370,13 +3162,11 @@ function createResourceRequest$2(config) {
|
|
|
3370
3162
|
};
|
|
3371
3163
|
}
|
|
3372
3164
|
|
|
3373
|
-
const
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
}
|
|
3379
|
-
};
|
|
3165
|
+
const adapterName$2 = 'getDocumentGenerationProcessDetails';
|
|
3166
|
+
const getDocumentGenerationProcessDetails_ConfigPropertyMetadata = [
|
|
3167
|
+
generateParamConfigMetadata('contractDocumentVersionId', false),
|
|
3168
|
+
];
|
|
3169
|
+
const getDocumentGenerationProcessDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getDocumentGenerationProcessDetails_ConfigPropertyMetadata);
|
|
3380
3170
|
function createResourceParams$2(config) {
|
|
3381
3171
|
const resourceParams = {
|
|
3382
3172
|
queryParams: {
|
|
@@ -3442,21 +3232,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
3442
3232
|
});
|
|
3443
3233
|
}
|
|
3444
3234
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
3445
|
-
|
|
3446
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
3447
|
-
const dispatchOptions = {
|
|
3448
|
-
resourceRequestContext: {
|
|
3449
|
-
requestCorrelator,
|
|
3450
|
-
luvioRequestMethod: undefined,
|
|
3451
|
-
},
|
|
3452
|
-
eventObservers
|
|
3453
|
-
};
|
|
3454
|
-
if (networkPriority !== 'normal') {
|
|
3455
|
-
dispatchOptions.overrides = {
|
|
3456
|
-
priority: networkPriority
|
|
3457
|
-
};
|
|
3458
|
-
}
|
|
3459
|
-
return buildNetworkSnapshot$2(luvio, config, dispatchOptions);
|
|
3235
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
3460
3236
|
}
|
|
3461
3237
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
3462
3238
|
const { luvio, config } = context;
|
|
@@ -3580,26 +3356,8 @@ const ingest$1 = function TemplateListRepresentationIngest(input, path, luvio, s
|
|
|
3580
3356
|
}
|
|
3581
3357
|
}
|
|
3582
3358
|
const key = path.fullPath;
|
|
3583
|
-
const existingRecord = store.readEntry(key);
|
|
3584
3359
|
const ttlToUse = TTL$1;
|
|
3585
|
-
|
|
3586
|
-
fullPath: key,
|
|
3587
|
-
parent: path.parent,
|
|
3588
|
-
propertyName: path.propertyName,
|
|
3589
|
-
ttl: ttlToUse
|
|
3590
|
-
});
|
|
3591
|
-
if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
|
|
3592
|
-
luvio.storePublish(key, incomingRecord);
|
|
3593
|
-
}
|
|
3594
|
-
{
|
|
3595
|
-
const storeMetadataParams = {
|
|
3596
|
-
ttl: ttlToUse,
|
|
3597
|
-
namespace: "clm",
|
|
3598
|
-
version: VERSION$1,
|
|
3599
|
-
representationName: RepresentationType$1,
|
|
3600
|
-
};
|
|
3601
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3602
|
-
}
|
|
3360
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "clm", VERSION$1, RepresentationType$1, equals$1);
|
|
3603
3361
|
return createLink(key);
|
|
3604
3362
|
};
|
|
3605
3363
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3664,13 +3422,15 @@ function createResourceRequest$1(config) {
|
|
|
3664
3422
|
};
|
|
3665
3423
|
}
|
|
3666
3424
|
|
|
3667
|
-
const
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3425
|
+
const adapterName$1 = 'getTemplates';
|
|
3426
|
+
const getTemplates_ConfigPropertyMetadata = [
|
|
3427
|
+
generateParamConfigMetadata('contractId', false),
|
|
3428
|
+
generateParamConfigMetadata('documentTemplateTypes', false),
|
|
3429
|
+
generateParamConfigMetadata('isActive', false),
|
|
3430
|
+
generateParamConfigMetadata('type', false),
|
|
3431
|
+
generateParamConfigMetadata('usageType', false),
|
|
3432
|
+
];
|
|
3433
|
+
const getTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getTemplates_ConfigPropertyMetadata);
|
|
3674
3434
|
function createResourceParams$1(config) {
|
|
3675
3435
|
const resourceParams = {
|
|
3676
3436
|
queryParams: {
|
|
@@ -3742,21 +3502,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
3742
3502
|
});
|
|
3743
3503
|
}
|
|
3744
3504
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
3745
|
-
|
|
3746
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
3747
|
-
const dispatchOptions = {
|
|
3748
|
-
resourceRequestContext: {
|
|
3749
|
-
requestCorrelator,
|
|
3750
|
-
luvioRequestMethod: undefined,
|
|
3751
|
-
},
|
|
3752
|
-
eventObservers
|
|
3753
|
-
};
|
|
3754
|
-
if (networkPriority !== 'normal') {
|
|
3755
|
-
dispatchOptions.overrides = {
|
|
3756
|
-
priority: networkPriority
|
|
3757
|
-
};
|
|
3758
|
-
}
|
|
3759
|
-
return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
|
|
3505
|
+
return buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
3760
3506
|
}
|
|
3761
3507
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
3762
3508
|
const { luvio, config } = context;
|
|
@@ -3857,26 +3603,8 @@ const ingest = function SaveExternalDocumentRepresentationIngest(input, path, lu
|
|
|
3857
3603
|
}
|
|
3858
3604
|
}
|
|
3859
3605
|
const key = keyBuilderFromType(luvio, input);
|
|
3860
|
-
const existingRecord = store.readEntry(key);
|
|
3861
3606
|
const ttlToUse = TTL;
|
|
3862
|
-
|
|
3863
|
-
fullPath: key,
|
|
3864
|
-
parent: path.parent,
|
|
3865
|
-
propertyName: path.propertyName,
|
|
3866
|
-
ttl: ttlToUse
|
|
3867
|
-
});
|
|
3868
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
3869
|
-
luvio.storePublish(key, incomingRecord);
|
|
3870
|
-
}
|
|
3871
|
-
{
|
|
3872
|
-
const storeMetadataParams = {
|
|
3873
|
-
ttl: ttlToUse,
|
|
3874
|
-
namespace: "clm",
|
|
3875
|
-
version: VERSION,
|
|
3876
|
-
representationName: RepresentationType,
|
|
3877
|
-
};
|
|
3878
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3879
|
-
}
|
|
3607
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "clm", VERSION, RepresentationType, equals);
|
|
3880
3608
|
return createLink(key);
|
|
3881
3609
|
};
|
|
3882
3610
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3926,13 +3654,11 @@ function createResourceRequest(config) {
|
|
|
3926
3654
|
};
|
|
3927
3655
|
}
|
|
3928
3656
|
|
|
3929
|
-
const
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
}
|
|
3935
|
-
};
|
|
3657
|
+
const adapterName = 'saveExternalDocument';
|
|
3658
|
+
const saveExternalDocument_ConfigPropertyMetadata = [
|
|
3659
|
+
generateParamConfigMetadata('externalDocumentInput', true),
|
|
3660
|
+
];
|
|
3661
|
+
const saveExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, saveExternalDocument_ConfigPropertyMetadata);
|
|
3936
3662
|
function createResourceParams(config) {
|
|
3937
3663
|
const resourceParams = {
|
|
3938
3664
|
body: {
|