@salesforce/lds-adapters-industries-einstein-aiaccelerator 1.134.7 → 1.134.9

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 (35) hide show
  1. package/dist/es/es2018/industries-einstein-aiaccelerator.js +7 -235
  2. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
  3. package/dist/es/es2018/types/src/generated/types/Column.d.ts +0 -1
  4. package/dist/es/es2018/types/src/generated/types/ColumnMapWrap.d.ts +0 -1
  5. package/dist/es/es2018/types/src/generated/types/Error.d.ts +0 -1
  6. package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersList.d.ts +0 -1
  7. package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersMapValue.d.ts +0 -1
  8. package/dist/es/es2018/types/src/generated/types/Insight.d.ts +0 -1
  9. package/dist/es/es2018/types/src/generated/types/InsightsSettingsMap.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/types/ModelFeature.d.ts +0 -1
  11. package/dist/es/es2018/types/src/generated/types/NullableColumnMap.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/types/NullableFeatureExtractionParametersMapValue.d.ts +0 -1
  13. package/dist/es/es2018/types/src/generated/types/NullableInsightsSettingsMap.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/types/NullableModel.d.ts +0 -1
  15. package/dist/es/es2018/types/src/generated/types/Prediction.d.ts +0 -1
  16. package/dist/es/es2018/types/src/generated/types/PredictionInputRepresentation.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/types/PredictionInputWrapperRepresentation.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/types/PredictionObject.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/types/PredictionOutputRepresentation.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/types/Prescription.d.ts +0 -1
  21. package/dist/es/es2018/types/src/generated/types/RawDataInputRepresentation.d.ts +0 -1
  22. package/dist/es/es2018/types/src/generated/types/RawDataInputWrap.d.ts +0 -1
  23. package/dist/es/es2018/types/src/generated/types/RawDataList.d.ts +0 -1
  24. package/dist/es/es2018/types/src/generated/types/RcmdStrategyResult.d.ts +0 -1
  25. package/dist/es/es2018/types/src/generated/types/Recommendation.d.ts +0 -1
  26. package/dist/es/es2018/types/src/generated/types/RecommendationActionParam.d.ts +0 -1
  27. package/dist/es/es2018/types/src/generated/types/RecommendationInputRepresentation.d.ts +0 -1
  28. package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts +0 -1
  29. package/dist/es/es2018/types/src/generated/types/RecommendationOutputRepresentation.d.ts +0 -1
  30. package/dist/es/es2018/types/src/generated/types/Status.d.ts +0 -1
  31. package/dist/es/es2018/types/src/generated/types/Suggestion.d.ts +0 -1
  32. package/dist/es/es2018/types/src/generated/types/WrappedList.d.ts +0 -1
  33. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
  34. package/package.json +1 -1
  35. package/sfdc/index.js +8 -236
@@ -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.
@@ -43,27 +43,9 @@ function areRequiredParametersPresent(config, configPropertyNames) {
43
43
  }
44
44
  const keyPrefix = 'Einstein-AIAccelerator';
45
45
 
46
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
46
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
47
47
  const { isArray: ArrayIsArray } = Array;
48
48
  const { stringify: JSONStringify } = JSON;
49
- function deepFreeze$e(value) {
50
- // No need to freeze primitives
51
- if (typeof value !== 'object' || value === null) {
52
- return;
53
- }
54
- if (ArrayIsArray(value)) {
55
- for (let i = 0, len = value.length; i < len; i += 1) {
56
- deepFreeze$e(value[i]);
57
- }
58
- }
59
- else {
60
- const keys = ObjectKeys(value);
61
- for (let i = 0, len = keys.length; i < len; i += 1) {
62
- deepFreeze$e(value[keys[i]]);
63
- }
64
- }
65
- ObjectFreeze(value);
66
- }
67
49
  function createLink(ref) {
68
50
  return {
69
51
  __ref: serializeStructuredKey(ref),
@@ -1205,9 +1187,6 @@ function validate$e(obj, path = 'ModelFeature') {
1205
1187
  })();
1206
1188
  return v_error === undefined ? null : v_error;
1207
1189
  }
1208
- function deepFreeze$d(input) {
1209
- ObjectFreeze(input);
1210
- }
1211
1190
 
