@salesforce/lds-adapters-industries-clm 1.134.6 → 1.134.8

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 (26) hide show
  1. package/dist/es/es2018/industries-clm.js +25 -106
  2. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
  3. package/dist/es/es2018/types/src/generated/types/ContentDocumentListRepresentation.d.ts +0 -1
  4. package/dist/es/es2018/types/src/generated/types/ContentDocumentRepresentation.d.ts +0 -1
  5. package/dist/es/es2018/types/src/generated/types/ContractActionInputRepresentation.d.ts +0 -1
  6. package/dist/es/es2018/types/src/generated/types/ContractActionInputRepresentationWrapper.d.ts +0 -1
  7. package/dist/es/es2018/types/src/generated/types/ContractActionListRepresentation.d.ts +0 -1
  8. package/dist/es/es2018/types/src/generated/types/ContractActionRepresentation.d.ts +0 -1
  9. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionRepresentation.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/types/ContractDocumentVersionsListRepresentation.d.ts +0 -1
  11. package/dist/es/es2018/types/src/generated/types/ContractInputRepresentation.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/types/ContractInputRepresentationWrapper.d.ts +0 -1
  13. package/dist/es/es2018/types/src/generated/types/ContractOutputResponseRepresentation.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/types/DocumentGenerateRepresentation.d.ts +0 -1
  15. package/dist/es/es2018/types/src/generated/types/DocumentGenerationProcessStatusRepresentation.d.ts +0 -1
  16. package/dist/es/es2018/types/src/generated/types/GenericOutputRepresentation.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentInputRepresentation.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentInputRepresentationWrapper.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentRepresentation.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +0 -1
  21. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentationWrapper.d.ts +0 -1
  22. package/dist/es/es2018/types/src/generated/types/TemplateListRepresentation.d.ts +0 -1
  23. package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +0 -1
  24. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
  25. package/package.json +1 -1
  26. package/sfdc/index.js +26 -107
@@ -4,10 +4,10 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
7
+ import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
10
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
11
11
  const { isArray: ArrayIsArray$1 } = Array;
