@salesforce/lds-adapters-cdp-personalization-service 1.353.1 → 1.354.0-dev2

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.
@@ -8,7 +8,6 @@ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createRes
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
11
- const { stringify: JSONStringify$1 } = JSON;
12
11
  const { isArray: ArrayIsArray$1 } = Array;
13
12
  /**
14
13
  * Validates an adapter config is well-formed.
@@ -49,61 +48,6 @@ const snapshotRefreshOptions = {
49
48
  },
50
49
  }
51
50
  };
52
- /**
53
- * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
54
- * This is needed because insertion order for JSON.stringify(object) affects output:
55
- * JSON.stringify({a: 1, b: 2})
56
- * "{"a":1,"b":2}"
57
- * JSON.stringify({b: 2, a: 1})
58
- * "{"b":2,"a":1}"
59
- * @param data Data to be JSON-stringified.
60
- * @returns JSON.stringified value with consistent ordering of keys.
61
- */
62
- function stableJSONStringify(node) {
63
- // This is for Date values.
64
- if (node && node.toJSON && typeof node.toJSON === 'function') {
65
- // eslint-disable-next-line no-param-reassign
66
- node = node.toJSON();
67
- }
68
- if (node === undefined) {
69
- return;
70
- }
71
- if (typeof node === 'number') {
72
- return isFinite(node) ? '' + node : 'null';
73
- }
74
- if (typeof node !== 'object') {
75
- return JSONStringify$1(node);
76
- }
77
- let i;
78
- let out;
79
- if (ArrayIsArray$1(node)) {
80
- out = '[';
81
- for (i = 0; i < node.length; i++) {
82
- if (i) {
83
- out += ',';
84
- }
85
- out += stableJSONStringify(node[i]) || 'null';
86
- }
87
- return out + ']';
88
- }
89
- if (node === null) {
90
- return 'null';
91
- }
92
- const keys = ObjectKeys(node).sort();
93
- out = '';
94
- for (i = 0; i < keys.length; i++) {
95
- const key = keys[i];
96
- const value = stableJSONStringify(node[key]);
97
- if (!value) {
98
- continue;
99
- }
100
- if (out) {
101
- out += ',';
102
- }
103
- out += JSONStringify$1(key) + ':' + value;
104
- }
105
- return '{' + out + '}';
106
- }
107
51
  function generateParamConfigMetadata(name, required, resourceType, typeCheckShape, isArrayShape = false, coerceFn) {
108
52
  return {
109
53
  name,
@@ -148,7 +92,7 @@ function createLink(ref) {
148
92
  };
149
93
  }
150
94
 
151
- function validate$i(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
95
+ function validate$j(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
152
96
  const v_error = (() => {
153
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
154
98
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -239,7 +183,7 @@ function validate$i(obj, path = 'PersonalizationAttributeValueInputRepresentatio
239
183
  return v_error === undefined ? null : v_error;
240
184
  }
241
185
 
242
- function validate$h(obj, path = 'PersonalizationDecisionInputRepresentation') {
186
+ function validate$i(obj, path = 'PersonalizationDecisionInputRepresentation') {
243
187
  const v_error = (() => {
244
188
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
245
189
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -253,7 +197,7 @@ function validate$h(obj, path = 'PersonalizationDecisionInputRepresentation') {
253
197
  for (let i = 0; i < obj_attributeValues.length; i++) {
254
198
  const obj_attributeValues_item = obj_attributeValues[i];
255
199
  const path_attributeValues_item = path_attributeValues + '[' + i + ']';
256
- const referencepath_attributeValues_itemValidationError = validate$i(obj_attributeValues_item, path_attributeValues_item);
200
+ const referencepath_attributeValues_itemValidationError = validate$j(obj_attributeValues_item, path_attributeValues_item);
257
201
  if (referencepath_attributeValues_itemValidationError !== null) {
258
202
  let message = 'Object doesn\'t match PersonalizationAttributeValueInputRepresentation (at "' + path_attributeValues_item + '")\n';
259
203
  message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -428,7 +372,7 @@ function validate$h(obj, path = 'PersonalizationDecisionInputRepresentation') {
428
372
  }
429
373
 
430
374
  const VERSION$b = "52ea9c14b7a747a28cedbcff0e7ab169";
431
- function validate$g(obj, path = 'PersonalizationAttributeValueRepresentation') {
375
+ function validate$h(obj, path = 'PersonalizationAttributeValueRepresentation') {
432
376
  const v_error = (() => {
433
377
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
434
378
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -554,7 +498,7 @@ function equals$b(existing, incoming) {
554
498
  return true;
555
499
  }
556
500
 
557
- function validate$f(obj, path = 'FiltersWrapRepresentation') {
501
+ function validate$g(obj, path = 'FiltersWrapRepresentation') {
558
502
  const v_error = (() => {
559
503
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
560
504
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -633,7 +577,7 @@ function validate$f(obj, path = 'FiltersWrapRepresentation') {
633
577
  return v_error === undefined ? null : v_error;
634
578
  }
635
579
 
636
- function validate$e(obj, path = 'SubjectRepresentation') {
580
+ function validate$f(obj, path = 'SubjectRepresentation') {
637
581
  const v_error = (() => {
638
582
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
639
583
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -753,7 +697,7 @@ function validate$e(obj, path = 'SubjectRepresentation') {
753
697
  }
754
698
 
755
699
  const VERSION$a = "089c2877ffa367e376fe74f8d358ffa8";
756
- function validate$d(obj, path = 'FilterRepresentation') {
700
+ function validate$e(obj, path = 'FilterRepresentation') {
757
701
  const v_error = (() => {
758
702
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
759
703
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -791,7 +735,7 @@ function validate$d(obj, path = 'FilterRepresentation') {
791
735
  const path_comparison = path + '.comparison';
792
736
  let obj_comparison_union0 = null;
793
737
  const obj_comparison_union0_error = (() => {
794
- const referencepath_comparisonValidationError = validate$d(obj_comparison, path_comparison);
738
+ const referencepath_comparisonValidationError = validate$e(obj_comparison, path_comparison);
795
739
  if (referencepath_comparisonValidationError !== null) {
796
740
  let message = 'Object doesn\'t match FilterRepresentation (at "' + path_comparison + '")\n';
797
741
  message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -822,7 +766,7 @@ function validate$d(obj, path = 'FilterRepresentation') {
822
766
  const path_filter = path + '.filter';
823
767
  let obj_filter_union0 = null;
824
768
  const obj_filter_union0_error = (() => {
825
- const referencepath_filterValidationError = validate$f(obj_filter, path_filter);
769
+ const referencepath_filterValidationError = validate$g(obj_filter, path_filter);
826
770
  if (referencepath_filterValidationError !== null) {
827
771
  let message = 'Object doesn\'t match FiltersWrapRepresentation (at "' + path_filter + '")\n';
828
772
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -859,7 +803,7 @@ function validate$d(obj, path = 'FilterRepresentation') {
859
803
  const path_filters_item = path_filters + '[' + i + ']';
860
804
  let obj_filters_item_union0 = null;
861
805
  const obj_filters_item_union0_error = (() => {
862
- const referencepath_filters_itemValidationError = validate$d(obj_filters_item, path_filters_item);
806
+ const referencepath_filters_itemValidationError = validate$e(obj_filters_item, path_filters_item);
863
807
  if (referencepath_filters_itemValidationError !== null) {
864
808
  let message = 'Object doesn\'t match FilterRepresentation (at "' + path_filters_item + '")\n';
865
809
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -919,7 +863,7 @@ function validate$d(obj, path = 'FilterRepresentation') {
919
863
  const path_metric = path + '.metric';
920
864
  let obj_metric_union0 = null;
921
865
  const obj_metric_union0_error = (() => {
922
- const referencepath_metricValidationError = validate$e(obj_metric, path_metric);
866
+ const referencepath_metricValidationError = validate$f(obj_metric, path_metric);
923
867
  if (referencepath_metricValidationError !== null) {
924
868
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_metric + '")\n';
925
869
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -988,7 +932,7 @@ function validate$d(obj, path = 'FilterRepresentation') {
988
932
  for (let i = 0; i < obj_path_item.length; i++) {
989
933
  const obj_path_item_item = obj_path_item[i];
990
934
  const path_path_item_item = path_path_item + '[' + i + ']';
991
- const referencepath_path_item_itemValidationError = validate$e(obj_path_item_item, path_path_item_item);
935
+ const referencepath_path_item_itemValidationError = validate$f(obj_path_item_item, path_path_item_item);
992
936
  if (referencepath_path_item_itemValidationError !== null) {
993
937
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_path_item_item + '")\n';
994
938
  message += referencepath_path_item_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1086,7 +1030,7 @@ function validate$d(obj, path = 'FilterRepresentation') {
1086
1030
  const path_subject = path + '.subject';
1087
1031
  let obj_subject_union0 = null;
1088
1032
  const obj_subject_union0_error = (() => {
1089
- const referencepath_subjectValidationError = validate$e(obj_subject, path_subject);
1033
+ const referencepath_subjectValidationError = validate$f(obj_subject, path_subject);
1090
1034
  if (referencepath_subjectValidationError !== null) {
1091
1035
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_subject + '")\n';
1092
1036
  message += referencepath_subjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1205,7 +1149,7 @@ function equals$a(existing, incoming) {
1205
1149
  }
1206
1150
  const ingest$7 = function FilterRepresentationIngest(input, path, luvio, store, timestamp) {
1207
1151
  if (process.env.NODE_ENV !== 'production') {
1208
- const validateError = validate$d(input);
1152
+ const validateError = validate$e(input);
1209
1153
  if (validateError !== null) {
1210
1154
  throw validateError;
1211
1155
  }
@@ -1226,7 +1170,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
1226
1170
  }
1227
1171
 
1228
1172
  const VERSION$9 = "ea475f10b4c028f8b97a44af1cf0be14";
1229
- function validate$c(obj, path = 'CriteriaRepresentation') {
1173
+ function validate$d(obj, path = 'CriteriaRepresentation') {
1230
1174
  const v_error = (() => {
1231
1175
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1232
1176
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1324,7 +1268,7 @@ function equals$9(existing, incoming) {
1324
1268
  }
1325
1269
  const ingest$6 = function CriteriaRepresentationIngest(input, path, luvio, store, timestamp) {
1326
1270
  if (process.env.NODE_ENV !== 'production') {
1327
- const validateError = validate$c(input);
1271
+ const validateError = validate$d(input);
1328
1272
  if (validateError !== null) {
1329
1273
  throw validateError;
1330
1274
  }
@@ -1349,7 +1293,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1349
1293
  }
1350
1294
 
1351
1295
  const VERSION$8 = "265767af783b296f5f902d6ed447b168";
1352
- function validate$b(obj, path = 'PersonalizationDecisionRepresentation') {
1296
+ function validate$c(obj, path = 'PersonalizationDecisionRepresentation') {
1353
1297
  const v_error = (() => {
1354
1298
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1355
1299
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1362,7 +1306,7 @@ function validate$b(obj, path = 'PersonalizationDecisionRepresentation') {
1362
1306
  for (let i = 0; i < obj_attributeValues.length; i++) {
1363
1307
  const obj_attributeValues_item = obj_attributeValues[i];
1364
1308
  const path_attributeValues_item = path_attributeValues + '[' + i + ']';
1365
- const referencepath_attributeValues_itemValidationError = validate$g(obj_attributeValues_item, path_attributeValues_item);
1309
+ const referencepath_attributeValues_itemValidationError = validate$h(obj_attributeValues_item, path_attributeValues_item);
1366
1310
  if (referencepath_attributeValues_itemValidationError !== null) {
1367
1311
  let message = 'Object doesn\'t match PersonalizationAttributeValueRepresentation (at "' + path_attributeValues_item + '")\n';
1368
1312
  message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1848,7 +1792,7 @@ function equals$8(existing, incoming) {
1848
1792
  }
1849
1793
  const ingest$5 = function PersonalizationDecisionRepresentationIngest(input, path, luvio, store, timestamp) {
1850
1794
  if (process.env.NODE_ENV !== 'production') {
1851
- const validateError = validate$b(input);
1795
+ const validateError = validate$c(input);
1852
1796
  if (validateError !== null) {
1853
1797
  throw validateError;
1854
1798
  }
@@ -1873,7 +1817,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1873
1817
 
1874
1818
  const TTL$4 = 600;
1875
1819
  const VERSION$7 = "e5643ca13ef54c890c9177275a053de3";
1876
- function validate$a(obj, path = 'PersonalizationPointRepresentation') {
1820
+ function validate$b(obj, path = 'PersonalizationPointRepresentation') {
1877
1821
  const v_error = (() => {
1878
1822
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1879
1823
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2589,7 +2533,7 @@ function equals$7(existing, incoming) {
2589
2533
  }
2590
2534
  const ingest$4 = function PersonalizationPointRepresentationIngest(input, path, luvio, store, timestamp) {
2591
2535
  if (process.env.NODE_ENV !== 'production') {
2592
- const validateError = validate$a(input);
2536
+ const validateError = validate$b(input);
2593
2537
  if (validateError !== null) {
2594
2538
  throw validateError;
2595
2539
  }
@@ -2712,7 +2656,7 @@ function typeCheckConfig$9(untrustedConfig) {
2712
2656
  const untrustedConfig_decisions_array = [];
2713
2657
  for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
2714
2658
  const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
2715
- const referencePersonalizationDecisionInputRepresentationValidationError = validate$h(untrustedConfig_decisions_item);
2659
+ const referencePersonalizationDecisionInputRepresentationValidationError = validate$i(untrustedConfig_decisions_item);
2716
2660
  if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
2717
2661
  untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
2718
2662
  }
@@ -3129,7 +3073,7 @@ function typeCheckConfig$6(untrustedConfig) {
3129
3073
  const untrustedConfig_decisions_array = [];
3130
3074
  for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
3131
3075
  const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
3132
- const referencePersonalizationDecisionInputRepresentationValidationError = validate$h(untrustedConfig_decisions_item);
3076
+ const referencePersonalizationDecisionInputRepresentationValidationError = validate$i(untrustedConfig_decisions_item);
3133
3077
  if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
3134
3078
  untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
3135
3079
  }
@@ -3222,7 +3166,7 @@ const updatePersonalizationPointAdapterFactory = (luvio) => {
3222
3166
  };
3223
3167
  };
3224
3168
 
3225
- function validate$9(obj, path = 'PersonalizationAttributeInputRepresentation') {
3169
+ function validate$a(obj, path = 'PersonalizationAttributeInputRepresentation') {
3226
3170
  const v_error = (() => {
3227
3171
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3228
3172
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3270,7 +3214,7 @@ function validate$9(obj, path = 'PersonalizationAttributeInputRepresentation') {
3270
3214
  }
3271
3215
 
3272
3216
  const VERSION$6 = "014064b188ff923423af6301d64be36a";
3273
- function validate$8(obj, path = 'PersonalizationAttributeRepresentation') {
3217
+ function validate$9(obj, path = 'PersonalizationAttributeRepresentation') {
3274
3218
  const v_error = (() => {
3275
3219
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3276
3220
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3461,7 +3405,7 @@ function equals$6(existing, incoming) {
3461
3405
 
3462
3406
  const TTL$3 = 600;
3463
3407
  const VERSION$5 = "25740f87643de6fdae570c77bbec7377";
3464
- function validate$7(obj, path = 'PersonalizationSchemaRepresentation') {
3408
+ function validate$8(obj, path = 'PersonalizationSchemaRepresentation') {
3465
3409
  const v_error = (() => {
3466
3410
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3467
3411
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3474,7 +3418,7 @@ function validate$7(obj, path = 'PersonalizationSchemaRepresentation') {
3474
3418
  for (let i = 0; i < obj_attributes.length; i++) {
3475
3419
  const obj_attributes_item = obj_attributes[i];
3476
3420
  const path_attributes_item = path_attributes + '[' + i + ']';
3477
- const referencepath_attributes_itemValidationError = validate$8(obj_attributes_item, path_attributes_item);
3421
+ const referencepath_attributes_itemValidationError = validate$9(obj_attributes_item, path_attributes_item);
3478
3422
  if (referencepath_attributes_itemValidationError !== null) {
3479
3423
  let message = 'Object doesn\'t match PersonalizationAttributeRepresentation (at "' + path_attributes_item + '")\n';
3480
3424
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3786,7 +3730,7 @@ function equals$5(existing, incoming) {
3786
3730
  }
3787
3731
  const ingest$3 = function PersonalizationSchemaRepresentationIngest(input, path, luvio, store, timestamp) {
3788
3732
  if (process.env.NODE_ENV !== 'production') {
3789
- const validateError = validate$7(input);
3733
+ const validateError = validate$8(input);
3790
3734
  if (validateError !== null) {
3791
3735
  throw validateError;
3792
3736
  }
@@ -3885,7 +3829,7 @@ function typeCheckConfig$5(untrustedConfig) {
3885
3829
  const untrustedConfig_attributes_array = [];
3886
3830
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
3887
3831
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
3888
- const referencePersonalizationAttributeInputRepresentationValidationError = validate$9(untrustedConfig_attributes_item);
3832
+ const referencePersonalizationAttributeInputRepresentationValidationError = validate$a(untrustedConfig_attributes_item);
3889
3833
  if (referencePersonalizationAttributeInputRepresentationValidationError === null) {
3890
3834
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
3891
3835
  }
@@ -4182,7 +4126,7 @@ const getPersonalizationSchemaAdapterFactory = (luvio) => function personalizati
4182
4126
  };
4183
4127
 
4184
4128
  const VERSION$4 = "4140d8b5bf494d4e8f3ef8713b0ffd7d";
4185
- function validate$6(obj, path = 'PersonalizationRecommenderJobRepresentation') {
4129
+ function validate$7(obj, path = 'PersonalizationRecommenderJobRepresentation') {
4186
4130
  const v_error = (() => {
4187
4131
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4188
4132
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4355,7 +4299,7 @@ function equals$4(existing, incoming) {
4355
4299
 
4356
4300
  const TTL$2 = 600;
4357
4301
  const VERSION$3 = "2fab2250d4ed5adcbb1a5c19a64cd765";
4358
- function validate$5(obj, path = 'PersonalizationRecommenderJobCollectionRepresentation') {
4302
+ function validate$6(obj, path = 'PersonalizationRecommenderJobCollectionRepresentation') {
4359
4303
  const v_error = (() => {
4360
4304
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4361
4305
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4376,7 +4320,7 @@ function validate$5(obj, path = 'PersonalizationRecommenderJobCollectionRepresen
4376
4320
  for (let i = 0; i < obj_jobs.length; i++) {
4377
4321
  const obj_jobs_item = obj_jobs[i];
4378
4322
  const path_jobs_item = path_jobs + '[' + i + ']';
4379
- const referencepath_jobs_itemValidationError = validate$6(obj_jobs_item, path_jobs_item);
4323
+ const referencepath_jobs_itemValidationError = validate$7(obj_jobs_item, path_jobs_item);
4380
4324
  if (referencepath_jobs_itemValidationError !== null) {
4381
4325
  let message = 'Object doesn\'t match PersonalizationRecommenderJobRepresentation (at "' + path_jobs_item + '")\n';
4382
4326
  message += referencepath_jobs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4474,7 +4418,7 @@ function equals$3(existing, incoming) {
4474
4418
  }
4475
4419
  const ingest$2 = function PersonalizationRecommenderJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4476
4420
  if (process.env.NODE_ENV !== 'production') {
4477
- const validateError = validate$5(input);
4421
+ const validateError = validate$6(input);
4478
4422
  if (validateError !== null) {
4479
4423
  throw validateError;
4480
4424
  }
@@ -4634,7 +4578,7 @@ const getTrainingHistoryAdapterFactory = (luvio) => function personalizationServ
4634
4578
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
4635
4579
  };
4636
4580
 
4637
- function validate$4(obj, path = 'AnchorReferenceRepresentation') {
4581
+ function validate$5(obj, path = 'AnchorReferenceRepresentation') {
4638
4582
  const v_error = (() => {
4639
4583
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4640
4584
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4653,6 +4597,32 @@ function validate$4(obj, path = 'AnchorReferenceRepresentation') {
4653
4597
  return v_error === undefined ? null : v_error;
4654
4598
  }
4655
4599
 
4600
+ function validate$4(obj, path = 'RuleGroupInputRepresentation2') {
4601
+ const v_error = (() => {
4602
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4603
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4604
+ }
4605
+ const obj_operator = obj.operator;
4606
+ const path_operator = path + '.operator';
4607
+ if (typeof obj_operator !== 'string') {
4608
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
4609
+ }
4610
+ const obj_rules = obj.rules;
4611
+ const path_rules = path + '.rules';
4612
+ if (!ArrayIsArray(obj_rules)) {
4613
+ return new TypeError('Expected "array" but received "' + typeof obj_rules + '" (at "' + path_rules + '")');
4614
+ }
4615
+ for (let i = 0; i < obj_rules.length; i++) {
4616
+ const obj_rules_item = obj_rules[i];
4617
+ const path_rules_item = path_rules + '[' + i + ']';
4618
+ if (obj_rules_item === undefined) {
4619
+ return new TypeError('Expected "defined" but received "' + typeof obj_rules_item + '" (at "' + path_rules_item + '")');
4620
+ }
4621
+ }
4622
+ })();
4623
+ return v_error === undefined ? null : v_error;
4624
+ }
4625
+
4656
4626
  function validate$3(obj, path = 'RuleGroupInputRepresentation') {
4657
4627
  const v_error = (() => {
4658
4628
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4671,8 +4641,8 @@ function validate$3(obj, path = 'RuleGroupInputRepresentation') {
4671
4641
  for (let i = 0; i < obj_rules.length; i++) {
4672
4642
  const obj_rules_item = obj_rules[i];
4673
4643
  const path_rules_item = path_rules + '[' + i + ']';
4674
- if (typeof obj_rules_item !== 'object' || ArrayIsArray(obj_rules_item) || obj_rules_item === null) {
4675
- return new TypeError('Expected "object" but received "' + typeof obj_rules_item + '" (at "' + path_rules_item + '")');
4644
+ if (obj_rules_item === undefined) {
4645
+ return new TypeError('Expected "defined" but received "' + typeof obj_rules_item + '" (at "' + path_rules_item + '")');
4676
4646
  }
4677
4647
  }
4678
4648
  })();
@@ -4746,7 +4716,8 @@ function select$3(luvio, params) {
4746
4716
  return select$4();
4747
4717
  }
4748
4718
  function keyBuilder$3(luvio, params) {
4749
- return keyPrefix + '::PersonalizationRecommenderSimulateActionRepresentation:(' + 'idOrName:' + params.urlParams.idOrName + ',' + (params.body.anchors === undefined ? undefined : ('[' + params.body.anchors.map(element => 'anchors.dmoName:' + element.dmoName + '::' + 'anchors.id:' + element.id).join(',') + ']')) + '::' + (params.body.excludeFilters === undefined ? undefined : ('[' + params.body.excludeFilters.map(element => 'excludeFilters.operator:' + element.operator + '::' + '[' + element.rules.map(element => stableJSONStringify(element)).join(',') + ']').join(',') + ']')) + '::' + (params.body.includeFilters === undefined ? undefined : ('[' + params.body.includeFilters.map(element => 'includeFilters.operator:' + element.operator + '::' + '[' + element.rules.map(element => stableJSONStringify(element)).join(',') + ']').join(',') + ']')) + '::' + (params.body.individualId === undefined ? 'individualId' : 'individualId:' + params.body.individualId) + ')';
4719
+ var _a, _b, _c, _d, _e, _f, _g, _h;
4720
+ return keyPrefix + '::PersonalizationRecommenderSimulateActionRepresentation:(' + 'idOrName:' + params.urlParams.idOrName + ',' + (params.body.anchors === undefined ? undefined : ('[' + params.body.anchors.map(element => 'anchors.dmoName:' + element.dmoName + '::' + 'anchors.id:' + element.id).join(',') + ']')) + '::' + (((_a = params.body.excludeFilters) === null || _a === void 0 ? void 0 : _a.operator) === undefined ? 'excludeFilters.operator' : 'excludeFilters.operator:' + ((_b = params.body.excludeFilters) === null || _b === void 0 ? void 0 : _b.operator)) + '::' + (((_c = params.body.excludeFilters) === null || _c === void 0 ? void 0 : _c.rules) === undefined ? 'excludeFilters.rules' : 'excludeFilters.rules:' + ((_d = params.body.excludeFilters) === null || _d === void 0 ? void 0 : _d.rules)) + '::' + (((_e = params.body.includeFilters) === null || _e === void 0 ? void 0 : _e.operator) === undefined ? 'includeFilters.operator' : 'includeFilters.operator:' + ((_f = params.body.includeFilters) === null || _f === void 0 ? void 0 : _f.operator)) + '::' + (((_g = params.body.includeFilters) === null || _g === void 0 ? void 0 : _g.rules) === undefined ? 'includeFilters.rules' : 'includeFilters.rules:' + ((_h = params.body.includeFilters) === null || _h === void 0 ? void 0 : _h.rules)) + '::' + (params.body.individualId === undefined ? 'individualId' : 'individualId:' + params.body.individualId) + ')';
4750
4721
  }
4751
4722
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
4752
4723
  getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
@@ -4798,8 +4769,8 @@ const adapterName$1 = 'postPersonalizationRecommenderSimulateAction';
4798
4769
  const postPersonalizationRecommenderSimulateAction_ConfigPropertyMetadata = [
4799
4770
  generateParamConfigMetadata('idOrName', true, 0 /* UrlParameter */, 0 /* String */),
4800
4771
  generateParamConfigMetadata('anchors', false, 2 /* Body */, 4 /* Unsupported */, true),
4801
- generateParamConfigMetadata('excludeFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
4802
- generateParamConfigMetadata('includeFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
4772
+ generateParamConfigMetadata('excludeFilters', false, 2 /* Body */, 4 /* Unsupported */),
4773
+ generateParamConfigMetadata('includeFilters', false, 2 /* Body */, 4 /* Unsupported */),
4803
4774
  generateParamConfigMetadata('individualId', false, 2 /* Body */, 4 /* Unsupported */),
4804
4775
  ];
4805
4776
  const postPersonalizationRecommenderSimulateAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postPersonalizationRecommenderSimulateAction_ConfigPropertyMetadata);
@@ -4816,7 +4787,7 @@ function typeCheckConfig$1(untrustedConfig) {
4816
4787
  const untrustedConfig_anchors_array = [];
4817
4788
  for (let i = 0, arrayLength = untrustedConfig_anchors.length; i < arrayLength; i++) {
4818
4789
  const untrustedConfig_anchors_item = untrustedConfig_anchors[i];
4819
- const referenceAnchorReferenceRepresentationValidationError = validate$4(untrustedConfig_anchors_item);
4790
+ const referenceAnchorReferenceRepresentationValidationError = validate$5(untrustedConfig_anchors_item);
4820
4791
  if (referenceAnchorReferenceRepresentationValidationError === null) {
4821
4792
  untrustedConfig_anchors_array.push(untrustedConfig_anchors_item);
4822
4793
  }
@@ -4824,28 +4795,14 @@ function typeCheckConfig$1(untrustedConfig) {
4824
4795
  config.anchors = untrustedConfig_anchors_array;
4825
4796
  }
4826
4797
  const untrustedConfig_excludeFilters = untrustedConfig.excludeFilters;
4827
- if (ArrayIsArray$1(untrustedConfig_excludeFilters)) {
4828
- const untrustedConfig_excludeFilters_array = [];
4829
- for (let i = 0, arrayLength = untrustedConfig_excludeFilters.length; i < arrayLength; i++) {
4830
- const untrustedConfig_excludeFilters_item = untrustedConfig_excludeFilters[i];
4831
- const referenceRuleGroupInputRepresentationValidationError = validate$3(untrustedConfig_excludeFilters_item);
4832
- if (referenceRuleGroupInputRepresentationValidationError === null) {
4833
- untrustedConfig_excludeFilters_array.push(untrustedConfig_excludeFilters_item);
4834
- }
4835
- }
4836
- config.excludeFilters = untrustedConfig_excludeFilters_array;
4798
+ const referenceRuleGroupInputRepresentation2ValidationError = validate$4(untrustedConfig_excludeFilters);
4799
+ if (referenceRuleGroupInputRepresentation2ValidationError === null) {
4800
+ config.excludeFilters = untrustedConfig_excludeFilters;
4837
4801
  }
4838
4802
  const untrustedConfig_includeFilters = untrustedConfig.includeFilters;
4839
- if (ArrayIsArray$1(untrustedConfig_includeFilters)) {
4840
- const untrustedConfig_includeFilters_array = [];
4841
- for (let i = 0, arrayLength = untrustedConfig_includeFilters.length; i < arrayLength; i++) {
4842
- const untrustedConfig_includeFilters_item = untrustedConfig_includeFilters[i];
4843
- const referenceRuleGroupInputRepresentationValidationError = validate$3(untrustedConfig_includeFilters_item);
4844
- if (referenceRuleGroupInputRepresentationValidationError === null) {
4845
- untrustedConfig_includeFilters_array.push(untrustedConfig_includeFilters_item);
4846
- }
4847
- }
4848
- config.includeFilters = untrustedConfig_includeFilters_array;
4803
+ const referenceRuleGroupInputRepresentationValidationError = validate$3(untrustedConfig_includeFilters);
4804
+ if (referenceRuleGroupInputRepresentationValidationError === null) {
4805
+ config.includeFilters = untrustedConfig_includeFilters;
4849
4806
  }
4850
4807
  const untrustedConfig_individualId = untrustedConfig.individualId;
4851
4808
  if (typeof untrustedConfig_individualId === 'string') {
@@ -1,6 +1,7 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
3
  import { AnchorReferenceRepresentation as types_AnchorReferenceRepresentation_AnchorReferenceRepresentation } from '../types/AnchorReferenceRepresentation';
4
+ import { RuleGroupInputRepresentation2 as types_RuleGroupInputRepresentation2_RuleGroupInputRepresentation2 } from '../types/RuleGroupInputRepresentation2';
4
5
  import { RuleGroupInputRepresentation as types_RuleGroupInputRepresentation_RuleGroupInputRepresentation } from '../types/RuleGroupInputRepresentation';
5
6
  import { ResourceRequestConfig as resources_postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName_ResourceRequestConfig } from '../resources/postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName';
6
7
  import { PersonalizationRecommenderSimulateActionRepresentation as types_PersonalizationRecommenderSimulateActionRepresentation_PersonalizationRecommenderSimulateActionRepresentation } from '../types/PersonalizationRecommenderSimulateActionRepresentation';
@@ -10,8 +11,8 @@ export declare const postPersonalizationRecommenderSimulateAction_ConfigProperty
10
11
  export interface PostPersonalizationRecommenderSimulateActionConfig {
11
12
  idOrName: string;
12
13
  anchors?: Array<types_AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
13
- excludeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
14
- includeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
14
+ excludeFilters?: types_RuleGroupInputRepresentation2_RuleGroupInputRepresentation2;
15
+ includeFilters?: types_RuleGroupInputRepresentation_RuleGroupInputRepresentation;
15
16
  individualId?: string | null;
16
17
  }
17
18
  export declare const createResourceParams: (config: PostPersonalizationRecommenderSimulateActionConfig) => resources_postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName_ResourceRequestConfig;
@@ -1,4 +1,5 @@
1
1
  import { AnchorReferenceRepresentation as types_AnchorReferenceRepresentation_AnchorReferenceRepresentation } from '../types/AnchorReferenceRepresentation';
2
+ import { RuleGroupInputRepresentation2 as types_RuleGroupInputRepresentation2_RuleGroupInputRepresentation2 } from '../types/RuleGroupInputRepresentation2';
2
3
  import { RuleGroupInputRepresentation as types_RuleGroupInputRepresentation_RuleGroupInputRepresentation } from '../types/RuleGroupInputRepresentation';
3
4
  import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
4
5
  import { PersonalizationRecommenderSimulateActionRepresentation as types_PersonalizationRecommenderSimulateActionRepresentation_PersonalizationRecommenderSimulateActionRepresentation } from '../types/PersonalizationRecommenderSimulateActionRepresentation';
@@ -8,8 +9,8 @@ export interface ResourceRequestConfig {
8
9
  };
9
10
  body: {
10
11
  anchors?: Array<types_AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
11
- excludeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
12
- includeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
12
+ excludeFilters?: types_RuleGroupInputRepresentation2_RuleGroupInputRepresentation2;
13
+ includeFilters?: types_RuleGroupInputRepresentation_RuleGroupInputRepresentation;
13
14
  individualId?: string | null;
14
15
  };
15
16
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "eaa01ee4af0b3bfecd174843fa7cd6d7";
2
+ export declare const VERSION = "ad206b15933f8265516bba8ef3e69c15";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: BasePredicateInputRepresentation, existing: BasePredicateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BasePredicateInputRepresentationNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface BasePredicateInputRepresentationNormalized {
17
+ /** The type of Predicate object. */
18
+ type: string;
17
19
  }
18
20
  /**
19
21
  * The right hand side against which the filter condition is checked.
@@ -22,4 +24,5 @@ export interface BasePredicateInputRepresentationNormalized {
22
24
  * (none)
23
25
  */
24
26
  export interface BasePredicateInputRepresentation {
27
+ type: string;
25
28
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "d4440010130353297a7d838ad3043a68";
2
+ export declare const VERSION = "624226c9b595ad62c082337c07d9c498";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: BaseRuleInputRepresentation, existing: BaseRuleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BaseRuleInputRepresentationNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface BaseRuleInputRepresentationNormalized {
17
+ /** The type of Rule object. */
18
+ type: string;
17
19
  }
18
20
  /**
19
21
  * Base Rule Input Representation
@@ -22,4 +24,5 @@ export interface BaseRuleInputRepresentationNormalized {
22
24
  * (none)
23
25
  */
24
26
  export interface BaseRuleInputRepresentation {
27
+ type: string;
25
28
  }
@@ -1,7 +1,8 @@
1
1
  import { AnchorReferenceRepresentation as AnchorReferenceRepresentation_AnchorReferenceRepresentation } from './AnchorReferenceRepresentation';
2
+ import { RuleGroupInputRepresentation2 as RuleGroupInputRepresentation2_RuleGroupInputRepresentation2 } from './RuleGroupInputRepresentation2';
2
3
  import { RuleGroupInputRepresentation as RuleGroupInputRepresentation_RuleGroupInputRepresentation } from './RuleGroupInputRepresentation';
3
4
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
4
- export declare const VERSION = "51b9683df9f47131bf60c5c3b354051c";
5
+ export declare const VERSION = "1419c524c4cca5e1e943735847321a52";
5
6
  export declare function validate(obj: any, path?: string): TypeError | null;
6
7
  export declare const RepresentationType: string;
7
8
  export declare function normalize(input: PersonalizationRecommenderSimulateActionInputRepresentation, existing: PersonalizationRecommenderSimulateActionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationRecommenderSimulateActionInputRepresentationNormalized;
@@ -18,10 +19,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
19
  export interface PersonalizationRecommenderSimulateActionInputRepresentationNormalized {
19
20
  /** The list of anchors for which recommendations are needed if provided. */
20
21
  anchors?: Array<AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
21
- /** The filters being applied before rendering the recommendations. */
22
- excludeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
23
- /** The filters being applied before rendering the recommendations. */
24
- includeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
22
+ excludeFilters?: RuleGroupInputRepresentation2_RuleGroupInputRepresentation2;
23
+ includeFilters?: RuleGroupInputRepresentation_RuleGroupInputRepresentation;
25
24
  /** The individual id associated to a Data Cloud profile. */
26
25
  individualId?: string | null;
27
26
  }
@@ -33,7 +32,7 @@ export interface PersonalizationRecommenderSimulateActionInputRepresentationNorm
33
32
  */
34
33
  export interface PersonalizationRecommenderSimulateActionInputRepresentation {
35
34
  anchors?: Array<AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
36
- excludeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
37
- includeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
35
+ excludeFilters?: RuleGroupInputRepresentation2_RuleGroupInputRepresentation2;
36
+ includeFilters?: RuleGroupInputRepresentation_RuleGroupInputRepresentation;
38
37
  individualId?: string | null;
39
38
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "30a092ebb29a4806b750559687ce1a49";
2
+ export declare const VERSION = "c4672391c0bfc4e68a93600638b00c78";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: RuleGroupInputRepresentation, existing: RuleGroupInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RuleGroupInputRepresentationNormalized;
@@ -17,7 +17,7 @@ export interface RuleGroupInputRepresentationNormalized {
17
17
  /** The field which gives the information whether to include/exclude all the filter conditions or any one of them. */
18
18
  operator: string;
19
19
  /** The filter conditions of the recommender. */
20
- rules: Array<{}>;
20
+ rules: Array<unknown>;
21
21
  }
22
22
  /**
23
23
  * Rule Group Representation
@@ -27,5 +27,5 @@ export interface RuleGroupInputRepresentationNormalized {
27
27
  */
28
28
  export interface RuleGroupInputRepresentation {
29
29
  operator: string;
30
- rules: Array<{}>;
30
+ rules: Array<unknown>;
31
31
  }