1212
1191
  function validate$d(obj, path = 'NullableModel') {
1213
1192
  const v_error = (() => {
@@ -1247,14 +1226,6 @@ function validate$d(obj, path = 'NullableModel') {
1247
1226
  })();
1248
1227
  return v_error === undefined ? null : v_error;
1249
1228
  }
1250
- function deepFreeze$c(input) {
1251
- const input_keys = Object.keys(input);
1252
- const input_length = input_keys.length;
1253
- for (let i = 0; i < input_length; i++) {
1254
- input_keys[i];
1255
- }
1256
- ObjectFreeze(input);
1257
- }
1258
1229
 
1259
1230
  function validate$c(obj, path = 'Column') {
1260
1231
  const v_error = (() => {
@@ -1376,9 +1347,6 @@ function validate$c(obj, path = 'Column') {
1376
1347
  })();
1377
1348
  return v_error === undefined ? null : v_error;
1378
1349
  }
1379
- function deepFreeze$b(input) {
1380
- ObjectFreeze(input);
1381
- }
1382
1350
 
1383
1351
  function validate$b(obj, path = 'Insight') {
1384
1352
  const v_error = (() => {
@@ -1429,19 +1397,6 @@ function validate$b(obj, path = 'Insight') {
1429
1397
  })();
1430
1398
  return v_error === undefined ? null : v_error;
1431
1399
  }
1432
- function deepFreeze$a(input) {
1433
- const input_columns = input.columns;
1434
- if (input_columns !== undefined) {
1435
- for (let i = 0; i < input_columns.length; i++) {
1436
- const input_columns_item = input_columns[i];
1437
- if (input_columns_item !== null && typeof input_columns_item === 'object') {
1438
- deepFreeze$b(input_columns_item);
1439
- }
1440
- }
1441
- ObjectFreeze(input_columns);
1442
- }
1443
- ObjectFreeze(input);
1444
- }
1445
1400
 
1446
1401
  function validate$a(obj, path = 'Prediction') {
1447
1402
  const v_error = (() => {
@@ -1568,35 +1523,6 @@ function validate$a(obj, path = 'Prediction') {
1568
1523
  })();
1569
1524
  return v_error === undefined ? null : v_error;
1570
1525
  }
1571
- function deepFreeze$9(input) {
1572
- const input_insights = input.insights;
1573
- if (input_insights !== undefined) {
1574
- for (let i = 0; i < input_insights.length; i++) {
1575
- const input_insights_item = input_insights[i];
1576
- if (input_insights_item !== null && typeof input_insights_item === 'object') {
1577
- deepFreeze$a(input_insights_item);
1578
- }
1579
- }
1580
- ObjectFreeze(input_insights);
1581
- }
1582
- const input_missingColumns = input.missingColumns;
1583
- if (input_missingColumns !== undefined) {
1584
- for (let i = 0; i < input_missingColumns.length; i++) {
1585
- }
1586
- ObjectFreeze(input_missingColumns);
1587
- }
1588
- const input_outOfBoundsColumns = input.outOfBoundsColumns;
1589
- if (input_outOfBoundsColumns !== undefined) {
1590
- for (let i = 0; i < input_outOfBoundsColumns.length; i++) {
1591
- const input_outOfBoundsColumns_item = input_outOfBoundsColumns[i];
1592
- if (input_outOfBoundsColumns_item !== null && typeof input_outOfBoundsColumns_item === 'object') {
1593
- deepFreeze$b(input_outOfBoundsColumns_item);
1594
- }
1595
- }
1596
- ObjectFreeze(input_outOfBoundsColumns);
1597
- }
1598
- ObjectFreeze(input);
1599
- }
1600
1526
 
1601
1527
  function validate$9(obj, path = 'Suggestion') {
1602
1528
  const v_error = (() => {
@@ -1647,19 +1573,6 @@ function validate$9(obj, path = 'Suggestion') {
1647
1573
  })();
1648
1574
  return v_error === undefined ? null : v_error;
1649
1575
  }
1650
- function deepFreeze$8(input) {
1651
- const input_columns = input.columns;
1652
- if (input_columns !== undefined) {
1653
- for (let i = 0; i < input_columns.length; i++) {
1654
- const input_columns_item = input_columns[i];
1655
- if (input_columns_item !== null && typeof input_columns_item === 'object') {
1656
- deepFreeze$b(input_columns_item);
1657
- }
1658
- }
1659
- ObjectFreeze(input_columns);
1660
- }
1661
- ObjectFreeze(input);
1662
- }
1663
1576
 
1664
1577
  function validate$8(obj, path = 'PredictionObject') {
1665
1578
  const v_error = (() => {
@@ -1795,31 +1708,6 @@ function validate$8(obj, path = 'PredictionObject') {
1795
1708
  })();
1796
1709
  return v_error === undefined ? null : v_error;
1797
1710
  }
1798
- function deepFreeze$7(input) {
1799
- const input_model = input.model;
1800
- if (input_model !== undefined) {
1801
- if (input_model !== null && typeof input_model === 'object') {
1802
- deepFreeze$c(input_model);
1803
- }
1804
- }
1805
- const input_prediction = input.prediction;
1806
- if (input_prediction !== undefined) {
1807
- if (input_prediction !== null && typeof input_prediction === 'object') {
1808
- deepFreeze$9(input_prediction);
1809
- }
1810
- }
1811
- const input_suggestions = input.suggestions;
1812
- if (input_suggestions !== undefined) {
1813
- for (let i = 0; i < input_suggestions.length; i++) {
1814
- const input_suggestions_item = input_suggestions[i];
1815
- if (input_suggestions_item !== null && typeof input_suggestions_item === 'object') {
1816
- deepFreeze$8(input_suggestions_item);
1817
- }
1818
- }
1819
- ObjectFreeze(input_suggestions);
1820
- }
1821
- ObjectFreeze(input);
1822
- }
1823
1711
 
1824
1712
  function validate$7(obj, path = 'Status') {
1825
1713
  const v_error = (() => {
@@ -1839,9 +1727,6 @@ function validate$7(obj, path = 'Status') {
1839
1727
  })();
1840
1728
  return v_error === undefined ? null : v_error;
1841
1729
  }
1842
- function deepFreeze$6(input) {
1843
- ObjectFreeze(input);
1844
- }
1845
1730
 
1846
1731
  const TTL$1 = 1000;
1847
1732
  const VERSION$1 = "f32ecc98b5cd30fb5680de162a64308a";
@@ -2389,52 +2274,6 @@ function equals$1(existing, incoming) {
2389
2274
  }
2390
2275
  return true;
2391
2276
  }
2392
- function deepFreeze$5(input) {
2393
- const input_insightsSettings = input.insightsSettings;
2394
- if (input_insightsSettings !== undefined) {
2395
- const input_insightsSettings_keys = Object.keys(input_insightsSettings);
2396
- const input_insightsSettings_length = input_insightsSettings_keys.length;
2397
- for (let i = 0; i < input_insightsSettings_length; i++) {
2398
- input_insightsSettings_keys[i];
2399
- }
2400
- ObjectFreeze(input_insightsSettings);
2401
- }
2402
- const input_modelFeatures = input.modelFeatures;
2403
- if (input_modelFeatures !== undefined) {
2404
- for (let i = 0; i < input_modelFeatures.length; i++) {
2405
- const input_modelFeatures_item = input_modelFeatures[i];
2406
- if (input_modelFeatures_item !== null && typeof input_modelFeatures_item === 'object') {
2407
- deepFreeze$d(input_modelFeatures_item);
2408
- }
2409
- }
2410
- ObjectFreeze(input_modelFeatures);
2411
- }
2412
- const input_predictions = input.predictions;
2413
- if (input_predictions !== undefined) {
2414
- for (let i = 0; i < input_predictions.length; i++) {
2415
- const input_predictions_item = input_predictions[i];
2416
- if (input_predictions_item !== null && typeof input_predictions_item === 'object') {
2417
- deepFreeze$7(input_predictions_item);
2418
- }
2419
- }
2420
- ObjectFreeze(input_predictions);
2421
- }
2422
- const input_primaryResponseObjRecordIds = input.primaryResponseObjRecordIds;
2423
- if (input_primaryResponseObjRecordIds !== undefined) {
2424
- for (let i = 0; i < input_primaryResponseObjRecordIds.length; i++) {
2425
- }
2426
- ObjectFreeze(input_primaryResponseObjRecordIds);
2427
- }
2428
- const input_secondaryResponseObjRecordIds = input.secondaryResponseObjRecordIds;
2429
- if (input_secondaryResponseObjRecordIds !== undefined) {
2430
- for (let i = 0; i < input_secondaryResponseObjRecordIds.length; i++) {
2431
- }
2432
- ObjectFreeze(input_secondaryResponseObjRecordIds);
2433
- }
2434
- const input_status = input.status;
2435
- deepFreeze$6(input_status);
2436
- ObjectFreeze(input);
2437
- }
2438
2277
  const ingest$1 = function PredictionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2439
2278
  if (process.env.NODE_ENV !== 'production') {
2440
2279
  const validateError = validate$6(input);
@@ -2451,7 +2290,6 @@ const ingest$1 = function PredictionOutputRepresentationIngest(input, path, luvi
2451
2290
  propertyName: path.propertyName,
2452
2291
  ttl: ttlToUse
2453
2292
  });
2454
- deepFreeze$5(input);
2455
2293
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
2456
2294
  luvio.storePublish(key, incomingRecord);
2457
2295
  }
@@ -2498,6 +2336,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
2498
2336
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2499
2337
  }
2500
2338
  }
2339
+ deepFreeze(snapshot.data);
2501
2340
  return snapshot;
2502
2341
  }
2503
2342
  function createResourceRequest$1(config) {
@@ -2561,7 +2400,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
2561
2400
  return luvio.storeBroadcast().then(() => snapshot);
2562
2401
  }, () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
2563
2402
  }, (response) => {
2564
- deepFreeze$e(response);
2403
+ deepFreeze(response);
2565
2404
  throw response;
2566
2405
  });