12
12
  /**
13
13
  * Validates an adapter config is well-formed.
@@ -50,7 +50,7 @@ const snapshotRefreshOptions = {
50
50
  };
51
51
  const keyPrefix = 'clm';
52
52
 
53
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
53
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
54
54
  const { isArray: ArrayIsArray } = Array;
55
55
  const { stringify: JSONStringify } = JSON;
56
56
  function equalsArray(a, b, equalsItem) {
@@ -66,24 +66,6 @@ function equalsArray(a, b, equalsItem) {
66
66
  }
67
67
  return true;
68
68
  }
69
- function deepFreeze$b(value) {
70
- // No need to freeze primitives
71
- if (typeof value !== 'object' || value === null) {
72
- return;
73
- }
74
- if (ArrayIsArray(value)) {
75
- for (let i = 0, len = value.length; i < len; i += 1) {
76
- deepFreeze$b(value[i]);
77
- }
78
- }
79
- else {
80
- const keys = ObjectKeys(value);
81
- for (let i = 0, len = keys.length; i < len; i += 1) {
82
- deepFreeze$b(value[keys[i]]);
83
- }
84
- }
85
- ObjectFreeze(value);
86
- }
87
69
  function createLink(ref) {
88
70
  return {
89
71
  __ref: serializeStructuredKey(ref),
@@ -173,9 +155,6 @@ function validate$e(obj, path = 'ContractDocumentVersionRepresentation') {
173
155
  })();
174
156
  return v_error === undefined ? null : v_error;
175
157
  }
176
- function deepFreeze$a(input) {
177
- ObjectFreeze(input);
178
- }
179
158
 
180
159
  const TTL$6 = 60000;
181
160
  const VERSION$8 = "a824de2ee1cbb2f1e15ea8114da78d95";
@@ -227,17 +206,6 @@ function equals$8(existing, incoming) {
227
206
  }
228
207
  return true;
229
208
  }
230
- function deepFreeze$9(input) {
231
- const input_data = input.data;
232
- if (input_data !== undefined) {
233
- for (let i = 0; i < input_data.length; i++) {
234
- const input_data_item = input_data[i];
235
- deepFreeze$a(input_data_item);
236
- }
237
- ObjectFreeze(input_data);
238
- }
239
- ObjectFreeze(input);
240
- }
241
209
  const ingest$7 = function ContractDocumentVersionsListRepresentationIngest(input, path, luvio, store, timestamp) {
242
210
  if (process.env.NODE_ENV !== 'production') {
243
211
  const validateError = validate$d(input);
@@ -254,7 +222,6 @@ const ingest$7 = function ContractDocumentVersionsListRepresentationIngest(input
254
222
  propertyName: path.propertyName,
255
223
  ttl: ttlToUse
256
224
  });
257
- deepFreeze$9(input);
258
225
  if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
259
226
  luvio.storePublish(key, incomingRecord);
260
227
  }
@@ -304,6 +271,7 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
304
271
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
305
272
  }
306
273
  }
274
+ deepFreeze(snapshot.data);
307
275
  return snapshot;
308
276
  }
309
277
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -616,9 +584,6 @@ function equals$7(existing, incoming) {
616
584
  }
617
585
  return true;
618
586
  }
619
- function deepFreeze$8(input) {
620
- ObjectFreeze(input);
621
- }
622
587
 
623
588
  const TTL$5 = 60000;
624
589
  const VERSION$6 = "520b4f1213b0e08b197d18564d0a2432";
@@ -691,17 +656,6 @@ function equals$6(existing, incoming) {
691
656
  }
692
657
  return true;
693
658
  }
694
- function deepFreeze$7(input) {
695
- const input_contentDocuments = input.contentDocuments;
696
- if (input_contentDocuments !== undefined) {
697
- for (let i = 0; i < input_contentDocuments.length; i++) {
698
- const input_contentDocuments_item = input_contentDocuments[i];
699
- deepFreeze$8(input_contentDocuments_item);
700
- }
701
- ObjectFreeze(input_contentDocuments);
702
- }
703
- ObjectFreeze(input);
704
- }
705
659
  const ingest$6 = function DocumentGenerateRepresentationIngest(input, path, luvio, store, timestamp) {
706
660
  if (process.env.NODE_ENV !== 'production') {
707
661
  const validateError = validate$a(input);
@@ -718,7 +672,6 @@ const ingest$6 = function DocumentGenerateRepresentationIngest(input, path, luvi
718
672
  propertyName: path.propertyName,
719
673
  ttl: ttlToUse
720
674
  });
721
- deepFreeze$7(input);
722
675
  if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
723
676
  luvio.storePublish(key, incomingRecord);
724
677
  }
@@ -765,6 +718,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
765
718
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
766
719
  }
767
720
  }
721
+ deepFreeze(snapshot.data);
768
722
  return snapshot;
769
723
  }
770
724
  function createResourceRequest$c(config) {
@@ -835,7 +789,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
835
789
  return luvio.storeBroadcast().then(() => snapshot);
836
790
  }, () => getResponseCacheKeys$c(luvio, resourceParams, response.body));
837
791
  }, (response) => {
838
- deepFreeze$b(response);
792
+ deepFreeze(response);
839
793
  throw response;
840
794
  });
841
795
  }
@@ -938,9 +892,6 @@ function equals$5(existing, incoming) {
938
892
  }
939
893
  return true;
940
894
  }
941
- function deepFreeze$6(input) {
942
- ObjectFreeze(input);
943
- }
944
895
  const ingest$5 = function GenericOutputRepresentationIngest(input, path, luvio, store, timestamp) {
945
896
  if (process.env.NODE_ENV !== 'production') {
946
897
  const validateError = validate$8(input);
@@ -957,7 +908,6 @@ const ingest$5 = function GenericOutputRepresentationIngest(input, path, luvio,
957
908
  propertyName: path.propertyName,
958
909
  ttl: ttlToUse
959
910
  });
960
- deepFreeze$6(input);
961
911
  if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
962
912
  luvio.storePublish(key, incomingRecord);
963
913
  }
@@ -1004,6 +954,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
1004
954
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1005
955
  }
1006
956
  }
957
+ deepFreeze(snapshot.data);
1007
958
  return snapshot;
1008
959
  }
1009
960
  function createResourceRequest$b(config) {
@@ -1074,7 +1025,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
1074
1025
  return luvio.storeBroadcast().then(() => snapshot);
1075
1026
  }, () => getResponseCacheKeys$b(luvio, resourceParams, response.body));
1076
1027
  }, (response) => {
1077
- deepFreeze$b(response);
1028
+ deepFreeze(response);
1078
1029
  throw response;
1079
1030
  });
1080
1031
  }
@@ -1147,9 +1098,6 @@ function validate$7(obj, path = 'ContractActionRepresentation') {
1147
1098
  })();
1148
1099
  return v_error === undefined ? null : v_error;
1149
1100
  }
1150
- function deepFreeze$5(input) {
1151
- ObjectFreeze(input);
1152
- }
1153
1101
 
1154
1102
  const TTL$3 = 60000;
1155
1103
  const VERSION$4 = "2caf5349dc6c6aa44ef471df00f65bbd";
@@ -1208,15 +1156,6 @@ function equals$4(existing, incoming) {
1208
1156
  }
1209
1157
  return true;
1210
1158
  }
1211
- function deepFreeze$4(input) {
1212
- const input_actions = input.actions;
1213
- for (let i = 0; i < input_actions.length; i++) {
1214
- const input_actions_item = input_actions[i];
1215
- deepFreeze$5(input_actions_item);
1216
- }
1217
- ObjectFreeze(input_actions);
1218
- ObjectFreeze(input);
1219
- }
1220
1159
  const ingest$4 = function ContractActionListRepresentationIngest(input, path, luvio, store, timestamp) {
1221
1160
  if (process.env.NODE_ENV !== 'production') {
1222
1161
  const validateError = validate$6(input);
@@ -1233,7 +1172,6 @@ const ingest$4 = function ContractActionListRepresentationIngest(input, path, lu
1233
1172
  propertyName: path.propertyName,
1234
1173
  ttl: ttlToUse
1235
1174
  });
1236
- deepFreeze$4(input);
1237
1175
  if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
1238
1176
  luvio.storePublish(key, incomingRecord);
1239
1177
  }
@@ -1285,6 +1223,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1285
1223
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1286
1224
  }
1287
1225
  }
1226
+ deepFreeze(snapshot.data);
1288
1227
  return snapshot;
1289
1228
  }
1290
1229
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -1441,6 +1380,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
1441
1380
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1442
1381
  }
1443
1382
  }
1383
+ deepFreeze(snapshot.data);
1444
1384
  return snapshot;
1445
1385
  }
1446
1386
  function createResourceRequest$9(config) {
@@ -1511,7 +1451,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
1511
1451
  return luvio.storeBroadcast().then(() => snapshot);
1512
1452
  }, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
1513
1453
  }, (response) => {
1514
- deepFreeze$b(response);
1454
+ deepFreeze(response);
1515
1455
  throw response;
1516
1456
  });
1517
1457
  }
@@ -1546,6 +1486,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
1546
1486
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1547
1487
  }
1548
1488
  }
1489
+ deepFreeze(snapshot.data);
1549
1490
  return snapshot;
1550
1491
  }
1551
1492
  function createResourceRequest$8(config) {
@@ -1608,7 +1549,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
1608
1549
  return luvio.storeBroadcast().then(() => snapshot);
1609
1550
  }, () => getResponseCacheKeys$8(luvio, resourceParams, response.body));
1610
1551
  }, (response) => {
1611
- deepFreeze$b(response);
1552
+ deepFreeze(response);
1612
1553
  throw response;
1613
1554
  });
1614
1555
  }
@@ -1643,6 +1584,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
1643
1584
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1644
1585
  }
1645
1586
  }
1587
+ deepFreeze(snapshot.data);
1646
1588
  return snapshot;
1647
1589
  }
1648
1590
  function createResourceRequest$7(config) {
@@ -1713,7 +1655,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
1713
1655
  return luvio.storeBroadcast().then(() => snapshot);
1714
1656
  }, () => getResponseCacheKeys$7(luvio, resourceParams, response.body));
1715
1657
  }, (response) => {
1716
- deepFreeze$b(response);
1658
+ deepFreeze(response);
1717
1659
  throw response;
1718
1660
  });
1719
1661
  }
@@ -1787,17 +1729,6 @@ function equals$3(existing, incoming) {
1787
1729
  }
1788
1730
  return true;
1789
1731
  }
1790
- function deepFreeze$3(input) {
1791
- const input_data = input.data;
1792
- if (input_data !== undefined) {
1793
- for (let i = 0; i < input_data.length; i++) {
1794
- const input_data_item = input_data[i];
1795
- deepFreeze$8(input_data_item);
1796
- }
1797
- ObjectFreeze(input_data);
1798
- }
1799
- ObjectFreeze(input);
1800
- }
1801
1732
  const ingest$3 = function ContentDocumentListRepresentationIngest(input, path, luvio, store, timestamp) {
1802
1733
  if (process.env.NODE_ENV !== 'production') {
1803
1734
  const validateError = validate$5(input);
@@ -1814,7 +1745,6 @@ const ingest$3 = function ContentDocumentListRepresentationIngest(input, path, l
1814
1745
  propertyName: path.propertyName,
1815
1746
  ttl: ttlToUse
1816
1747
  });
1817
- deepFreeze$3(input);
1818
1748
  if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
1819
1749
  luvio.storePublish(key, incomingRecord);
1820
1750
  }
@@ -1928,7 +1858,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
1928
1858
  return luvio.storeBroadcast();
1929
1859
  }, () => getResponseCacheKeys$6(luvio, resourceParams));
1930
1860
  }, (response) => {
1931
- deepFreeze$b(response);
1861
+ deepFreeze(response);
1932
1862
  throw response;
1933
1863
  });
1934
1864
  }
@@ -1968,6 +1898,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1968
1898
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1969
1899
  }
1970
1900
  }
1901
+ deepFreeze(snapshot.data);
1971
1902
  return snapshot;
1972
1903
  }
1973
1904
  function ingestError$2(luvio, params, error, snapshotRefresh) {
@@ -2124,6 +2055,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
2124
2055
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2125
2056
  }
2126
2057
  }
2058
+ deepFreeze(snapshot.data);
2127
2059
  return snapshot;
2128
2060
  }
2129
2061
  function createResourceRequest$4(config) {
@@ -2186,7 +2118,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
2186
2118
  return luvio.storeBroadcast().then(() => snapshot);
2187
2119
  }, () => getResponseCacheKeys$4(luvio, resourceParams, response.body));
2188
2120
  }, (response) => {
2189
- deepFreeze$b(response);
2121
+ deepFreeze(response);
2190
2122
  throw response;
2191
2123
  });
2192
2124
  }
@@ -2221,6 +2153,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
2221
2153
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2222
2154
  }
2223
2155
  }
2156
+ deepFreeze(snapshot.data);
2224
2157
  return snapshot;
2225
2158
  }
2226
2159
  function createResourceRequest$3(config) {
@@ -2283,7 +2216,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
2283
2216
  return luvio.storeBroadcast().then(() => snapshot);
2284
2217
  }, () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
2285
2218
  }, (response) => {
2286
- deepFreeze$b(response);
2219
+ deepFreeze(response);
2287
2220
  throw response;
2288
2221
  });
2289
2222
  }
@@ -2570,6 +2503,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
2570
2503
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2571
2504
  }
2572
2505
  }
2506
+ deepFreeze(snapshot.data);
2573
2507
  return snapshot;
2574
2508
  }
2575
2509
  function ingestError$1(luvio, params, error, snapshotRefresh) {
@@ -2733,9 +2667,6 @@ function validate$3(obj, path = 'TemplateRepresentation') {
2733
2667
  })();
2734
2668
  return v_error === undefined ? null : v_error;
2735
2669
  }
2736
- function deepFreeze$2(input) {
2737
- ObjectFreeze(input);
2738
- }
2739
2670
 
2740
2671
  const TTL$1 = 60000;
2741
2672
  const VERSION$1 = "f3cbbe481890c87cbcb6b12993f6383c";
@@ -2794,15 +2725,6 @@ function equals$1(existing, incoming) {
2794
2725
  }
2795
2726
  return true;
2796
2727
  }
2797
- function deepFreeze$1(input) {
2798
- const input_data = input.data;
2799
- for (let i = 0; i < input_data.length; i++) {
2800
- const input_data_item = input_data[i];
2801
- deepFreeze$2(input_data_item);
2802
- }
2803
- ObjectFreeze(input_data);
2804
- ObjectFreeze(input);
2805
- }
2806
2728
  const ingest$1 = function TemplateListRepresentationIngest(input, path, luvio, store, timestamp) {
2807
2729
  if (process.env.NODE_ENV !== 'production') {
2808
2730
  const validateError = validate$2(input);
@@ -2819,7 +2741,6 @@ const ingest$1 = function TemplateListRepresentationIngest(input, path, luvio, s
2819
2741
  propertyName: path.propertyName,
2820
2742
  ttl: ttlToUse
2821
2743
  });
2822
- deepFreeze$1(input);
2823
2744
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
2824
2745
  luvio.storePublish(key, incomingRecord);
2825
2746
  }
@@ -2869,6 +2790,7 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
2869
2790
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2870
2791
  }
2871
2792
  }
2793
+ deepFreeze(snapshot.data);
2872
2794
  return snapshot;
2873
2795
  }
2874
2796
  function ingestError(luvio, params, error, snapshotRefresh) {
@@ -3096,9 +3018,6 @@ function equals(existing, incoming) {
3096
3018
  }
3097
3019
  return true;
3098
3020
  }
3099
- function deepFreeze(input) {
3100
- ObjectFreeze(input);
3101
- }
3102
3021
  const ingest = function SaveExternalDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
3103
3022
  if (process.env.NODE_ENV !== 'production') {
3104
3023
  const validateError = validate(input);
@@ -3115,7 +3034,6 @@ const ingest = function SaveExternalDocumentRepresentationIngest(input, path, lu
3115
3034
  propertyName: path.propertyName,
3116
3035
  ttl: ttlToUse
3117
3036
  });
3118
- deepFreeze(input);
3119
3037
  if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
3120
3038
  luvio.storePublish(key, incomingRecord);
3121
3039
  }
@@ -3162,6 +3080,7 @@ function ingestSuccess(luvio, resourceParams, response) {
3162
3080
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3163
3081
  }
3164
3082
  }
3083
+ deepFreeze(snapshot.data);
3165
3084
  return snapshot;
3166
3085
  }
3167
3086
  function createResourceRequest(config) {
@@ -3225,7 +3144,7 @@ function buildNetworkSnapshot(luvio, config, options) {
3225
3144
  return luvio.storeBroadcast().then(() => snapshot);
3226
3145
  }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
3227
3146
  }, (response) => {
3228
- deepFreeze$b(response);
3147
+ deepFreeze(response);
3229
3148
  throw response;
3230
3149
  });
3231
3150
  }
@@ -3,17 +3,11 @@ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
3
  declare const ObjectKeys: {
4
4
  (o: object): string[];
5
5
  (o: {}): string[];
6
- }, ObjectFreeze: {
7
- <T extends Function>(f: T): T;
8
- <T_1 extends {
9
- [idx: string]: object | U | null | undefined;
10
- }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
11
- <T_2>(o: T_2): Readonly<T_2>;
12
6
  }, ObjectCreate: {
13
7
  (o: object | null): any;
14
8
  (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
15
9
  };
16
- export { ObjectFreeze, ObjectCreate, ObjectKeys };
10
+ export { ObjectCreate, ObjectKeys };
17
11
  export declare const ArrayIsArray: (arg: any) => arg is any[];
18
12
  export declare const ArrayPrototypePush: (...items: any[]) => number;
19
13
  export interface AdapterValidationConfig {
@@ -16,7 +16,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
16
16
  export declare function normalize(input: ContentDocumentListRepresentation, existing: ContentDocumentListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContentDocumentListRepresentationNormalized;
17
17
  export declare const select: () => $64$luvio_engine_BaseFragment;
18
18
  export declare function equals(existing: ContentDocumentListRepresentationNormalized, incoming: ContentDocumentListRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: ContentDocumentListRepresentation): void;
20
19
  export declare const ingest: $64$luvio_engine_ResourceIngest;
21
20
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContentDocumentListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
21
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ContentDocumentRepresentation, existing: ContentDocumentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContentDocumentRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ContentDocumentRepresentationNormalized, incoming: ContentDocumentRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: ContentDocumentRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContentDocumentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ContractActionInputRepresentation, existing: ContractActionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractActionInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ContractActionInputRepresentationNormalized, incoming: ContractActionInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: ContractActionInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractActionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ContractActionInputRepresentationWrapper, existing: ContractActionInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractActionInputRepresentationWrapperNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: ContractActionInputRepresentationWrapperNormalized, incoming: ContractActionInputRepresentationWrapperNormalized): boolean;
9
- export declare function deepFreeze(input: ContractActionInputRepresentationWrapper): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractActionInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -16,7 +16,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
16
16
  export declare function normalize(input: ContractActionListRepresentation, existing: ContractActionListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractActionListRepresentationNormalized;
17
17
  export declare const select: () => $64$luvio_engine_BaseFragment;
18
18
  export declare function equals(existing: ContractActionListRepresentationNormalized, incoming: ContractActionListRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: ContractActionListRepresentation): void;
20
19
  export declare const ingest: $64$luvio_engine_ResourceIngest;
21
20
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractActionListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
21
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ContractActionRepresentation, existing: ContractActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ContractActionRepresentationNormalized, incoming: ContractActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: ContractActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractActionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -16,7 +16,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
16
16
  export declare function normalize(input: ContractDocumentVersionRepresentation, existing: ContractDocumentVersionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractDocumentVersionRepresentationNormalized;
17
17
  export declare const select: () => $64$luvio_engine_BaseFragment;
18
18
  export declare function equals(existing: ContractDocumentVersionRepresentationNormalized, incoming: ContractDocumentVersionRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: ContractDocumentVersionRepresentation): void;
20
19
  export declare const ingest: $64$luvio_engine_ResourceIngest;
21
20
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractDocumentVersionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
21
  /**
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
7
7
  export declare function normalize(input: ContractDocumentVersionsListRepresentation, existing: ContractDocumentVersionsListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractDocumentVersionsListRepresentationNormalized;
8
8
  export declare const select: () => $64$luvio_engine_BaseFragment;
9
9
  export declare function equals(existing: ContractDocumentVersionsListRepresentationNormalized, incoming: ContractDocumentVersionsListRepresentationNormalized): boolean;
10
- export declare function deepFreeze(input: ContractDocumentVersionsListRepresentation): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractDocumentVersionsListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ContractInputRepresentation, existing: ContractInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ContractInputRepresentationNormalized, incoming: ContractInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: ContractInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ContractInputRepresentationWrapper, existing: ContractInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractInputRepresentationWrapperNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: ContractInputRepresentationWrapperNormalized, incoming: ContractInputRepresentationWrapperNormalized): boolean;
9
- export declare function deepFreeze(input: ContractInputRepresentationWrapper): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ContractOutputResponseRepresentation, existing: ContractOutputResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractOutputResponseRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ContractOutputResponseRepresentationNormalized, incoming: ContractOutputResponseRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: ContractOutputResponseRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ContractOutputResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -16,7 +16,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
16
16
  export declare function normalize(input: DocumentGenerateRepresentation, existing: DocumentGenerateRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DocumentGenerateRepresentationNormalized;
17
17
  export declare const select: () => $64$luvio_engine_BaseFragment;
18
18
  export declare function equals(existing: DocumentGenerateRepresentationNormalized, incoming: DocumentGenerateRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: DocumentGenerateRepresentation): void;
20
19
  export declare const ingest: $64$luvio_engine_ResourceIngest;
21
20
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DocumentGenerateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
21
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: DocumentGenerationProcessStatusRepresentation, existing: DocumentGenerationProcessStatusRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DocumentGenerationProcessStatusRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: DocumentGenerationProcessStatusRepresentationNormalized, incoming: DocumentGenerationProcessStatusRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: DocumentGenerationProcessStatusRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DocumentGenerationProcessStatusRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
15
15
  export declare function normalize(input: GenericOutputRepresentation, existing: GenericOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenericOutputRepresentationNormalized;
16
16
  export declare const select: () => $64$luvio_engine_BaseFragment;
17
17
  export declare function equals(existing: GenericOutputRepresentationNormalized, incoming: GenericOutputRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: GenericOutputRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: GenericOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SaveExternalDocumentInputRepresentation, existing: SaveExternalDocumentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SaveExternalDocumentInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: SaveExternalDocumentInputRepresentationNormalized, incoming: SaveExternalDocumentInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: SaveExternalDocumentInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SaveExternalDocumentInputRepresentationWrapper, existing: SaveExternalDocumentInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SaveExternalDocumentInputRepresentationWrapperNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: SaveExternalDocumentInputRepresentationWrapperNormalized, incoming: SaveExternalDocumentInputRepresentationWrapperNormalized): boolean;
9
- export declare function deepFreeze(input: SaveExternalDocumentInputRepresentationWrapper): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
15
15
  export declare function normalize(input: SaveExternalDocumentRepresentation, existing: SaveExternalDocumentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SaveExternalDocumentRepresentationNormalized;
16
16
  export declare const select: () => $64$luvio_engine_BaseFragment;
17
17
  export declare function equals(existing: SaveExternalDocumentRepresentationNormalized, incoming: SaveExternalDocumentRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: SaveExternalDocumentRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: TemplateInputRepresentation, existing: TemplateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: TemplateInputRepresentationNormalized, incoming: TemplateInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: TemplateInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TemplateInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: TemplateInputRepresentationWrapper, existing: TemplateInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateInputRepresentationWrapperNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: TemplateInputRepresentationWrapperNormalized, incoming: TemplateInputRepresentationWrapperNormalized): boolean;
9
- export declare function deepFreeze(input: TemplateInputRepresentationWrapper): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TemplateInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
7
7
  export declare function normalize(input: TemplateListRepresentation, existing: TemplateListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateListRepresentationNormalized;
8
8
  export declare const select: () => $64$luvio_engine_BaseFragment;
9
9
  export declare function equals(existing: TemplateListRepresentationNormalized, incoming: TemplateListRepresentationNormalized): boolean;
10
- export declare function deepFreeze(input: TemplateListRepresentation): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TemplateListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: TemplateRepresentation, existing: TemplateRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: TemplateRepresentationNormalized, incoming: TemplateRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: TemplateRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TemplateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -1,11 +1,5 @@
1
1
  import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const ObjectFreeze: {
3
- <T extends Function>(f: T): T;
4
- <T_1 extends {
5
- [idx: string]: object | U | null | undefined;
6
- }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
7
- <T_2>(o: T_2): Readonly<T_2>;
8
- }, ObjectKeys: {
2
+ export declare const ObjectKeys: {
9
3
  (o: object): string[];
10
4
  (o: {}): string[];
11
5
  }, ObjectCreate: {
@@ -31,7 +25,6 @@ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (i
31
25
  export declare function equalsObject<U, V extends {
32
26
  [key: string]: U;
33
27
  }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
34
- export declare function deepFreeze(value: any): void;
35
28
  export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
36
29
  __ref: string;
37
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-clm",
3
- "version": "1.134.6",
3
+ "version": "1.134.8",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Contract Life Cycle Management",
6
6
  "main": "dist/es/es2018/industries-clm.js",
package/sfdc/index.js CHANGED
@@ -14,10 +14,10 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
20
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
21
21
  const { isArray: ArrayIsArray$1 } = Array;
22
22
  /**
23
23
  * Validates an adapter config is well-formed.
@@ -60,7 +60,7 @@ const snapshotRefreshOptions = {
60
60
  };
61
61
  const keyPrefix = 'clm';
62
62
 
63
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
63
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
64
64
  const { isArray: ArrayIsArray } = Array;
65
65
  const { stringify: JSONStringify } = JSON;
66
66
  function equalsArray(a, b, equalsItem) {
@@ -76,24 +76,6 @@ function equalsArray(a, b, equalsItem) {
76
76
  }
77
77
  return true;
78
78
  }
79
- function deepFreeze$b(value) {
80
- // No need to freeze primitives
81
- if (typeof value !== 'object' || value === null) {
82
- return;
83
- }
84
- if (ArrayIsArray(value)) {
85
- for (let i = 0, len = value.length; i < len; i += 1) {
86
- deepFreeze$b(value[i]);
87
- }
88
- }
89
- else {
90
- const keys = ObjectKeys(value);
91
- for (let i = 0, len = keys.length; i < len; i += 1) {
92
- deepFreeze$b(value[keys[i]]);
93
- }
94
- }
95
- ObjectFreeze(value);
96
- }
97
79
  function createLink(ref) {
98
80
  return {
99
81
  __ref: serializeStructuredKey(ref),
@@ -149,9 +131,6 @@ function equals$8(existing, incoming) {
149
131
  }
150
132
  return true;
151
133
  }
152
- function deepFreeze$a(input) {
153
- ObjectFreeze(input);
154
- }
155
134
  const ingest$7 = function GenericOutputRepresentationIngest(input, path, luvio, store, timestamp) {
156
135
  if (process.env.NODE_ENV !== 'production') {
157
136
  const validateError = validate$e(input);
@@ -168,7 +147,6 @@ const ingest$7 = function GenericOutputRepresentationIngest(input, path, luvio,
168
147
  propertyName: path.propertyName,
169
148
  ttl: ttlToUse
170
149
  });
171
- deepFreeze$a(input);
172
150
  if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
173
151
  luvio.storePublish(key, incomingRecord);
174
152
  }
@@ -215,6 +193,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
215
193
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
216
194
  }
217
195
  }
196
+ deepFreeze(snapshot.data);
218
197
  return snapshot;
219
198
  }
220
199
  function createResourceRequest$d(config) {
@@ -277,7 +256,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
277
256
  return luvio.storeBroadcast().then(() => snapshot);
278
257
  }, () => getResponseCacheKeys$d(luvio, resourceParams, response.body));
279
258
  }, (response) => {
280
- deepFreeze$b(response);
259
+ deepFreeze(response);
281
260
  throw response;
282
261
  });
283
262
  }
@@ -461,9 +440,6 @@ function equals$7(existing, incoming) {
461
440
  }
462
441
  return true;
463
442
  }
464
- function deepFreeze$9(input) {
465
- ObjectFreeze(input);
466
- }
467
443
 
468
444
  const TTL$5 = 60000;
469
445
  const VERSION$6 = "520b4f1213b0e08b197d18564d0a2432";
@@ -536,17 +512,6 @@ function equals$6(existing, incoming) {
536
512
  }
537
513
  return true;
538
514
  }
539
- function deepFreeze$8(input) {
540
- const input_contentDocuments = input.contentDocuments;
541
- if (input_contentDocuments !== undefined) {
542
- for (let i = 0; i < input_contentDocuments.length; i++) {
543
- const input_contentDocuments_item = input_contentDocuments[i];
544
- deepFreeze$9(input_contentDocuments_item);
545
- }
546
- ObjectFreeze(input_contentDocuments);
547
- }
548
- ObjectFreeze(input);
549
- }
550
515
  const ingest$6 = function DocumentGenerateRepresentationIngest(input, path, luvio, store, timestamp) {
551
516
  if (process.env.NODE_ENV !== 'production') {
552
517
  const validateError = validate$b(input);
@@ -563,7 +528,6 @@ const ingest$6 = function DocumentGenerateRepresentationIngest(input, path, luvi
563
528
  propertyName: path.propertyName,
564
529
  ttl: ttlToUse
565
530
  });
566
- deepFreeze$8(input);
567
531
  if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
568
532
  luvio.storePublish(key, incomingRecord);
569
533
  }
@@ -610,6 +574,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
610
574
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
611
575
  }
612
576
  }
577
+ deepFreeze(snapshot.data);
613
578
  return snapshot;
614
579
  }
615
580
  function createResourceRequest$c(config) {
@@ -680,7 +645,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
680
645
  return luvio.storeBroadcast().then(() => snapshot);
681
646
  }, () => getResponseCacheKeys$c(luvio, resourceParams, response.body));
682
647
  }, (response) => {
683
- deepFreeze$b(response);
648
+ deepFreeze(response);
684
649
  throw response;
685
650
  });
686
651
  }
@@ -715,6 +680,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
715
680
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
716
681
  }
717
682
  }
683
+ deepFreeze(snapshot.data);
718
684
  return snapshot;
719
685
  }
720
686
  function createResourceRequest$b(config) {
@@ -785,7 +751,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
785
751
  return luvio.storeBroadcast().then(() => snapshot);
786
752
  }, () => getResponseCacheKeys$b(luvio, resourceParams, response.body));
787
753
  }, (response) => {
788
- deepFreeze$b(response);
754
+ deepFreeze(response);
789
755
  throw response;
790
756
  });
791
757
  }
@@ -859,17 +825,6 @@ function equals$5(existing, incoming) {
859
825
  }
860
826
  return true;
861
827
  }
862
- function deepFreeze$7(input) {
863
- const input_data = input.data;
864
- if (input_data !== undefined) {
865
- for (let i = 0; i < input_data.length; i++) {
866
- const input_data_item = input_data[i];
867
- deepFreeze$9(input_data_item);
868
- }
869
- ObjectFreeze(input_data);
870
- }
871
- ObjectFreeze(input);
872
- }
873
828
  const ingest$5 = function ContentDocumentListRepresentationIngest(input, path, luvio, store, timestamp) {
874
829
  if (process.env.NODE_ENV !== 'production') {
875
830
  const validateError = validate$a(input);
@@ -886,7 +841,6 @@ const ingest$5 = function ContentDocumentListRepresentationIngest(input, path, l
886
841
  propertyName: path.propertyName,
887
842
  ttl: ttlToUse
888
843
  });
889
- deepFreeze$7(input);
890
844
  if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
891
845
  luvio.storePublish(key, incomingRecord);
892
846
  }
@@ -1000,7 +954,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
1000
954
  return luvio.storeBroadcast();
1001
955
  }, () => getResponseCacheKeys$a(luvio, resourceParams));
1002
956
  }, (response) => {
1003
- deepFreeze$b(response);
957
+ deepFreeze(response);
1004
958
  throw response;
1005
959
  });
1006
960
  }
@@ -1074,6 +1028,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
1074
1028
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1075
1029
  }
1076
1030
  }
1031
+ deepFreeze(snapshot.data);
1077
1032
  return snapshot;
1078
1033
  }
1079
1034
  function createResourceRequest$9(config) {
@@ -1144,7 +1099,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
1144
1099
  return luvio.storeBroadcast().then(() => snapshot);
1145
1100
  }, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
1146
1101
  }, (response) => {
1147
- deepFreeze$b(response);
1102
+ deepFreeze(response);
1148
1103
  throw response;
1149
1104
  });
1150
1105
  }
@@ -1184,6 +1139,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
1184
1139
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1185
1140
  }
1186
1141
  }
1142
+ deepFreeze(snapshot.data);
1187
1143
  return snapshot;
1188
1144
  }
1189
1145
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -1415,9 +1371,6 @@ function validate$8(obj, path = 'ContractActionRepresentation') {
1415
1371
  })();
1416
1372
  return v_error === undefined ? null : v_error;
1417
1373
  }
1418
- function deepFreeze$6(input) {
1419
- ObjectFreeze(input);
1420
- }
1421
1374
 
1422
1375
  const TTL$3 = 60000;
1423
1376
  const VERSION$4 = "2caf5349dc6c6aa44ef471df00f65bbd";
@@ -1476,15 +1429,6 @@ function equals$4(existing, incoming) {
1476
1429
  }
1477
1430
  return true;
1478
1431
  }
1479
- function deepFreeze$5(input) {
1480
- const input_actions = input.actions;
1481
- for (let i = 0; i < input_actions.length; i++) {
1482
- const input_actions_item = input_actions[i];
1483
- deepFreeze$6(input_actions_item);
1484
- }
1485
- ObjectFreeze(input_actions);
1486
- ObjectFreeze(input);
1487
- }
1488
1432
  const ingest$4 = function ContractActionListRepresentationIngest(input, path, luvio, store, timestamp) {
1489
1433
  if (process.env.NODE_ENV !== 'production') {
1490
1434
  const validateError = validate$7(input);
@@ -1501,7 +1445,6 @@ const ingest$4 = function ContractActionListRepresentationIngest(input, path, lu
1501
1445
  propertyName: path.propertyName,
1502
1446
  ttl: ttlToUse
1503
1447
  });
1504
- deepFreeze$5(input);
1505
1448
  if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
1506
1449
  luvio.storePublish(key, incomingRecord);
1507
1450
  }
@@ -1553,6 +1496,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
1553
1496
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1554
1497
  }
1555
1498
  }
1499
+ deepFreeze(snapshot.data);
1556
1500
  return snapshot;
1557
1501
  }
1558
1502
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -1809,9 +1753,6 @@ function validate$6(obj, path = 'ContractDocumentVersionRepresentation') {
1809
1753
  })();
1810
1754
  return v_error === undefined ? null : v_error;
1811
1755
  }
1812
- function deepFreeze$4(input) {
1813
- ObjectFreeze(input);
1814
- }
1815
1756
 
1816
1757
  const TTL$2 = 60000;
1817
1758
  const VERSION$3 = "a824de2ee1cbb2f1e15ea8114da78d95";
@@ -1863,17 +1804,6 @@ function equals$3(existing, incoming) {
1863
1804
  }
1864
1805
  return true;
1865
1806
  }
1866
- function deepFreeze$3(input) {
1867
- const input_data = input.data;
1868
- if (input_data !== undefined) {
1869
- for (let i = 0; i < input_data.length; i++) {
1870
- const input_data_item = input_data[i];
1871
- deepFreeze$4(input_data_item);
1872
- }
1873
- ObjectFreeze(input_data);
1874
- }
1875
- ObjectFreeze(input);
1876
- }
1877
1807
  const ingest$3 = function ContractDocumentVersionsListRepresentationIngest(input, path, luvio, store, timestamp) {
1878
1808
  if (process.env.NODE_ENV !== 'production') {
1879
1809
  const validateError = validate$5(input);
@@ -1890,7 +1820,6 @@ const ingest$3 = function ContractDocumentVersionsListRepresentationIngest(input
1890
1820
  propertyName: path.propertyName,
1891
1821
  ttl: ttlToUse
1892
1822
  });
1893
- deepFreeze$3(input);
1894
1823
  if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
1895
1824
  luvio.storePublish(key, incomingRecord);
1896
1825
  }
@@ -1940,6 +1869,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1940
1869
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1941
1870
  }
1942
1871
  }
1872
+ deepFreeze(snapshot.data);
1943
1873
  return snapshot;
1944
1874
  }
1945
1875
  function ingestError$2(luvio, params, error, snapshotRefresh) {
@@ -2355,6 +2285,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
2355
2285
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2356
2286
  }
2357
2287
  }
2288
+ deepFreeze(snapshot.data);
2358
2289
  return snapshot;
2359
2290
  }
2360
2291
  function ingestError$1(luvio, params, error, snapshotRefresh) {
@@ -2518,9 +2449,6 @@ function validate$3(obj, path = 'TemplateRepresentation') {
2518
2449
  })();
2519
2450
  return v_error === undefined ? null : v_error;
2520
2451
  }
2521
- function deepFreeze$2(input) {
2522
- ObjectFreeze(input);
2523
- }
2524
2452
 
2525
2453
  const TTL$1 = 60000;
2526
2454
  const VERSION$1 = "f3cbbe481890c87cbcb6b12993f6383c";
@@ -2579,15 +2507,6 @@ function equals$1(existing, incoming) {
2579
2507
  }
2580
2508
  return true;
2581
2509
  }
2582
- function deepFreeze$1(input) {
2583
- const input_data = input.data;
2584
- for (let i = 0; i < input_data.length; i++) {
2585
- const input_data_item = input_data[i];
2586
- deepFreeze$2(input_data_item);
2587
- }
2588
- ObjectFreeze(input_data);
2589
- ObjectFreeze(input);
2590
- }
2591
2510
  const ingest$1 = function TemplateListRepresentationIngest(input, path, luvio, store, timestamp) {
2592
2511
  if (process.env.NODE_ENV !== 'production') {
2593
2512
  const validateError = validate$2(input);
@@ -2604,7 +2523,6 @@ const ingest$1 = function TemplateListRepresentationIngest(input, path, luvio, s
2604
2523
  propertyName: path.propertyName,
2605
2524
  ttl: ttlToUse
2606
2525
  });
2607
- deepFreeze$1(input);
2608
2526
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
2609
2527
  luvio.storePublish(key, incomingRecord);
2610
2528
  }
@@ -2654,6 +2572,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
2654
2572
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2655
2573
  }
2656
2574
  }
2575
+ deepFreeze(snapshot.data);
2657
2576
  return snapshot;
2658
2577
  }
2659
2578
  function ingestError(luvio, params, error, snapshotRefresh) {
@@ -2833,6 +2752,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
2833
2752
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2834
2753
  }
2835
2754
  }
2755
+ deepFreeze(snapshot.data);
2836
2756
  return snapshot;
2837
2757
  }
2838
2758
  function createResourceRequest$3(config) {
@@ -2895,7 +2815,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
2895
2815
  return luvio.storeBroadcast().then(() => snapshot);
2896
2816
  }, () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
2897
2817
  }, (response) => {
2898
- deepFreeze$b(response);
2818
+ deepFreeze(response);
2899
2819
  throw response;
2900
2820
  });
2901
2821
  }
@@ -2978,9 +2898,6 @@ function equals(existing, incoming) {
2978
2898
  }
2979
2899
  return true;
2980
2900
  }
2981
- function deepFreeze(input) {
2982
- ObjectFreeze(input);
2983
- }
2984
2901
  const ingest = function SaveExternalDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
2985
2902
  if (process.env.NODE_ENV !== 'production') {
2986
2903
  const validateError = validate(input);
@@ -2997,7 +2914,6 @@ const ingest = function SaveExternalDocumentRepresentationIngest(input, path, lu
2997
2914
  propertyName: path.propertyName,
2998
2915
  ttl: ttlToUse
2999
2916
  });
3000
- deepFreeze(input);
3001
2917
  if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
3002
2918
  luvio.storePublish(key, incomingRecord);
3003
2919
  }
@@ -3044,6 +2960,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
3044
2960
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3045
2961
  }
3046
2962
  }
2963
+ deepFreeze(snapshot.data);
3047
2964
  return snapshot;
3048
2965
  }
3049
2966
  function createResourceRequest$2(config) {
@@ -3107,7 +3024,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
3107
3024
  return luvio.storeBroadcast().then(() => snapshot);
3108
3025
  }, () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
3109
3026
  }, (response) => {
3110
- deepFreeze$b(response);
3027
+ deepFreeze(response);
3111
3028
  throw response;
3112
3029
  });
3113
3030
  }
@@ -3142,6 +3059,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
3142
3059
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3143
3060
  }
3144
3061
  }
3062
+ deepFreeze(snapshot.data);
3145
3063
  return snapshot;
3146
3064
  }
3147
3065
  function createResourceRequest$1(config) {
@@ -3204,7 +3122,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
3204
3122
  return luvio.storeBroadcast().then(() => snapshot);
3205
3123
  }, () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
3206
3124
  }, (response) => {
3207
- deepFreeze$b(response);
3125
+ deepFreeze(response);
3208
3126
  throw response;
3209
3127
  });
3210
3128
  }
@@ -3239,6 +3157,7 @@ function ingestSuccess(luvio, resourceParams, response) {
3239
3157
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3240
3158
  }
3241
3159
  }
3160
+ deepFreeze(snapshot.data);
3242
3161
  return snapshot;
3243
3162
  }
3244
3163
  function createResourceRequest(config) {
@@ -3309,7 +3228,7 @@ function buildNetworkSnapshot(luvio, config, options) {
3309
3228
  return luvio.storeBroadcast().then(() => snapshot);
3310
3229
  }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
3311
3230
  }, (response) => {
3312
- deepFreeze$b(response);
3231
+ deepFreeze(response);
3313
3232
  throw response;
3314
3233
  });
3315
3234
  }
@@ -3414,4 +3333,4 @@ withDefaultLuvio((luvio) => {
3414
3333
  });
3415
3334
 
3416
3335
  export { checkIn, checkoutContractDocumentVersion, createContractDocumentVersionAndInitializeGenerateDocumentProcess, deleteAttachment, executeContractAction, getContentDocument, getContentDocumentNotifyChange, getContentDocument_imperative, getContractActions, getContractActionsNotifyChange, getContractActions_imperative, getContractDocumentVersion, getContractDocumentVersion_imperative, getDocumentGenerationProcessDetails, getDocumentGenerationProcessDetails_imperative, getTemplates, getTemplates_imperative, lockContractDocumentVersion, saveExternalDocument, unlock, updateContractDocumentVersionWithTemplate };
3417
- // version: 1.134.6-a88a77801
3336
+ // version: 1.134.8-c3d6d2cfc