@salesforce/lds-adapters-cdp-personalization-service 1.332.0-dev3 → 1.332.0-dev4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sfdc/index.js CHANGED
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$f(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
105
+ function validate$i(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
106
106
  const v_error = (() => {
107
107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -193,7 +193,7 @@ function validate$f(obj, path = 'PersonalizationAttributeValueInputRepresentatio
193
193
  return v_error === undefined ? null : v_error;
194
194
  }
195
195
 
196
- function validate$e(obj, path = 'PersonalizationDecisionInputRepresentation') {
196
+ function validate$h(obj, path = 'PersonalizationDecisionInputRepresentation') {
197
197
  const v_error = (() => {
198
198
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
199
199
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -207,7 +207,7 @@ function validate$e(obj, path = 'PersonalizationDecisionInputRepresentation') {
207
207
  for (let i = 0; i < obj_attributeValues.length; i++) {
208
208
  const obj_attributeValues_item = obj_attributeValues[i];
209
209
  const path_attributeValues_item = path_attributeValues + '[' + i + ']';
210
- const referencepath_attributeValues_itemValidationError = validate$f(obj_attributeValues_item, path_attributeValues_item);
210
+ const referencepath_attributeValues_itemValidationError = validate$i(obj_attributeValues_item, path_attributeValues_item);
211
211
  if (referencepath_attributeValues_itemValidationError !== null) {
212
212
  let message = 'Object doesn\'t match PersonalizationAttributeValueInputRepresentation (at "' + path_attributeValues_item + '")\n';
213
213
  message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -381,8 +381,8 @@ function validate$e(obj, path = 'PersonalizationDecisionInputRepresentation') {
381
381
  return v_error === undefined ? null : v_error;
382
382
  }
383
383
 
384
- const VERSION$a = "52ea9c14b7a747a28cedbcff0e7ab169";
385
- function validate$d(obj, path = 'PersonalizationAttributeValueRepresentation') {
384
+ const VERSION$d = "52ea9c14b7a747a28cedbcff0e7ab169";
385
+ function validate$g(obj, path = 'PersonalizationAttributeValueRepresentation') {
386
386
  const v_error = (() => {
387
387
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
388
388
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -468,10 +468,10 @@ function validate$d(obj, path = 'PersonalizationAttributeValueRepresentation') {
468
468
  })();
469
469
  return v_error === undefined ? null : v_error;
470
470
  }
471
- const select$h = function PersonalizationAttributeValueRepresentationSelect() {
471
+ const select$k = function PersonalizationAttributeValueRepresentationSelect() {
472
472
  return {
473
473
  kind: 'Fragment',
474
- version: VERSION$a,
474
+ version: VERSION$d,
475
475
  private: [],
476
476
  selections: [
477
477
  {
@@ -489,7 +489,7 @@ const select$h = function PersonalizationAttributeValueRepresentationSelect() {
489
489
  ]
490
490
  };
491
491
  };
492
- function equals$a(existing, incoming) {
492
+ function equals$d(existing, incoming) {
493
493
  const existing_attributeEnum = existing.attributeEnum;
494
494
  const incoming_attributeEnum = incoming.attributeEnum;
495
495
  if (!(existing_attributeEnum === incoming_attributeEnum)) {
@@ -508,7 +508,7 @@ function equals$a(existing, incoming) {
508
508
  return true;
509
509
  }
510
510
 
511
- function validate$c(obj, path = 'FiltersWrapRepresentation') {
511
+ function validate$f(obj, path = 'FiltersWrapRepresentation') {
512
512
  const v_error = (() => {
513
513
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
514
514
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -587,7 +587,7 @@ function validate$c(obj, path = 'FiltersWrapRepresentation') {
587
587
  return v_error === undefined ? null : v_error;
588
588
  }
589
589
 
590
- function validate$b(obj, path = 'SubjectRepresentation') {
590
+ function validate$e(obj, path = 'SubjectRepresentation') {
591
591
  const v_error = (() => {
592
592
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
593
593
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -706,8 +706,8 @@ function validate$b(obj, path = 'SubjectRepresentation') {
706
706
  return v_error === undefined ? null : v_error;
707
707
  }
708
708
 
709
- const VERSION$9 = "089c2877ffa367e376fe74f8d358ffa8";
710
- function validate$a(obj, path = 'FilterRepresentation') {
709
+ const VERSION$c = "089c2877ffa367e376fe74f8d358ffa8";
710
+ function validate$d(obj, path = 'FilterRepresentation') {
711
711
  const v_error = (() => {
712
712
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
713
713
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -745,7 +745,7 @@ function validate$a(obj, path = 'FilterRepresentation') {
745
745
  const path_comparison = path + '.comparison';
746
746
  let obj_comparison_union0 = null;
747
747
  const obj_comparison_union0_error = (() => {
748
- const referencepath_comparisonValidationError = validate$a(obj_comparison, path_comparison);
748
+ const referencepath_comparisonValidationError = validate$d(obj_comparison, path_comparison);
749
749
  if (referencepath_comparisonValidationError !== null) {
750
750
  let message = 'Object doesn\'t match FilterRepresentation (at "' + path_comparison + '")\n';
751
751
  message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -776,7 +776,7 @@ function validate$a(obj, path = 'FilterRepresentation') {
776
776
  const path_filter = path + '.filter';
777
777
  let obj_filter_union0 = null;
778
778
  const obj_filter_union0_error = (() => {
779
- const referencepath_filterValidationError = validate$c(obj_filter, path_filter);
779
+ const referencepath_filterValidationError = validate$f(obj_filter, path_filter);
780
780
  if (referencepath_filterValidationError !== null) {
781
781
  let message = 'Object doesn\'t match FiltersWrapRepresentation (at "' + path_filter + '")\n';
782
782
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -813,7 +813,7 @@ function validate$a(obj, path = 'FilterRepresentation') {
813
813
  const path_filters_item = path_filters + '[' + i + ']';
814
814
  let obj_filters_item_union0 = null;
815
815
  const obj_filters_item_union0_error = (() => {
816
- const referencepath_filters_itemValidationError = validate$a(obj_filters_item, path_filters_item);
816
+ const referencepath_filters_itemValidationError = validate$d(obj_filters_item, path_filters_item);
817
817
  if (referencepath_filters_itemValidationError !== null) {
818
818
  let message = 'Object doesn\'t match FilterRepresentation (at "' + path_filters_item + '")\n';
819
819
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -873,7 +873,7 @@ function validate$a(obj, path = 'FilterRepresentation') {
873
873
  const path_metric = path + '.metric';
874
874
  let obj_metric_union0 = null;
875
875
  const obj_metric_union0_error = (() => {
876
- const referencepath_metricValidationError = validate$b(obj_metric, path_metric);
876
+ const referencepath_metricValidationError = validate$e(obj_metric, path_metric);
877
877
  if (referencepath_metricValidationError !== null) {
878
878
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_metric + '")\n';
879
879
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -942,7 +942,7 @@ function validate$a(obj, path = 'FilterRepresentation') {
942
942
  for (let i = 0; i < obj_path_item.length; i++) {
943
943
  const obj_path_item_item = obj_path_item[i];
944
944
  const path_path_item_item = path_path_item + '[' + i + ']';
945
- const referencepath_path_item_itemValidationError = validate$b(obj_path_item_item, path_path_item_item);
945
+ const referencepath_path_item_itemValidationError = validate$e(obj_path_item_item, path_path_item_item);
946
946
  if (referencepath_path_item_itemValidationError !== null) {
947
947
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_path_item_item + '")\n';
948
948
  message += referencepath_path_item_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1040,7 +1040,7 @@ function validate$a(obj, path = 'FilterRepresentation') {
1040
1040
  const path_subject = path + '.subject';
1041
1041
  let obj_subject_union0 = null;
1042
1042
  const obj_subject_union0_error = (() => {
1043
- const referencepath_subjectValidationError = validate$b(obj_subject, path_subject);
1043
+ const referencepath_subjectValidationError = validate$e(obj_subject, path_subject);
1044
1044
  if (referencepath_subjectValidationError !== null) {
1045
1045
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_subject + '")\n';
1046
1046
  message += referencepath_subjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1143,15 +1143,15 @@ const RepresentationType$6 = 'FilterRepresentation';
1143
1143
  function normalize$6(input, existing, path, luvio, store, timestamp) {
1144
1144
  return input;
1145
1145
  }
1146
- const select$g = function FilterRepresentationSelect() {
1146
+ const select$j = function FilterRepresentationSelect() {
1147
1147
  return {
1148
1148
  kind: 'Fragment',
1149
- version: VERSION$9,
1149
+ version: VERSION$c,
1150
1150
  private: [],
1151
1151
  opaque: true
1152
1152
  };
1153
1153
  };
1154
- function equals$9(existing, incoming) {
1154
+ function equals$c(existing, incoming) {
1155
1155
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1156
1156
  return false;
1157
1157
  }
@@ -1159,14 +1159,14 @@ function equals$9(existing, incoming) {
1159
1159
  }
1160
1160
  const ingest$6 = function FilterRepresentationIngest(input, path, luvio, store, timestamp) {
1161
1161
  if (process.env.NODE_ENV !== 'production') {
1162
- const validateError = validate$a(input);
1162
+ const validateError = validate$d(input);
1163
1163
  if (validateError !== null) {
1164
1164
  throw validateError;
1165
1165
  }
1166
1166
  }
1167
1167
  const key = path.fullPath;
1168
1168
  const ttlToUse = path.ttl;
1169
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "personalization-service", VERSION$9, RepresentationType$6, equals$9);
1169
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "personalization-service", VERSION$c, RepresentationType$6, equals$c);
1170
1170
  return createLink(key);
1171
1171
  };
1172
1172
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -1179,8 +1179,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
1179
1179
  });
1180
1180
  }
1181
1181
 
1182
- const VERSION$8 = "ea475f10b4c028f8b97a44af1cf0be14";
1183
- function validate$9(obj, path = 'CriteriaRepresentation') {
1182
+ const VERSION$b = "ea475f10b4c028f8b97a44af1cf0be14";
1183
+ function validate$c(obj, path = 'CriteriaRepresentation') {
1184
1184
  const v_error = (() => {
1185
1185
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1186
1186
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1230,17 +1230,17 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
1230
1230
  }
1231
1231
  return input;
1232
1232
  }
1233
- const select$f = function CriteriaRepresentationSelect() {
1233
+ const select$i = function CriteriaRepresentationSelect() {
1234
1234
  return {
1235
1235
  kind: 'Fragment',
1236
- version: VERSION$8,
1236
+ version: VERSION$b,
1237
1237
  private: [],
1238
1238
  selections: [
1239
1239
  {
1240
1240
  name: 'filters',
1241
1241
  kind: 'Link',
1242
1242
  plural: true,
1243
- fragment: select$g()
1243
+ fragment: select$j()
1244
1244
  },
1245
1245
  {
1246
1246
  name: 'operator',
@@ -1253,7 +1253,7 @@ const select$f = function CriteriaRepresentationSelect() {
1253
1253
  ]
1254
1254
  };
1255
1255
  };
1256
- function equals$8(existing, incoming) {
1256
+ function equals$b(existing, incoming) {
1257
1257
  const existing_operator = existing.operator;
1258
1258
  const incoming_operator = incoming.operator;
1259
1259
  if (!(existing_operator === incoming_operator)) {
@@ -1278,14 +1278,14 @@ function equals$8(existing, incoming) {
1278
1278
  }
1279
1279
  const ingest$5 = function CriteriaRepresentationIngest(input, path, luvio, store, timestamp) {
1280
1280
  if (process.env.NODE_ENV !== 'production') {
1281
- const validateError = validate$9(input);
1281
+ const validateError = validate$c(input);
1282
1282
  if (validateError !== null) {
1283
1283
  throw validateError;
1284
1284
  }
1285
1285
  }
1286
1286
  const key = path.fullPath;
1287
1287
  const ttlToUse = path.ttl;
1288
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "personalization-service", VERSION$8, RepresentationType$5, equals$8);
1288
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "personalization-service", VERSION$b, RepresentationType$5, equals$b);
1289
1289
  return createLink(key);
1290
1290
  };
1291
1291
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
@@ -1302,8 +1302,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
1302
1302
  }
1303
1303
  }
1304
1304
 
1305
- const VERSION$7 = "265767af783b296f5f902d6ed447b168";
1306
- function validate$8(obj, path = 'PersonalizationDecisionRepresentation') {
1305
+ const VERSION$a = "265767af783b296f5f902d6ed447b168";
1306
+ function validate$b(obj, path = 'PersonalizationDecisionRepresentation') {
1307
1307
  const v_error = (() => {
1308
1308
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1309
1309
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1316,7 +1316,7 @@ function validate$8(obj, path = 'PersonalizationDecisionRepresentation') {
1316
1316
  for (let i = 0; i < obj_attributeValues.length; i++) {
1317
1317
  const obj_attributeValues_item = obj_attributeValues[i];
1318
1318
  const path_attributeValues_item = path_attributeValues + '[' + i + ']';
1319
- const referencepath_attributeValues_itemValidationError = validate$d(obj_attributeValues_item, path_attributeValues_item);
1319
+ const referencepath_attributeValues_itemValidationError = validate$g(obj_attributeValues_item, path_attributeValues_item);
1320
1320
  if (referencepath_attributeValues_itemValidationError !== null) {
1321
1321
  let message = 'Object doesn\'t match PersonalizationAttributeValueRepresentation (at "' + path_attributeValues_item + '")\n';
1322
1322
  message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1656,11 +1656,11 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
1656
1656
  }
1657
1657
  return input;
1658
1658
  }
1659
- const select$e = function PersonalizationDecisionRepresentationSelect() {
1660
- const { selections: PersonalizationAttributeValueRepresentation__selections, opaque: PersonalizationAttributeValueRepresentation__opaque, } = select$h();
1659
+ const select$h = function PersonalizationDecisionRepresentationSelect() {
1660
+ const { selections: PersonalizationAttributeValueRepresentation__selections, opaque: PersonalizationAttributeValueRepresentation__opaque, } = select$k();
1661
1661
  return {
1662
1662
  kind: 'Fragment',
1663
- version: VERSION$7,
1663
+ version: VERSION$a,
1664
1664
  private: [],
1665
1665
  selections: [
1666
1666
  {
@@ -1681,7 +1681,7 @@ const select$e = function PersonalizationDecisionRepresentationSelect() {
1681
1681
  name: 'criteria',
1682
1682
  kind: 'Link',
1683
1683
  nullable: true,
1684
- fragment: select$f()
1684
+ fragment: select$i()
1685
1685
  },
1686
1686
  {
1687
1687
  name: 'description',
@@ -1722,11 +1722,11 @@ const select$e = function PersonalizationDecisionRepresentationSelect() {
1722
1722
  ]
1723
1723
  };
1724
1724
  };
1725
- function equals$7(existing, incoming) {
1725
+ function equals$a(existing, incoming) {
1726
1726
  const existing_attributeValues = existing.attributeValues;
1727
1727
  const incoming_attributeValues = incoming.attributeValues;
1728
1728
  const equals_attributeValues_items = equalsArray(existing_attributeValues, incoming_attributeValues, (existing_attributeValues_item, incoming_attributeValues_item) => {
1729
- if (!(equals$a(existing_attributeValues_item, incoming_attributeValues_item))) {
1729
+ if (!(equals$d(existing_attributeValues_item, incoming_attributeValues_item))) {
1730
1730
  return false;
1731
1731
  }
1732
1732
  });
@@ -1802,14 +1802,14 @@ function equals$7(existing, incoming) {
1802
1802
  }
1803
1803
  const ingest$4 = function PersonalizationDecisionRepresentationIngest(input, path, luvio, store, timestamp) {
1804
1804
  if (process.env.NODE_ENV !== 'production') {
1805
- const validateError = validate$8(input);
1805
+ const validateError = validate$b(input);
1806
1806
  if (validateError !== null) {
1807
1807
  throw validateError;
1808
1808
  }
1809
1809
  }
1810
1810
  const key = path.fullPath;
1811
1811
  const ttlToUse = path.ttl;
1812
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "personalization-service", VERSION$7, RepresentationType$4, equals$7);
1812
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "personalization-service", VERSION$a, RepresentationType$4, equals$a);
1813
1813
  return createLink(key);
1814
1814
  };
1815
1815
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
@@ -1826,8 +1826,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
1826
1826
  }
1827
1827
 
1828
1828
  const TTL$3 = 600;
1829
- const VERSION$6 = "e5643ca13ef54c890c9177275a053de3";
1830
- function validate$7(obj, path = 'PersonalizationPointRepresentation') {
1829
+ const VERSION$9 = "e5643ca13ef54c890c9177275a053de3";
1830
+ function validate$a(obj, path = 'PersonalizationPointRepresentation') {
1831
1831
  const v_error = (() => {
1832
1832
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1833
1833
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2333,10 +2333,10 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
2333
2333
  }
2334
2334
  return input;
2335
2335
  }
2336
- const select$d = function PersonalizationPointRepresentationSelect() {
2336
+ const select$g = function PersonalizationPointRepresentationSelect() {
2337
2337
  return {
2338
2338
  kind: 'Fragment',
2339
- version: VERSION$6,
2339
+ version: VERSION$9,
2340
2340
  private: [],
2341
2341
  selections: [
2342
2342
  {
@@ -2359,7 +2359,7 @@ const select$d = function PersonalizationPointRepresentationSelect() {
2359
2359
  name: 'decisions',
2360
2360
  kind: 'Link',
2361
2361
  plural: true,
2362
- fragment: select$e()
2362
+ fragment: select$h()
2363
2363
  },
2364
2364
  {
2365
2365
  name: 'description',
@@ -2428,7 +2428,7 @@ const select$d = function PersonalizationPointRepresentationSelect() {
2428
2428
  ]
2429
2429
  };
2430
2430
  };
2431
- function equals$6(existing, incoming) {
2431
+ function equals$9(existing, incoming) {
2432
2432
  const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
2433
2433
  const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
2434
2434
  if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
@@ -2543,14 +2543,14 @@ function equals$6(existing, incoming) {
2543
2543
  }
2544
2544
  const ingest$3 = function PersonalizationPointRepresentationIngest(input, path, luvio, store, timestamp) {
2545
2545
  if (process.env.NODE_ENV !== 'production') {
2546
- const validateError = validate$7(input);
2546
+ const validateError = validate$a(input);
2547
2547
  if (validateError !== null) {
2548
2548
  throw validateError;
2549
2549
  }
2550
2550
  }
2551
2551
  const key = keyBuilderFromType$1(luvio, input);
2552
2552
  const ttlToUse = TTL$3;
2553
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "personalization-service", VERSION$6, RepresentationType$3, equals$6);
2553
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "personalization-service", VERSION$9, RepresentationType$3, equals$9);
2554
2554
  return createLink(key);
2555
2555
  };
2556
2556
  function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
@@ -2567,8 +2567,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
2567
2567
  }
2568
2568
  }
2569
2569
 
2570
- function select$c(luvio, params) {
2571
- return select$d();
2570
+ function select$f(luvio, params) {
2571
+ return select$g();
2572
2572
  }
2573
2573
  function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
2574
2574
  getTypeCacheKeys$3(storeKeyMap, luvio, response);
@@ -2579,7 +2579,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
2579
2579
  luvio.storeIngest(key, ingest$3, body);
2580
2580
  const snapshot = luvio.storeLookup({
2581
2581
  recordId: key,
2582
- node: select$c(),
2582
+ node: select$f(),
2583
2583
  variables: {},
2584
2584
  });
2585
2585
  if (process.env.NODE_ENV !== 'production') {
@@ -2666,7 +2666,7 @@ function typeCheckConfig$8(untrustedConfig) {
2666
2666
  const untrustedConfig_decisions_array = [];
2667
2667
  for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
2668
2668
  const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
2669
- const referencePersonalizationDecisionInputRepresentationValidationError = validate$e(untrustedConfig_decisions_item);
2669
+ const referencePersonalizationDecisionInputRepresentationValidationError = validate$h(untrustedConfig_decisions_item);
2670
2670
  if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
2671
2671
  untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
2672
2672
  }
@@ -2759,7 +2759,7 @@ const createPersonalizationPointAdapterFactory = (luvio) => {
2759
2759
  };
2760
2760
  };
2761
2761
 
2762
- function validate$6(obj, path = 'PersonalizationAttributeInputRepresentation') {
2762
+ function validate$9(obj, path = 'PersonalizationAttributeInputRepresentation') {
2763
2763
  const v_error = (() => {
2764
2764
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2765
2765
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2806,8 +2806,8 @@ function validate$6(obj, path = 'PersonalizationAttributeInputRepresentation') {
2806
2806
  return v_error === undefined ? null : v_error;
2807
2807
  }
2808
2808
 
2809
- const VERSION$5 = "014064b188ff923423af6301d64be36a";
2810
- function validate$5(obj, path = 'PersonalizationAttributeRepresentation') {
2809
+ const VERSION$8 = "014064b188ff923423af6301d64be36a";
2810
+ function validate$8(obj, path = 'PersonalizationAttributeRepresentation') {
2811
2811
  const v_error = (() => {
2812
2812
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2813
2813
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2902,10 +2902,10 @@ function validate$5(obj, path = 'PersonalizationAttributeRepresentation') {
2902
2902
  })();
2903
2903
  return v_error === undefined ? null : v_error;
2904
2904
  }
2905
- const select$b = function PersonalizationAttributeRepresentationSelect() {
2905
+ const select$e = function PersonalizationAttributeRepresentationSelect() {
2906
2906
  return {
2907
2907
  kind: 'Fragment',
2908
- version: VERSION$5,
2908
+ version: VERSION$8,
2909
2909
  private: [],
2910
2910
  selections: [
2911
2911
  {
@@ -2947,7 +2947,7 @@ const select$b = function PersonalizationAttributeRepresentationSelect() {
2947
2947
  ]
2948
2948
  };
2949
2949
  };
2950
- function equals$5(existing, incoming) {
2950
+ function equals$8(existing, incoming) {
2951
2951
  const existing_createdById = existing.createdById;
2952
2952
  const incoming_createdById = incoming.createdById;
2953
2953
  if (!(existing_createdById === incoming_createdById)) {
@@ -2997,8 +2997,8 @@ function equals$5(existing, incoming) {
2997
2997
  }
2998
2998
 
2999
2999
  const TTL$2 = 600;
3000
- const VERSION$4 = "25740f87643de6fdae570c77bbec7377";
3001
- function validate$4(obj, path = 'PersonalizationSchemaRepresentation') {
3000
+ const VERSION$7 = "25740f87643de6fdae570c77bbec7377";
3001
+ function validate$7(obj, path = 'PersonalizationSchemaRepresentation') {
3002
3002
  const v_error = (() => {
3003
3003
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3004
3004
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3011,7 +3011,7 @@ function validate$4(obj, path = 'PersonalizationSchemaRepresentation') {
3011
3011
  for (let i = 0; i < obj_attributes.length; i++) {
3012
3012
  const obj_attributes_item = obj_attributes[i];
3013
3013
  const path_attributes_item = path_attributes + '[' + i + ']';
3014
- const referencepath_attributes_itemValidationError = validate$5(obj_attributes_item, path_attributes_item);
3014
+ const referencepath_attributes_itemValidationError = validate$8(obj_attributes_item, path_attributes_item);
3015
3015
  if (referencepath_attributes_itemValidationError !== null) {
3016
3016
  let message = 'Object doesn\'t match PersonalizationAttributeRepresentation (at "' + path_attributes_item + '")\n';
3017
3017
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3169,11 +3169,11 @@ function keyBuilderFromType(luvio, object) {
3169
3169
  function normalize$2(input, existing, path, luvio, store, timestamp) {
3170
3170
  return input;
3171
3171
  }
3172
- const select$a = function PersonalizationSchemaRepresentationSelect() {
3173
- const { selections: PersonalizationAttributeRepresentation__selections, opaque: PersonalizationAttributeRepresentation__opaque, } = select$b();
3172
+ const select$d = function PersonalizationSchemaRepresentationSelect() {
3173
+ const { selections: PersonalizationAttributeRepresentation__selections, opaque: PersonalizationAttributeRepresentation__opaque, } = select$e();
3174
3174
  return {
3175
3175
  kind: 'Fragment',
3176
- version: VERSION$4,
3176
+ version: VERSION$7,
3177
3177
  private: [],
3178
3178
  selections: [
3179
3179
  {
@@ -3238,7 +3238,7 @@ const select$a = function PersonalizationSchemaRepresentationSelect() {
3238
3238
  ]
3239
3239
  };
3240
3240
  };
3241
- function equals$4(existing, incoming) {
3241
+ function equals$7(existing, incoming) {
3242
3242
  const existing_createdById = existing.createdById;
3243
3243
  const incoming_createdById = incoming.createdById;
3244
3244
  if (!(existing_createdById === incoming_createdById)) {
@@ -3292,7 +3292,7 @@ function equals$4(existing, incoming) {
3292
3292
  const existing_attributes = existing.attributes;
3293
3293
  const incoming_attributes = incoming.attributes;
3294
3294
  const equals_attributes_items = equalsArray(existing_attributes, incoming_attributes, (existing_attributes_item, incoming_attributes_item) => {
3295
- if (!(equals$5(existing_attributes_item, incoming_attributes_item))) {
3295
+ if (!(equals$8(existing_attributes_item, incoming_attributes_item))) {
3296
3296
  return false;
3297
3297
  }
3298
3298
  });
@@ -3323,14 +3323,14 @@ function equals$4(existing, incoming) {
3323
3323
  }
3324
3324
  const ingest$2 = function PersonalizationSchemaRepresentationIngest(input, path, luvio, store, timestamp) {
3325
3325
  if (process.env.NODE_ENV !== 'production') {
3326
- const validateError = validate$4(input);
3326
+ const validateError = validate$7(input);
3327
3327
  if (validateError !== null) {
3328
3328
  throw validateError;
3329
3329
  }
3330
3330
  }
3331
3331
  const key = keyBuilderFromType(luvio, input);
3332
3332
  const ttlToUse = TTL$2;
3333
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "personalization-service", VERSION$4, RepresentationType$2, equals$4);
3333
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "personalization-service", VERSION$7, RepresentationType$2, equals$7);
3334
3334
  return createLink(key);
3335
3335
  };
3336
3336
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -3343,8 +3343,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
3343
3343
  });
3344
3344
  }
3345
3345
 
3346
- function select$9(luvio, params) {
3347
- return select$a();
3346
+ function select$c(luvio, params) {
3347
+ return select$d();
3348
3348
  }
3349
3349
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
3350
3350
  getTypeCacheKeys$2(storeKeyMap, luvio, response);
@@ -3355,7 +3355,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
3355
3355
  luvio.storeIngest(key, ingest$2, body);
3356
3356
  const snapshot = luvio.storeLookup({
3357
3357
  recordId: key,
3358
- node: select$9(),
3358
+ node: select$c(),
3359
3359
  variables: {},
3360
3360
  });
3361
3361
  if (process.env.NODE_ENV !== 'production') {
@@ -3422,7 +3422,7 @@ function typeCheckConfig$7(untrustedConfig) {
3422
3422
  const untrustedConfig_attributes_array = [];
3423
3423
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
3424
3424
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
3425
- const referencePersonalizationAttributeInputRepresentationValidationError = validate$6(untrustedConfig_attributes_item);
3425
+ const referencePersonalizationAttributeInputRepresentationValidationError = validate$9(untrustedConfig_attributes_item);
3426
3426
  if (referencePersonalizationAttributeInputRepresentationValidationError === null) {
3427
3427
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
3428
3428
  }
@@ -3662,7 +3662,250 @@ const deletePersonalizationSchemaAdapterFactory = (luvio) => {
3662
3662
  };
3663
3663
  };
3664
3664
 
3665
- const VERSION$3 = "5249bd66216ddaa79d57690fedf0d20b";
3665
+ const VERSION$6 = "d9f3a15c5177c3eb95787555a862549b";
3666
+ function validate$6(obj, path = 'EsModelArtifactBaseFieldRepresentation') {
3667
+ const v_error = (() => {
3668
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3669
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3670
+ }
3671
+ const obj_dataType = obj.dataType;
3672
+ const path_dataType = path + '.dataType';
3673
+ if (typeof obj_dataType !== 'string') {
3674
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
3675
+ }
3676
+ const obj_label = obj.label;
3677
+ const path_label = path + '.label';
3678
+ if (typeof obj_label !== 'string') {
3679
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
3680
+ }
3681
+ const obj_name = obj.name;
3682
+ const path_name = path + '.name';
3683
+ if (typeof obj_name !== 'string') {
3684
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
3685
+ }
3686
+ })();
3687
+ return v_error === undefined ? null : v_error;
3688
+ }
3689
+ const select$b = function EsModelArtifactBaseFieldRepresentationSelect() {
3690
+ return {
3691
+ kind: 'Fragment',
3692
+ version: VERSION$6,
3693
+ private: [],
3694
+ selections: [
3695
+ {
3696
+ name: 'dataType',
3697
+ kind: 'Scalar'
3698
+ },
3699
+ {
3700
+ name: 'label',
3701
+ kind: 'Scalar'
3702
+ },
3703
+ {
3704
+ name: 'name',
3705
+ kind: 'Scalar'
3706
+ }
3707
+ ]
3708
+ };
3709
+ };
3710
+ function equals$6(existing, incoming) {
3711
+ const existing_dataType = existing.dataType;
3712
+ const incoming_dataType = incoming.dataType;
3713
+ if (!(existing_dataType === incoming_dataType)) {
3714
+ return false;
3715
+ }
3716
+ const existing_label = existing.label;
3717
+ const incoming_label = incoming.label;
3718
+ if (!(existing_label === incoming_label)) {
3719
+ return false;
3720
+ }
3721
+ const existing_name = existing.name;
3722
+ const incoming_name = incoming.name;
3723
+ if (!(existing_name === incoming_name)) {
3724
+ return false;
3725
+ }
3726
+ return true;
3727
+ }
3728
+
3729
+ const VERSION$5 = "79dd6162ffc2c359016bab1d3ceeffab";
3730
+ function validate$5(obj, path = 'EsModelArtifactRepresentation') {
3731
+ const v_error = (() => {
3732
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3733
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3734
+ }
3735
+ const obj_id = obj.id;
3736
+ const path_id = path + '.id';
3737
+ if (typeof obj_id !== 'string') {
3738
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3739
+ }
3740
+ const obj_label = obj.label;
3741
+ const path_label = path + '.label';
3742
+ if (typeof obj_label !== 'string') {
3743
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
3744
+ }
3745
+ const obj_name = obj.name;
3746
+ const path_name = path + '.name';
3747
+ if (typeof obj_name !== 'string') {
3748
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
3749
+ }
3750
+ const obj_outputFields = obj.outputFields;
3751
+ const path_outputFields = path + '.outputFields';
3752
+ if (!ArrayIsArray(obj_outputFields)) {
3753
+ return new TypeError('Expected "array" but received "' + typeof obj_outputFields + '" (at "' + path_outputFields + '")');
3754
+ }
3755
+ for (let i = 0; i < obj_outputFields.length; i++) {
3756
+ const obj_outputFields_item = obj_outputFields[i];
3757
+ const path_outputFields_item = path_outputFields + '[' + i + ']';
3758
+ const referencepath_outputFields_itemValidationError = validate$6(obj_outputFields_item, path_outputFields_item);
3759
+ if (referencepath_outputFields_itemValidationError !== null) {
3760
+ let message = 'Object doesn\'t match EsModelArtifactBaseFieldRepresentation (at "' + path_outputFields_item + '")\n';
3761
+ message += referencepath_outputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3762
+ return new TypeError(message);
3763
+ }
3764
+ }
3765
+ })();
3766
+ return v_error === undefined ? null : v_error;
3767
+ }
3768
+ const select$a = function EsModelArtifactRepresentationSelect() {
3769
+ const { selections: EsModelArtifactBaseFieldRepresentation__selections, opaque: EsModelArtifactBaseFieldRepresentation__opaque, } = select$b();
3770
+ return {
3771
+ kind: 'Fragment',
3772
+ version: VERSION$5,
3773
+ private: [],
3774
+ selections: [
3775
+ {
3776
+ name: 'id',
3777
+ kind: 'Scalar'
3778
+ },
3779
+ {
3780
+ name: 'label',
3781
+ kind: 'Scalar'
3782
+ },
3783
+ {
3784
+ name: 'name',
3785
+ kind: 'Scalar'
3786
+ },
3787
+ {
3788
+ name: 'outputFields',
3789
+ kind: 'Object',
3790
+ plural: true,
3791
+ selections: EsModelArtifactBaseFieldRepresentation__selections
3792
+ }
3793
+ ]
3794
+ };
3795
+ };
3796
+ function equals$5(existing, incoming) {
3797
+ const existing_id = existing.id;
3798
+ const incoming_id = incoming.id;
3799
+ if (!(existing_id === incoming_id)) {
3800
+ return false;
3801
+ }
3802
+ const existing_label = existing.label;
3803
+ const incoming_label = incoming.label;
3804
+ if (!(existing_label === incoming_label)) {
3805
+ return false;
3806
+ }
3807
+ const existing_name = existing.name;
3808
+ const incoming_name = incoming.name;
3809
+ if (!(existing_name === incoming_name)) {
3810
+ return false;
3811
+ }
3812
+ const existing_outputFields = existing.outputFields;
3813
+ const incoming_outputFields = incoming.outputFields;
3814
+ const equals_outputFields_items = equalsArray(existing_outputFields, incoming_outputFields, (existing_outputFields_item, incoming_outputFields_item) => {
3815
+ if (!(equals$6(existing_outputFields_item, incoming_outputFields_item))) {
3816
+ return false;
3817
+ }
3818
+ });
3819
+ if (equals_outputFields_items === false) {
3820
+ return false;
3821
+ }
3822
+ return true;
3823
+ }
3824
+
3825
+ const VERSION$4 = "99ea196b2ab9f99656157ebd55e6cc5f";
3826
+ function validate$4(obj, path = 'PersonalizationDataMlModelInputRepresentation') {
3827
+ const v_error = (() => {
3828
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3829
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3830
+ }
3831
+ const obj_esModelInputFeatureId = obj.esModelInputFeatureId;
3832
+ const path_esModelInputFeatureId = path + '.esModelInputFeatureId';
3833
+ if (typeof obj_esModelInputFeatureId !== 'string') {
3834
+ return new TypeError('Expected "string" but received "' + typeof obj_esModelInputFeatureId + '" (at "' + path_esModelInputFeatureId + '")');
3835
+ }
3836
+ const obj_id = obj.id;
3837
+ const path_id = path + '.id';
3838
+ if (typeof obj_id !== 'string') {
3839
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3840
+ }
3841
+ const obj_inputField = obj.inputField;
3842
+ const path_inputField = path + '.inputField';
3843
+ const referencepath_inputFieldValidationError = validate$6(obj_inputField, path_inputField);
3844
+ if (referencepath_inputFieldValidationError !== null) {
3845
+ let message = 'Object doesn\'t match EsModelArtifactBaseFieldRepresentation (at "' + path_inputField + '")\n';
3846
+ message += referencepath_inputFieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3847
+ return new TypeError(message);
3848
+ }
3849
+ const obj_personalisationField = obj.personalisationField;
3850
+ const path_personalisationField = path + '.personalisationField';
3851
+ if (typeof obj_personalisationField !== 'string') {
3852
+ return new TypeError('Expected "string" but received "' + typeof obj_personalisationField + '" (at "' + path_personalisationField + '")');
3853
+ }
3854
+ })();
3855
+ return v_error === undefined ? null : v_error;
3856
+ }
3857
+ const select$9 = function PersonalizationDataMlModelInputRepresentationSelect() {
3858
+ const { selections: EsModelArtifactBaseFieldRepresentation__selections, opaque: EsModelArtifactBaseFieldRepresentation__opaque, } = select$b();
3859
+ return {
3860
+ kind: 'Fragment',
3861
+ version: VERSION$4,
3862
+ private: [],
3863
+ selections: [
3864
+ {
3865
+ name: 'esModelInputFeatureId',
3866
+ kind: 'Scalar'
3867
+ },
3868
+ {
3869
+ name: 'id',
3870
+ kind: 'Scalar'
3871
+ },
3872
+ {
3873
+ name: 'inputField',
3874
+ kind: 'Object',
3875
+ selections: EsModelArtifactBaseFieldRepresentation__selections
3876
+ },
3877
+ {
3878
+ name: 'personalisationField',
3879
+ kind: 'Scalar'
3880
+ }
3881
+ ]
3882
+ };
3883
+ };
3884
+ function equals$4(existing, incoming) {
3885
+ const existing_esModelInputFeatureId = existing.esModelInputFeatureId;
3886
+ const incoming_esModelInputFeatureId = incoming.esModelInputFeatureId;
3887
+ if (!(existing_esModelInputFeatureId === incoming_esModelInputFeatureId)) {
3888
+ return false;
3889
+ }
3890
+ const existing_id = existing.id;
3891
+ const incoming_id = incoming.id;
3892
+ if (!(existing_id === incoming_id)) {
3893
+ return false;
3894
+ }
3895
+ const existing_personalisationField = existing.personalisationField;
3896
+ const incoming_personalisationField = incoming.personalisationField;
3897
+ if (!(existing_personalisationField === incoming_personalisationField)) {
3898
+ return false;
3899
+ }
3900
+ const existing_inputField = existing.inputField;
3901
+ const incoming_inputField = incoming.inputField;
3902
+ if (!(equals$6(existing_inputField, incoming_inputField))) {
3903
+ return false;
3904
+ }
3905
+ return true;
3906
+ }
3907
+
3908
+ const VERSION$3 = "cb759c82eb75de0d3fc203fc331385ce";
3666
3909
  function validate$3(obj, path = 'PersonalizationDataMlModelRepresentation') {
3667
3910
  const v_error = (() => {
3668
3911
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3673,21 +3916,42 @@ function validate$3(obj, path = 'PersonalizationDataMlModelRepresentation') {
3673
3916
  if (typeof obj_dataSpaceId !== 'string') {
3674
3917
  return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceId + '" (at "' + path_dataSpaceId + '")');
3675
3918
  }
3676
- const obj_esModelDefinitionId = obj.esModelDefinitionId;
3677
- const path_esModelDefinitionId = path + '.esModelDefinitionId';
3678
- if (typeof obj_esModelDefinitionId !== 'string') {
3679
- return new TypeError('Expected "string" but received "' + typeof obj_esModelDefinitionId + '" (at "' + path_esModelDefinitionId + '")');
3919
+ const obj_esModelDefinition = obj.esModelDefinition;
3920
+ const path_esModelDefinition = path + '.esModelDefinition';
3921
+ const referencepath_esModelDefinitionValidationError = validate$5(obj_esModelDefinition, path_esModelDefinition);
3922
+ if (referencepath_esModelDefinitionValidationError !== null) {
3923
+ let message = 'Object doesn\'t match EsModelArtifactRepresentation (at "' + path_esModelDefinition + '")\n';
3924
+ message += referencepath_esModelDefinitionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3925
+ return new TypeError(message);
3680
3926
  }
3681
- const obj_personalizationDataMlModelInputList = obj.personalizationDataMlModelInputList;
3682
- const path_personalizationDataMlModelInputList = path + '.personalizationDataMlModelInputList';
3683
- if (!ArrayIsArray(obj_personalizationDataMlModelInputList)) {
3684
- return new TypeError('Expected "array" but received "' + typeof obj_personalizationDataMlModelInputList + '" (at "' + path_personalizationDataMlModelInputList + '")');
3927
+ const obj_id = obj.id;
3928
+ const path_id = path + '.id';
3929
+ if (typeof obj_id !== 'string') {
3930
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
3931
+ }
3932
+ const obj_label = obj.label;
3933
+ const path_label = path + '.label';
3934
+ if (typeof obj_label !== 'string') {
3935
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
3936
+ }
3937
+ const obj_name = obj.name;
3938
+ const path_name = path + '.name';
3939
+ if (typeof obj_name !== 'string') {
3940
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
3685
3941
  }
3686
- for (let i = 0; i < obj_personalizationDataMlModelInputList.length; i++) {
3687
- const obj_personalizationDataMlModelInputList_item = obj_personalizationDataMlModelInputList[i];
3688
- const path_personalizationDataMlModelInputList_item = path_personalizationDataMlModelInputList + '[' + i + ']';
3689
- if (obj_personalizationDataMlModelInputList_item === undefined) {
3690
- return new TypeError('Expected "defined" but received "' + typeof obj_personalizationDataMlModelInputList_item + '" (at "' + path_personalizationDataMlModelInputList_item + '")');
3942
+ const obj_personalizationInputs = obj.personalizationInputs;
3943
+ const path_personalizationInputs = path + '.personalizationInputs';
3944
+ if (!ArrayIsArray(obj_personalizationInputs)) {
3945
+ return new TypeError('Expected "array" but received "' + typeof obj_personalizationInputs + '" (at "' + path_personalizationInputs + '")');
3946
+ }
3947
+ for (let i = 0; i < obj_personalizationInputs.length; i++) {
3948
+ const obj_personalizationInputs_item = obj_personalizationInputs[i];
3949
+ const path_personalizationInputs_item = path_personalizationInputs + '[' + i + ']';
3950
+ const referencepath_personalizationInputs_itemValidationError = validate$4(obj_personalizationInputs_item, path_personalizationInputs_item);
3951
+ if (referencepath_personalizationInputs_itemValidationError !== null) {
3952
+ let message = 'Object doesn\'t match PersonalizationDataMlModelInputRepresentation (at "' + path_personalizationInputs_item + '")\n';
3953
+ message += referencepath_personalizationInputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3954
+ return new TypeError(message);
3691
3955
  }
3692
3956
  }
3693
3957
  const obj_profileDataGraphId = obj.profileDataGraphId;
@@ -3699,6 +3963,8 @@ function validate$3(obj, path = 'PersonalizationDataMlModelRepresentation') {
3699
3963
  return v_error === undefined ? null : v_error;
3700
3964
  }
3701
3965
  const select$8 = function PersonalizationDataMlModelRepresentationSelect() {
3966
+ const { selections: EsModelArtifactRepresentation__selections, opaque: EsModelArtifactRepresentation__opaque, } = select$a();
3967
+ const { selections: PersonalizationDataMlModelInputRepresentation__selections, opaque: PersonalizationDataMlModelInputRepresentation__opaque, } = select$9();
3702
3968
  return {
3703
3969
  kind: 'Fragment',
3704
3970
  version: VERSION$3,
@@ -3709,13 +3975,27 @@ const select$8 = function PersonalizationDataMlModelRepresentationSelect() {
3709
3975
  kind: 'Scalar'
3710
3976
  },
3711
3977
  {
3712
- name: 'esModelDefinitionId',
3978
+ name: 'esModelDefinition',
3979
+ kind: 'Object',
3980
+ selections: EsModelArtifactRepresentation__selections
3981
+ },
3982
+ {
3983
+ name: 'id',
3984
+ kind: 'Scalar'
3985
+ },
3986
+ {
3987
+ name: 'label',
3988
+ kind: 'Scalar'
3989
+ },
3990
+ {
3991
+ name: 'name',
3713
3992
  kind: 'Scalar'
3714
3993
  },
3715
3994
  {
3716
- name: 'personalizationDataMlModelInputList',
3995
+ name: 'personalizationInputs',
3717
3996
  kind: 'Object',
3718
- // any
3997
+ plural: true,
3998
+ selections: PersonalizationDataMlModelInputRepresentation__selections
3719
3999
  },
3720
4000
  {
3721
4001
  name: 'profileDataGraphId',
@@ -3730,9 +4010,19 @@ function equals$3(existing, incoming) {
3730
4010
  if (!(existing_dataSpaceId === incoming_dataSpaceId)) {
3731
4011
  return false;
3732
4012
  }
3733
- const existing_esModelDefinitionId = existing.esModelDefinitionId;
3734
- const incoming_esModelDefinitionId = incoming.esModelDefinitionId;
3735
- if (!(existing_esModelDefinitionId === incoming_esModelDefinitionId)) {
4013
+ const existing_id = existing.id;
4014
+ const incoming_id = incoming.id;
4015
+ if (!(existing_id === incoming_id)) {
4016
+ return false;
4017
+ }
4018
+ const existing_label = existing.label;
4019
+ const incoming_label = incoming.label;
4020
+ if (!(existing_label === incoming_label)) {
4021
+ return false;
4022
+ }
4023
+ const existing_name = existing.name;
4024
+ const incoming_name = incoming.name;
4025
+ if (!(existing_name === incoming_name)) {
3736
4026
  return false;
3737
4027
  }
3738
4028
  const existing_profileDataGraphId = existing.profileDataGraphId;
@@ -3740,14 +4030,19 @@ function equals$3(existing, incoming) {
3740
4030
  if (!(existing_profileDataGraphId === incoming_profileDataGraphId)) {
3741
4031
  return false;
3742
4032
  }
3743
- const existing_personalizationDataMlModelInputList = existing.personalizationDataMlModelInputList;
3744
- const incoming_personalizationDataMlModelInputList = incoming.personalizationDataMlModelInputList;
3745
- const equals_personalizationDataMlModelInputList_items = equalsArray(existing_personalizationDataMlModelInputList, incoming_personalizationDataMlModelInputList, (existing_personalizationDataMlModelInputList_item, incoming_personalizationDataMlModelInputList_item) => {
3746
- if (JSONStringify(incoming_personalizationDataMlModelInputList_item) !== JSONStringify(existing_personalizationDataMlModelInputList_item)) {
4033
+ const existing_esModelDefinition = existing.esModelDefinition;
4034
+ const incoming_esModelDefinition = incoming.esModelDefinition;
4035
+ if (!(equals$5(existing_esModelDefinition, incoming_esModelDefinition))) {
4036
+ return false;
4037
+ }
4038
+ const existing_personalizationInputs = existing.personalizationInputs;
4039
+ const incoming_personalizationInputs = incoming.personalizationInputs;
4040
+ const equals_personalizationInputs_items = equalsArray(existing_personalizationInputs, incoming_personalizationInputs, (existing_personalizationInputs_item, incoming_personalizationInputs_item) => {
4041
+ if (!(equals$4(existing_personalizationInputs_item, incoming_personalizationInputs_item))) {
3747
4042
  return false;
3748
4043
  }
3749
4044
  });
3750
- if (equals_personalizationDataMlModelInputList_items === false) {
4045
+ if (equals_personalizationInputs_items === false) {
3751
4046
  return false;
3752
4047
  }
3753
4048
  return true;
@@ -3975,7 +4270,7 @@ const getPersonalizationEsModelMappingAdapterFactory = (luvio) => function perso
3975
4270
  };
3976
4271
 
3977
4272
  function select$5(luvio, params) {
3978
- return select$d();
4273
+ return select$g();
3979
4274
  }
3980
4275
  function keyBuilder$5(luvio, params) {
3981
4276
  return keyBuilder$b(luvio, {
@@ -4008,7 +4303,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
4008
4303
  const storeMetadataParams = {
4009
4304
  ttl: TTL$3,
4010
4305
  namespace: keyPrefix,
4011
- version: VERSION$6,
4306
+ version: VERSION$9,
4012
4307
  representationName: RepresentationType$3
4013
4308
  };
4014
4309
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -4115,7 +4410,7 @@ const getPersonalizationPointAdapterFactory = (luvio) => function personalizatio
4115
4410
  };
4116
4411
 
4117
4412
  function select$4(luvio, params) {
4118
- return select$a();
4413
+ return select$d();
4119
4414
  }
4120
4415
  function keyBuilder$3(luvio, params) {
4121
4416
  return keyBuilder$a(luvio, {
@@ -4148,7 +4443,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
4148
4443
  const storeMetadataParams = {
4149
4444
  ttl: TTL$2,
4150
4445
  namespace: keyPrefix,
4151
- version: VERSION$4,
4446
+ version: VERSION$7,
4152
4447
  representationName: RepresentationType$2
4153
4448
  };
4154
4449
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
@@ -4284,7 +4579,7 @@ const notifyChangeFactory = (luvio, options) => {
4284
4579
  luvio.storeIngestError(key, errorSnapshot, {
4285
4580
  ttl: TTL$2,
4286
4581
  namespace: keyPrefix,
4287
- version: VERSION$4,
4582
+ version: VERSION$7,
4288
4583
  representationName: RepresentationType$2
4289
4584
  });
4290
4585
  return luvio.storeBroadcast().then(() => errorSnapshot);
@@ -4727,7 +5022,7 @@ const getTrainingHistoryAdapterFactory = (luvio) => function personalizationServ
4727
5022
  };
4728
5023
 
4729
5024
  function select(luvio, params) {
4730
- return select$d();
5025
+ return select$g();
4731
5026
  }
4732
5027
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
4733
5028
  getTypeCacheKeys$3(storeKeyMap, luvio, response);
@@ -4826,7 +5121,7 @@ function typeCheckConfig(untrustedConfig) {
4826
5121
  const untrustedConfig_decisions_array = [];
4827
5122
  for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
4828
5123
  const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
4829
- const referencePersonalizationDecisionInputRepresentationValidationError = validate$e(untrustedConfig_decisions_item);
5124
+ const referencePersonalizationDecisionInputRepresentationValidationError = validate$h(untrustedConfig_decisions_item);
4830
5125
  if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
4831
5126
  untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
4832
5127
  }
@@ -5004,4 +5299,4 @@ withDefaultLuvio((luvio) => {
5004
5299
  });
5005
5300
 
5006
5301
  export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationEsModelMapping, getPersonalizationEsModelMapping_imperative, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, getTrainingHistory, getTrainingHistory_imperative, updatePersonalizationPoint };
5007
- // version: 1.332.0-dev3-9fb043ed2d
5302
+ // version: 1.332.0-dev4-b9914caa2e