2567
2406
  }
@@ -2866,9 +2705,6 @@ function validate$4(obj, path = 'Error') {
2866
2705
  })();
2867
2706
  return v_error === undefined ? null : v_error;
2868
2707
  }
2869
- function deepFreeze$4(input) {
2870
- ObjectFreeze(input);
2871
- }
2872
2708
 
2873
2709
  function validate$3(obj, path = 'RecommendationActionParam') {
2874
2710
  const v_error = (() => {
@@ -2941,13 +2777,6 @@ function validate$3(obj, path = 'RecommendationActionParam') {
2941
2777
  })();
2942
2778
  return v_error === undefined ? null : v_error;
2943
2779
  }
2944
- function deepFreeze$3(input) {
2945
- const input_value = input.value;
2946
- if (input_value !== undefined) {
2947
- deepFreeze$e(input_value);
2948
- }
2949
- ObjectFreeze(input);
2950
- }
2951
2780
 
2952
2781
  function validate$2(obj, path = 'Recommendation') {
2953
2782
  const v_error = (() => {
@@ -3275,19 +3104,6 @@ function validate$2(obj, path = 'Recommendation') {
3275
3104
  })();
3276
3105
  return v_error === undefined ? null : v_error;
3277
3106
  }
3278
- function deepFreeze$2(input) {
3279
- const input_actionStrategyParameters = input.actionStrategyParameters;
3280
- if (input_actionStrategyParameters !== undefined) {
3281
- for (let i = 0; i < input_actionStrategyParameters.length; i++) {
3282
- const input_actionStrategyParameters_item = input_actionStrategyParameters[i];
3283
- if (input_actionStrategyParameters_item !== null && typeof input_actionStrategyParameters_item === 'object') {
3284
- deepFreeze$3(input_actionStrategyParameters_item);
3285
- }
3286
- }
3287
- ObjectFreeze(input_actionStrategyParameters);
3288
- }
3289
- ObjectFreeze(input);
3290
- }
3291
3107
 
3292
3108
  function validate$1(obj, path = 'RcmdStrategyResult') {
3293
3109
  const v_error = (() => {
@@ -3458,29 +3274,6 @@ function validate$1(obj, path = 'RcmdStrategyResult') {
3458
3274
  })();
3459
3275
  return v_error === undefined ? null : v_error;
3460
3276
  }
3461
- function deepFreeze$1(input) {
3462
- const input_errors = input.errors;
3463
- if (input_errors !== undefined) {
3464
- for (let i = 0; i < input_errors.length; i++) {
3465
- const input_errors_item = input_errors[i];
3466
- if (input_errors_item !== null && typeof input_errors_item === 'object') {
3467
- deepFreeze$4(input_errors_item);
3468
- }
3469
- }
3470
- ObjectFreeze(input_errors);
3471
- }
3472
- const input_recommendations = input.recommendations;
3473
- if (input_recommendations !== undefined) {
3474
- for (let i = 0; i < input_recommendations.length; i++) {
3475
- const input_recommendations_item = input_recommendations[i];
3476
- if (input_recommendations_item !== null && typeof input_recommendations_item === 'object') {
3477
- deepFreeze$2(input_recommendations_item);
3478
- }
3479
- }
3480
- ObjectFreeze(input_recommendations);
3481
- }
3482
- ObjectFreeze(input);
3483
- }
3484
3277
 
3485
3278
  const TTL = 1000;
3486
3279
  const VERSION = "aaf9d28bb6dd45e46359c8fa29159989";
@@ -3740,27 +3533,6 @@ function equals(existing, incoming) {
3740
3533
  }
3741
3534
  return true;
3742
3535
  }
3743
- function deepFreeze(input) {
3744
- const input_recommendationRecordIds = input.recommendationRecordIds;
3745
- if (input_recommendationRecordIds !== undefined) {
3746
- for (let i = 0; i < input_recommendationRecordIds.length; i++) {
3747
- }
3748
- ObjectFreeze(input_recommendationRecordIds);
3749
- }
3750
- const input_recommendationStrategyResult = input.recommendationStrategyResult;
3751
- if (input_recommendationStrategyResult !== undefined) {
3752
- for (let i = 0; i < input_recommendationStrategyResult.length; i++) {
3753
- const input_recommendationStrategyResult_item = input_recommendationStrategyResult[i];
3754
- if (input_recommendationStrategyResult_item !== null && typeof input_recommendationStrategyResult_item === 'object') {
3755
- deepFreeze$1(input_recommendationStrategyResult_item);
3756
- }
3757
- }
3758
- ObjectFreeze(input_recommendationStrategyResult);
3759
- }
3760
- const input_status = input.status;
3761
- deepFreeze$6(input_status);
3762
- ObjectFreeze(input);
3763
- }
3764
3536
  const ingest = function RecommendationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3765
3537
  if (process.env.NODE_ENV !== 'production') {
3766
3538
  const validateError = validate(input);
@@ -3777,7 +3549,6 @@ const ingest = function RecommendationOutputRepresentationIngest(input, path, lu
3777
3549
  propertyName: path.propertyName,
3778
3550
  ttl: ttlToUse
3779
3551
  });
3780
- deepFreeze(input);
3781
3552
  if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
3782
3553
  luvio.storePublish(key, incomingRecord);
3783
3554
  }
@@ -3824,6 +3595,7 @@ function ingestSuccess(luvio, resourceParams, response) {
3824
3595
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3825
3596
  }
3826
3597
  }
3598
+ deepFreeze(snapshot.data);
3827
3599
  return snapshot;
3828
3600
  }
3829
3601
  function createResourceRequest(config) {
@@ -3887,7 +3659,7 @@ function buildNetworkSnapshot(luvio, config, options) {
3887
3659
  return luvio.storeBroadcast().then(() => snapshot);
3888
3660
  }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
3889
3661
  }, (response) => {
3890
- deepFreeze$e(response);
3662
+ deepFreeze(response);
3891
3663
  throw response;
3892
3664
  });
3893
3665
  }
@@ -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 {
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: Column, existing: ColumnNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ColumnNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ColumnNormalized, incoming: ColumnNormalized): boolean;
8
- export declare function deepFreeze(input: Column): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Column, 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: ColumnMapWrap, existing: ColumnMapWrapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ColumnMapWrapNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: ColumnMapWrapNormalized, incoming: ColumnMapWrapNormalized): boolean;
9
- export declare function deepFreeze(input: ColumnMapWrap): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ColumnMapWrap, 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: Error, existing: ErrorNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ErrorNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ErrorNormalized, incoming: ErrorNormalized): boolean;
8
- export declare function deepFreeze(input: Error): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Error, 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: FeatureExtractionParametersList, existing: FeatureExtractionParametersListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FeatureExtractionParametersListNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: FeatureExtractionParametersListNormalized, incoming: FeatureExtractionParametersListNormalized): boolean;
9
- export declare function deepFreeze(input: FeatureExtractionParametersList): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FeatureExtractionParametersList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: FeatureExtractionParametersMapValue, existing: FeatureExtractionParametersMapValueNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FeatureExtractionParametersMapValueNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: FeatureExtractionParametersMapValueNormalized, incoming: FeatureExtractionParametersMapValueNormalized): boolean;
9
- export declare function deepFreeze(input: FeatureExtractionParametersMapValue): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FeatureExtractionParametersMapValue, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: Insight, existing: InsightNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InsightNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: InsightNormalized, incoming: InsightNormalized): boolean;
9
- export declare function deepFreeze(input: Insight): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Insight, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: InsightsSettingsMap, existing: InsightsSettingsMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InsightsSettingsMapNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: InsightsSettingsMapNormalized, incoming: InsightsSettingsMapNormalized): boolean;
9
- export declare function deepFreeze(input: InsightsSettingsMap): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: InsightsSettingsMap, 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: ModelFeature, existing: ModelFeatureNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ModelFeatureNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ModelFeatureNormalized, incoming: ModelFeatureNormalized): boolean;
8
- export declare function deepFreeze(input: ModelFeature): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ModelFeature, 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: NullableColumnMap, existing: NullableColumnMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableColumnMapNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: NullableColumnMapNormalized, incoming: NullableColumnMapNormalized): boolean;
8
- export declare function deepFreeze(input: NullableColumnMap): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NullableColumnMap, 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: NullableFeatureExtractionParametersMapValue, existing: NullableFeatureExtractionParametersMapValueNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableFeatureExtractionParametersMapValueNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: NullableFeatureExtractionParametersMapValueNormalized, incoming: NullableFeatureExtractionParametersMapValueNormalized): boolean;
8
- export declare function deepFreeze(input: NullableFeatureExtractionParametersMapValue): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NullableFeatureExtractionParametersMapValue, 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: NullableInsightsSettingsMap, existing: NullableInsightsSettingsMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableInsightsSettingsMapNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: NullableInsightsSettingsMapNormalized, incoming: NullableInsightsSettingsMapNormalized): boolean;
8
- export declare function deepFreeze(input: NullableInsightsSettingsMap): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NullableInsightsSettingsMap, 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: NullableModel, existing: NullableModelNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableModelNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: NullableModelNormalized, incoming: NullableModelNormalized): boolean;
8
- export declare function deepFreeze(input: NullableModel): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NullableModel, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
7
7
  export declare function normalize(input: Prediction, existing: PredictionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionNormalized;
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: PredictionNormalized, incoming: PredictionNormalized): boolean;
10
- export declare function deepFreeze(input: Prediction): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Prediction, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -10,7 +10,6 @@ export declare const RepresentationType: string;
10
10
  export declare function normalize(input: PredictionInputRepresentation, existing: PredictionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionInputRepresentationNormalized;
11
11
  export declare const select: () => $64$luvio_engine_FragmentSelection;
12
12
  export declare function equals(existing: PredictionInputRepresentationNormalized, incoming: PredictionInputRepresentationNormalized): boolean;
13
- export declare function deepFreeze(input: PredictionInputRepresentation): void;
14
13
  export declare const ingest: $64$luvio_engine_ResourceIngest;
15
14
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
16
15
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: PredictionInputWrapperRepresentation, existing: PredictionInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionInputWrapperRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: PredictionInputWrapperRepresentationNormalized, incoming: PredictionInputWrapperRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: PredictionInputWrapperRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -8,7 +8,6 @@ export declare const RepresentationType: string;
8
8
  export declare function normalize(input: PredictionObject, existing: PredictionObjectNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionObjectNormalized;
9
9
  export declare const select: () => $64$luvio_engine_FragmentSelection;
10
10
  export declare function equals(existing: PredictionObjectNormalized, incoming: PredictionObjectNormalized): boolean;
11
- export declare function deepFreeze(input: PredictionObject): void;
12
11
  export declare const ingest: $64$luvio_engine_ResourceIngest;
13
12
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionObject, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
14
13
  /**
@@ -18,7 +18,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
18
18
  export declare function normalize(input: PredictionOutputRepresentation, existing: PredictionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionOutputRepresentationNormalized;
19
19
  export declare const select: () => $64$luvio_engine_BaseFragment;
20
20
  export declare function equals(existing: PredictionOutputRepresentationNormalized, incoming: PredictionOutputRepresentationNormalized): boolean;
21
- export declare function deepFreeze(input: PredictionOutputRepresentation): void;
22
21
  export declare const ingest: $64$luvio_engine_ResourceIngest;
23
22
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
24
23
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: Prescription, existing: PrescriptionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PrescriptionNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: PrescriptionNormalized, incoming: PrescriptionNormalized): boolean;
9
- export declare function deepFreeze(input: Prescription): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Prescription, 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: RawDataInputRepresentation, existing: RawDataInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RawDataInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: RawDataInputRepresentationNormalized, incoming: RawDataInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: RawDataInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RawDataInputRepresentation, 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: RawDataInputWrap, existing: RawDataInputWrapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RawDataInputWrapNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: RawDataInputWrapNormalized, incoming: RawDataInputWrapNormalized): boolean;
9
- export declare function deepFreeze(input: RawDataInputWrap): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RawDataInputWrap, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: RawDataList, existing: RawDataListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RawDataListNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: RawDataListNormalized, incoming: RawDataListNormalized): boolean;
9
- export declare function deepFreeze(input: RawDataList): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RawDataList, 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: RcmdStrategyResult, existing: RcmdStrategyResultNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RcmdStrategyResultNormalized;
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: RcmdStrategyResultNormalized, incoming: RcmdStrategyResultNormalized): boolean;
10
- export declare function deepFreeze(input: RcmdStrategyResult): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RcmdStrategyResult, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: Recommendation, existing: RecommendationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: RecommendationNormalized, incoming: RecommendationNormalized): boolean;
9
- export declare function deepFreeze(input: Recommendation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Recommendation, 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: RecommendationActionParam, existing: RecommendationActionParamNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationActionParamNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: RecommendationActionParamNormalized, incoming: RecommendationActionParamNormalized): boolean;
8
- export declare function deepFreeze(input: RecommendationActionParam): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationActionParam, 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: RecommendationInputRepresentation, existing: RecommendationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: RecommendationInputRepresentationNormalized, incoming: RecommendationInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: RecommendationInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationInputRepresentation, 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: RecommendationInputWrapperRepresentation, existing: RecommendationInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationInputWrapperRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: RecommendationInputWrapperRepresentationNormalized, incoming: RecommendationInputWrapperRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: RecommendationInputWrapperRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -17,7 +17,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
17
17
  export declare function normalize(input: RecommendationOutputRepresentation, existing: RecommendationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationOutputRepresentationNormalized;
18
18
  export declare const select: () => $64$luvio_engine_BaseFragment;
19
19
  export declare function equals(existing: RecommendationOutputRepresentationNormalized, incoming: RecommendationOutputRepresentationNormalized): boolean;
20
- export declare function deepFreeze(input: RecommendationOutputRepresentation): void;
21
20
  export declare const ingest: $64$luvio_engine_ResourceIngest;
22
21
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
23
22
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: Status, existing: StatusNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StatusNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: StatusNormalized, incoming: StatusNormalized): boolean;
8
- export declare function deepFreeze(input: Status): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Status, 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: Suggestion, existing: SuggestionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SuggestionNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: SuggestionNormalized, incoming: SuggestionNormalized): boolean;
9
- export declare function deepFreeze(input: Suggestion): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Suggestion, 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: WrappedList, existing: WrappedListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WrappedListNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: WrappedListNormalized, incoming: WrappedListNormalized): boolean;
8
- export declare function deepFreeze(input: WrappedList): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: WrappedList, 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-einstein-aiaccelerator",
3
- "version": "1.134.7",
3
+ "version": "1.134.9",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "AI Accelerator Connect API to make predictions",
6
6
  "main": "dist/es/es2018/industries-einstein-aiaccelerator.js",
package/sfdc/index.js CHANGED
@@ -13,10 +13,10 @@
13
13
  */
14
14
  /* proxy-compat-disable */
15
15
  import { withDefaultLuvio } from 'force/ldsEngine';
16
- import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
16
+ import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
17
17
 
18
18
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
19
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
19
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
20
20
  const { isArray: ArrayIsArray$1 } = Array;
21
21
  /**
22
22
  * Validates an adapter config is well-formed.
@@ -52,27 +52,9 @@ function areRequiredParametersPresent(config, configPropertyNames) {
52
52
  }
53
53
  const keyPrefix = 'Einstein-AIAccelerator';
54
54
 
55
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
55
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
56
56
  const { isArray: ArrayIsArray } = Array;
57
57
  const { stringify: JSONStringify } = JSON;
58
- function deepFreeze$e(value) {
59
- // No need to freeze primitives
60
- if (typeof value !== 'object' || value === null) {
61
- return;
62
- }
63
- if (ArrayIsArray(value)) {
64
- for (let i = 0, len = value.length; i < len; i += 1) {
65
- deepFreeze$e(value[i]);
66
- }
67
- }
68
- else {
69
- const keys = ObjectKeys(value);
70
- for (let i = 0, len = keys.length; i < len; i += 1) {
71
- deepFreeze$e(value[keys[i]]);
72
- }
73
- }
74
- ObjectFreeze(value);
75
- }
76
58
  function createLink(ref) {
77
59
  return {
78
60
  __ref: serializeStructuredKey(ref),
@@ -369,9 +351,6 @@ function validate$p(obj, path = 'Error') {
369
351
  })();
370
352
  return v_error === undefined ? null : v_error;
371
353
  }
372
- function deepFreeze$d(input) {
373
- ObjectFreeze(input);
374
- }
375
354
 
376
355
  function validate$o(obj, path = 'RecommendationActionParam') {
377
356
  const v_error = (() => {
@@ -444,13 +423,6 @@ function validate$o(obj, path = 'RecommendationActionParam') {
444
423
  })();
445
424
  return v_error === undefined ? null : v_error;
446
425
  }
447
- function deepFreeze$c(input) {
448
- const input_value = input.value;
449
- if (input_value !== undefined) {
450
- deepFreeze$e(input_value);
451
- }
452
- ObjectFreeze(input);
453
- }
454
426
 
455
427
  function validate$n(obj, path = 'Recommendation') {
456
428
  const v_error = (() => {
@@ -778,19 +750,6 @@ function validate$n(obj, path = 'Recommendation') {
778
750
  })();
779
751
  return v_error === undefined ? null : v_error;
780
752
  }
781
- function deepFreeze$b(input) {
782
- const input_actionStrategyParameters = input.actionStrategyParameters;
783
- if (input_actionStrategyParameters !== undefined) {
784
- for (let i = 0; i < input_actionStrategyParameters.length; i++) {
785
- const input_actionStrategyParameters_item = input_actionStrategyParameters[i];
786
- if (input_actionStrategyParameters_item !== null && typeof input_actionStrategyParameters_item === 'object') {
787
- deepFreeze$c(input_actionStrategyParameters_item);
788
- }
789
- }
790
- ObjectFreeze(input_actionStrategyParameters);
791
- }
792
- ObjectFreeze(input);
793
- }
794
753
 
795
754
  function validate$m(obj, path = 'RcmdStrategyResult') {
796
755
  const v_error = (() => {
@@ -961,29 +920,6 @@ function validate$m(obj, path = 'RcmdStrategyResult') {
961
920
  })();
962
921
  return v_error === undefined ? null : v_error;
963
922
  }
964
- function deepFreeze$a(input) {
965
- const input_errors = input.errors;
966
- if (input_errors !== undefined) {
967
- for (let i = 0; i < input_errors.length; i++) {
968
- const input_errors_item = input_errors[i];
969
- if (input_errors_item !== null && typeof input_errors_item === 'object') {
970
- deepFreeze$d(input_errors_item);
971
- }
972
- }
973
- ObjectFreeze(input_errors);
974
- }
975
- const input_recommendations = input.recommendations;
976
- if (input_recommendations !== undefined) {
977
- for (let i = 0; i < input_recommendations.length; i++) {
978
- const input_recommendations_item = input_recommendations[i];
979
- if (input_recommendations_item !== null && typeof input_recommendations_item === 'object') {
980
- deepFreeze$b(input_recommendations_item);
981
- }
982
- }
983
- ObjectFreeze(input_recommendations);
984
- }
985
- ObjectFreeze(input);
986
- }
987
923
 
988
924
  function validate$l(obj, path = 'Status') {
989
925
  const v_error = (() => {
@@ -1003,9 +939,6 @@ function validate$l(obj, path = 'Status') {
1003
939
  })();
1004
940
  return v_error === undefined ? null : v_error;
1005
941
  }
1006
- function deepFreeze$9(input) {
1007
- ObjectFreeze(input);
1008
- }
1009
942
 
1010
943
  const TTL$1 = 1000;
1011
944
  const VERSION$1 = "aaf9d28bb6dd45e46359c8fa29159989";
@@ -1265,27 +1198,6 @@ function equals$1(existing, incoming) {
1265
1198
  }
1266
1199
  return true;
1267
1200
  }
1268
- function deepFreeze$8(input) {
1269
- const input_recommendationRecordIds = input.recommendationRecordIds;
1270
- if (input_recommendationRecordIds !== undefined) {
1271
- for (let i = 0; i < input_recommendationRecordIds.length; i++) {
1272
- }
1273
- ObjectFreeze(input_recommendationRecordIds);
1274
- }
1275
- const input_recommendationStrategyResult = input.recommendationStrategyResult;
1276
- if (input_recommendationStrategyResult !== undefined) {
1277
- for (let i = 0; i < input_recommendationStrategyResult.length; i++) {
1278
- const input_recommendationStrategyResult_item = input_recommendationStrategyResult[i];
1279
- if (input_recommendationStrategyResult_item !== null && typeof input_recommendationStrategyResult_item === 'object') {
1280
- deepFreeze$a(input_recommendationStrategyResult_item);
1281
- }
1282
- }
1283
- ObjectFreeze(input_recommendationStrategyResult);
1284
- }
1285
- const input_status = input.status;
1286
- deepFreeze$9(input_status);
1287
- ObjectFreeze(input);
1288
- }
1289
1201
  const ingest$1 = function RecommendationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1290
1202
  if (process.env.NODE_ENV !== 'production') {
1291
1203
  const validateError = validate$k(input);
@@ -1302,7 +1214,6 @@ const ingest$1 = function RecommendationOutputRepresentationIngest(input, path,
1302
1214
  propertyName: path.propertyName,
1303
1215
  ttl: ttlToUse
1304
1216
  });
1305
- deepFreeze$8(input);
1306
1217
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
1307
1218
  luvio.storePublish(key, incomingRecord);
1308
1219
  }
@@ -1349,6 +1260,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
1349
1260
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1350
1261
  }
1351
1262
  }
1263
+ deepFreeze(snapshot.data);
1352
1264
  return snapshot;
1353
1265
  }
1354
1266
  function createResourceRequest$1(config) {
@@ -1412,7 +1324,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1412
1324
  return luvio.storeBroadcast().then(() => snapshot);
1413
1325
  }, () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
1414
1326
  }, (response) => {
1415
- deepFreeze$e(response);
1327
+ deepFreeze(response);
1416
1328
  throw response;
1417
1329
  });
1418
1330
  }
@@ -2562,9 +2474,6 @@ function validate$7(obj, path = 'ModelFeature') {
2562
2474
  })();
2563
2475
  return v_error === undefined ? null : v_error;
2564
2476
  }
2565
- function deepFreeze$7(input) {
2566
- ObjectFreeze(input);
2567
- }
2568
2477
 
2569
2478
  function validate$6(obj, path = 'NullableModel') {
2570
2479
  const v_error = (() => {
@@ -2604,14 +2513,6 @@ function validate$6(obj, path = 'NullableModel') {
2604
2513
  })();
2605
2514
  return v_error === undefined ? null : v_error;
2606
2515
  }
2607
- function deepFreeze$6(input) {
2608
- const input_keys = Object.keys(input);
2609
- const input_length = input_keys.length;
2610
- for (let i = 0; i < input_length; i++) {
2611
- input_keys[i];
2612
- }
2613
- ObjectFreeze(input);
2614
- }
2615
2516
 
2616
2517
  function validate$5(obj, path = 'Column') {
2617
2518
  const v_error = (() => {
@@ -2733,9 +2634,6 @@ function validate$5(obj, path = 'Column') {
2733
2634
  })();
2734
2635
  return v_error === undefined ? null : v_error;
2735
2636
  }
2736
- function deepFreeze$5(input) {
2737
- ObjectFreeze(input);
2738
- }
2739
2637
 
2740
2638
  function validate$4(obj, path = 'Insight') {
2741
2639
  const v_error = (() => {
@@ -2786,19 +2684,6 @@ function validate$4(obj, path = 'Insight') {
2786
2684
  })();
2787
2685
  return v_error === undefined ? null : v_error;
2788
2686
  }
2789
- function deepFreeze$4(input) {
2790
- const input_columns = input.columns;
2791
- if (input_columns !== undefined) {
2792
- for (let i = 0; i < input_columns.length; i++) {
2793
- const input_columns_item = input_columns[i];
2794
- if (input_columns_item !== null && typeof input_columns_item === 'object') {
2795
- deepFreeze$5(input_columns_item);
2796
- }
2797
- }
2798
- ObjectFreeze(input_columns);
2799
- }
2800
- ObjectFreeze(input);
2801
- }
2802
2687
 
2803
2688
  function validate$3(obj, path = 'Prediction') {
2804
2689
  const v_error = (() => {
@@ -2925,35 +2810,6 @@ function validate$3(obj, path = 'Prediction') {
2925
2810
  })();
2926
2811
  return v_error === undefined ? null : v_error;
2927
2812
  }
2928
- function deepFreeze$3(input) {
2929
- const input_insights = input.insights;
2930
- if (input_insights !== undefined) {
2931
- for (let i = 0; i < input_insights.length; i++) {
2932
- const input_insights_item = input_insights[i];
2933
- if (input_insights_item !== null && typeof input_insights_item === 'object') {
2934
- deepFreeze$4(input_insights_item);
2935
- }
2936
- }
2937
- ObjectFreeze(input_insights);
2938
- }
2939
- const input_missingColumns = input.missingColumns;
2940
- if (input_missingColumns !== undefined) {
2941
- for (let i = 0; i < input_missingColumns.length; i++) {
2942
- }
2943
- ObjectFreeze(input_missingColumns);
2944
- }
2945
- const input_outOfBoundsColumns = input.outOfBoundsColumns;
2946
- if (input_outOfBoundsColumns !== undefined) {
2947
- for (let i = 0; i < input_outOfBoundsColumns.length; i++) {
2948
- const input_outOfBoundsColumns_item = input_outOfBoundsColumns[i];
2949
- if (input_outOfBoundsColumns_item !== null && typeof input_outOfBoundsColumns_item === 'object') {
2950
- deepFreeze$5(input_outOfBoundsColumns_item);
2951
- }
2952
- }
2953
- ObjectFreeze(input_outOfBoundsColumns);
2954
- }
2955
- ObjectFreeze(input);
2956
- }
2957
2813
 
2958
2814
  function validate$2(obj, path = 'Suggestion') {
2959
2815
  const v_error = (() => {
@@ -3004,19 +2860,6 @@ function validate$2(obj, path = 'Suggestion') {
3004
2860
  })();
3005
2861
  return v_error === undefined ? null : v_error;
3006
2862
  }
3007
- function deepFreeze$2(input) {
3008
- const input_columns = input.columns;
3009
- if (input_columns !== undefined) {
3010
- for (let i = 0; i < input_columns.length; i++) {
3011
- const input_columns_item = input_columns[i];
3012
- if (input_columns_item !== null && typeof input_columns_item === 'object') {
3013
- deepFreeze$5(input_columns_item);
3014
- }
3015
- }
3016
- ObjectFreeze(input_columns);
3017
- }
3018
- ObjectFreeze(input);
3019
- }
3020
2863
 
3021
2864
  function validate$1(obj, path = 'PredictionObject') {
3022
2865
  const v_error = (() => {
@@ -3152,31 +2995,6 @@ function validate$1(obj, path = 'PredictionObject') {
3152
2995
  })();
3153
2996
  return v_error === undefined ? null : v_error;
3154
2997
  }
3155
- function deepFreeze$1(input) {
3156
- const input_model = input.model;
3157
- if (input_model !== undefined) {
3158
- if (input_model !== null && typeof input_model === 'object') {
3159
- deepFreeze$6(input_model);
3160
- }
3161
- }
3162
- const input_prediction = input.prediction;
3163
- if (input_prediction !== undefined) {
3164
- if (input_prediction !== null && typeof input_prediction === 'object') {
3165
- deepFreeze$3(input_prediction);
3166
- }
3167
- }
3168
- const input_suggestions = input.suggestions;
3169
- if (input_suggestions !== undefined) {
3170
- for (let i = 0; i < input_suggestions.length; i++) {
3171
- const input_suggestions_item = input_suggestions[i];
3172
- if (input_suggestions_item !== null && typeof input_suggestions_item === 'object') {
3173
- deepFreeze$2(input_suggestions_item);
3174
- }
3175
- }
3176
- ObjectFreeze(input_suggestions);
3177
- }
3178
- ObjectFreeze(input);
3179
- }
3180
2998
 
3181
2999
  const TTL = 1000;
3182
3000
  const VERSION = "f32ecc98b5cd30fb5680de162a64308a";
@@ -3724,52 +3542,6 @@ function equals(existing, incoming) {
3724
3542
  }
3725
3543
  return true;
3726
3544
  }
3727
- function deepFreeze(input) {
3728
- const input_insightsSettings = input.insightsSettings;
3729
- if (input_insightsSettings !== undefined) {
3730
- const input_insightsSettings_keys = Object.keys(input_insightsSettings);
3731
- const input_insightsSettings_length = input_insightsSettings_keys.length;
3732
- for (let i = 0; i < input_insightsSettings_length; i++) {
3733
- input_insightsSettings_keys[i];
3734
- }
3735
- ObjectFreeze(input_insightsSettings);
3736
- }
3737
- const input_modelFeatures = input.modelFeatures;
3738
- if (input_modelFeatures !== undefined) {
3739
- for (let i = 0; i < input_modelFeatures.length; i++) {
3740
- const input_modelFeatures_item = input_modelFeatures[i];
3741
- if (input_modelFeatures_item !== null && typeof input_modelFeatures_item === 'object') {
3742
- deepFreeze$7(input_modelFeatures_item);
3743
- }
3744
- }
3745
- ObjectFreeze(input_modelFeatures);
3746
- }
3747
- const input_predictions = input.predictions;
3748
- if (input_predictions !== undefined) {
3749
- for (let i = 0; i < input_predictions.length; i++) {
3750
- const input_predictions_item = input_predictions[i];
3751
- if (input_predictions_item !== null && typeof input_predictions_item === 'object') {
3752
- deepFreeze$1(input_predictions_item);
3753
- }
3754
- }
3755
- ObjectFreeze(input_predictions);
3756
- }
3757
- const input_primaryResponseObjRecordIds = input.primaryResponseObjRecordIds;
3758
- if (input_primaryResponseObjRecordIds !== undefined) {
3759
- for (let i = 0; i < input_primaryResponseObjRecordIds.length; i++) {
3760
- }
3761
- ObjectFreeze(input_primaryResponseObjRecordIds);
3762
- }
3763
- const input_secondaryResponseObjRecordIds = input.secondaryResponseObjRecordIds;
3764
- if (input_secondaryResponseObjRecordIds !== undefined) {
3765
- for (let i = 0; i < input_secondaryResponseObjRecordIds.length; i++) {
3766
- }
3767
- ObjectFreeze(input_secondaryResponseObjRecordIds);
3768
- }
3769
- const input_status = input.status;
3770
- deepFreeze$9(input_status);
3771
- ObjectFreeze(input);
3772
- }
3773
3545
  const ingest = function PredictionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3774
3546
  if (process.env.NODE_ENV !== 'production') {
3775
3547
  const validateError = validate(input);
@@ -3786,7 +3558,6 @@ const ingest = function PredictionOutputRepresentationIngest(input, path, luvio,
3786
3558
  propertyName: path.propertyName,
3787
3559
  ttl: ttlToUse
3788
3560
  });
3789
- deepFreeze(input);
3790
3561
  if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
3791
3562
  luvio.storePublish(key, incomingRecord);
3792
3563
  }
@@ -3833,6 +3604,7 @@ function ingestSuccess(luvio, resourceParams, response) {
3833
3604
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3834
3605
  }
3835
3606
  }
3607
+ deepFreeze(snapshot.data);
3836
3608
  return snapshot;
3837
3609
  }
3838
3610
  function createResourceRequest(config) {
@@ -3896,7 +3668,7 @@ function buildNetworkSnapshot(luvio, config, options) {
3896
3668
  return luvio.storeBroadcast().then(() => snapshot);
3897
3669
  }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
3898
3670
  }, (response) => {
3899
- deepFreeze$e(response);
3671
+ deepFreeze(response);
3900
3672
  throw response;
3901
3673
  });
3902
3674
  }
@@ -3932,4 +3704,4 @@ withDefaultLuvio((luvio) => {
3932
3704
  });
3933
3705
 
3934
3706
  export { fetchRecommendations, predictions };
3935
- // version: 1.134.7-ed0df45ef
3707
+ // version: 1.134.9-fd822024c