@salesforce/lds-adapters-cdp-personalization-service 1.404.0-dev2 → 1.404.0-dev20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. package/dist/es/es2018/cdp-personalization-service.js +186 -162
  2. package/dist/es/es2018/types/src/generated/adapters/createPersonalizationExperiencesConfig.d.ts +2 -1
  3. package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperienceConfig.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperiencesConfigs.d.ts +4 -0
  5. package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationExperienceConfig.d.ts +2 -1
  6. package/dist/es/es2018/types/src/generated/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName.d.ts +4 -0
  7. package/dist/es/es2018/types/src/generated/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/resources/postPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName.d.ts +4 -1
  9. package/dist/es/es2018/types/src/generated/resources/putPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +4 -1
  10. package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigCollectionRepresentation.d.ts +12 -4
  11. package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigInputRepresentation.d.ts +3 -3
  12. package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigRepresentation.d.ts +6 -3
  13. package/dist/es/es2018/types/src/generated/types/PersonalizationPaginatedResponseBaseRepresentation.d.ts +3 -3
  14. package/package.json +3 -3
  15. package/sfdc/index.js +170 -145
  16. package/src/raml/api.raml +45 -3
  17. package/src/raml/luvio.raml +1 -0
@@ -148,7 +148,7 @@ function createLink(ref) {
148
148
  };
149
149
  }
150
150
 
151
- function validate$n(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
151
+ function validate$m(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
152
152
  const v_error = (() => {
153
153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
154
154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -239,7 +239,7 @@ function validate$n(obj, path = 'PersonalizationAttributeValueInputRepresentatio
239
239
  return v_error === undefined ? null : v_error;
240
240
  }
241
241
 
242
- function validate$m(obj, path = 'PersonalizationDecisionInputRepresentation') {
242
+ function validate$l(obj, path = 'PersonalizationDecisionInputRepresentation') {
243
243
  const v_error = (() => {
244
244
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
245
245
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -253,7 +253,7 @@ function validate$m(obj, path = 'PersonalizationDecisionInputRepresentation') {
253
253
  for (let i = 0; i < obj_attributeValues.length; i++) {
254
254
  const obj_attributeValues_item = obj_attributeValues[i];
255
255
  const path_attributeValues_item = path_attributeValues + '[' + i + ']';
256
- const referencepath_attributeValues_itemValidationError = validate$n(obj_attributeValues_item, path_attributeValues_item);
256
+ const referencepath_attributeValues_itemValidationError = validate$m(obj_attributeValues_item, path_attributeValues_item);
257
257
  if (referencepath_attributeValues_itemValidationError !== null) {
258
258
  let message = 'Object doesn\'t match PersonalizationAttributeValueInputRepresentation (at "' + path_attributeValues_item + '")\n';
259
259
  message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -428,7 +428,7 @@ function validate$m(obj, path = 'PersonalizationDecisionInputRepresentation') {
428
428
  }
429
429
 
430
430
  const VERSION$e = "52ea9c14b7a747a28cedbcff0e7ab169";
431
- function validate$l(obj, path = 'PersonalizationAttributeValueRepresentation') {
431
+ function validate$k(obj, path = 'PersonalizationAttributeValueRepresentation') {
432
432
  const v_error = (() => {
433
433
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
434
434
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -535,7 +535,7 @@ const select$q = function PersonalizationAttributeValueRepresentationSelect() {
535
535
  ]
536
536
  };
537
537
  };
538
- function equals$f(existing, incoming) {
538
+ function equals$e(existing, incoming) {
539
539
  const existing_attributeEnum = existing.attributeEnum;
540
540
  const incoming_attributeEnum = incoming.attributeEnum;
541
541
  if (!(existing_attributeEnum === incoming_attributeEnum)) {
@@ -554,7 +554,7 @@ function equals$f(existing, incoming) {
554
554
  return true;
555
555
  }
556
556
 
557
- function validate$k(obj, path = 'FiltersWrapRepresentation') {
557
+ function validate$j(obj, path = 'FiltersWrapRepresentation') {
558
558
  const v_error = (() => {
559
559
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
560
560
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -633,7 +633,7 @@ function validate$k(obj, path = 'FiltersWrapRepresentation') {
633
633
  return v_error === undefined ? null : v_error;
634
634
  }
635
635
 
636
- function validate$j(obj, path = 'SubjectRepresentation') {
636
+ function validate$i(obj, path = 'SubjectRepresentation') {
637
637
  const v_error = (() => {
638
638
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
639
639
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -753,7 +753,7 @@ function validate$j(obj, path = 'SubjectRepresentation') {
753
753
  }
754
754
 
755
755
  const VERSION$d = "089c2877ffa367e376fe74f8d358ffa8";
756
- function validate$i(obj, path = 'FilterRepresentation') {
756
+ function validate$h(obj, path = 'FilterRepresentation') {
757
757
  const v_error = (() => {
758
758
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
759
759
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -791,7 +791,7 @@ function validate$i(obj, path = 'FilterRepresentation') {
791
791
  const path_comparison = path + '.comparison';
792
792
  let obj_comparison_union0 = null;
793
793
  const obj_comparison_union0_error = (() => {
794
- const referencepath_comparisonValidationError = validate$i(obj_comparison, path_comparison);
794
+ const referencepath_comparisonValidationError = validate$h(obj_comparison, path_comparison);
795
795
  if (referencepath_comparisonValidationError !== null) {
796
796
  let message = 'Object doesn\'t match FilterRepresentation (at "' + path_comparison + '")\n';
797
797
  message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -822,7 +822,7 @@ function validate$i(obj, path = 'FilterRepresentation') {
822
822
  const path_filter = path + '.filter';
823
823
  let obj_filter_union0 = null;
824
824
  const obj_filter_union0_error = (() => {
825
- const referencepath_filterValidationError = validate$k(obj_filter, path_filter);
825
+ const referencepath_filterValidationError = validate$j(obj_filter, path_filter);
826
826
  if (referencepath_filterValidationError !== null) {
827
827
  let message = 'Object doesn\'t match FiltersWrapRepresentation (at "' + path_filter + '")\n';
828
828
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -859,7 +859,7 @@ function validate$i(obj, path = 'FilterRepresentation') {
859
859
  const path_filters_item = path_filters + '[' + i + ']';
860
860
  let obj_filters_item_union0 = null;
861
861
  const obj_filters_item_union0_error = (() => {
862
- const referencepath_filters_itemValidationError = validate$i(obj_filters_item, path_filters_item);
862
+ const referencepath_filters_itemValidationError = validate$h(obj_filters_item, path_filters_item);
863
863
  if (referencepath_filters_itemValidationError !== null) {
864
864
  let message = 'Object doesn\'t match FilterRepresentation (at "' + path_filters_item + '")\n';
865
865
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -919,7 +919,7 @@ function validate$i(obj, path = 'FilterRepresentation') {
919
919
  const path_metric = path + '.metric';
920
920
  let obj_metric_union0 = null;
921
921
  const obj_metric_union0_error = (() => {
922
- const referencepath_metricValidationError = validate$j(obj_metric, path_metric);
922
+ const referencepath_metricValidationError = validate$i(obj_metric, path_metric);
923
923
  if (referencepath_metricValidationError !== null) {
924
924
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_metric + '")\n';
925
925
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -988,7 +988,7 @@ function validate$i(obj, path = 'FilterRepresentation') {
988
988
  for (let i = 0; i < obj_path_item.length; i++) {
989
989
  const obj_path_item_item = obj_path_item[i];
990
990
  const path_path_item_item = path_path_item + '[' + i + ']';
991
- const referencepath_path_item_itemValidationError = validate$j(obj_path_item_item, path_path_item_item);
991
+ const referencepath_path_item_itemValidationError = validate$i(obj_path_item_item, path_path_item_item);
992
992
  if (referencepath_path_item_itemValidationError !== null) {
993
993
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_path_item_item + '")\n';
994
994
  message += referencepath_path_item_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1086,7 +1086,7 @@ function validate$i(obj, path = 'FilterRepresentation') {
1086
1086
  const path_subject = path + '.subject';
1087
1087
  let obj_subject_union0 = null;
1088
1088
  const obj_subject_union0_error = (() => {
1089
- const referencepath_subjectValidationError = validate$j(obj_subject, path_subject);
1089
+ const referencepath_subjectValidationError = validate$i(obj_subject, path_subject);
1090
1090
  if (referencepath_subjectValidationError !== null) {
1091
1091
  let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_subject + '")\n';
1092
1092
  message += referencepath_subjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1197,7 +1197,7 @@ const select$p = function FilterRepresentationSelect() {
1197
1197
  opaque: true
1198
1198
  };
1199
1199
  };
1200
- function equals$e(existing, incoming) {
1200
+ function equals$d(existing, incoming) {
1201
1201
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1202
1202
  return false;
1203
1203
  }
@@ -1205,14 +1205,14 @@ function equals$e(existing, incoming) {
1205
1205
  }
1206
1206
  const ingest$9 = function FilterRepresentationIngest(input, path, luvio, store, timestamp) {
1207
1207
  if (process.env.NODE_ENV !== 'production') {
1208
- const validateError = validate$i(input);
1208
+ const validateError = validate$h(input);
1209
1209
  if (validateError !== null) {
1210
1210
  throw validateError;
1211
1211
  }
1212
1212
  }
1213
1213
  const key = path.fullPath;
1214
1214
  const ttlToUse = path.ttl;
1215
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "personalization-service", VERSION$d, RepresentationType$9, equals$e);
1215
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "personalization-service", VERSION$d, RepresentationType$9, equals$d);
1216
1216
  return createLink(key);
1217
1217
  };
1218
1218
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -1226,7 +1226,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
1226
1226
  }
1227
1227
 
1228
1228
  const VERSION$c = "ea475f10b4c028f8b97a44af1cf0be14";
1229
- function validate$h(obj, path = 'CriteriaRepresentation') {
1229
+ function validate$g(obj, path = 'CriteriaRepresentation') {
1230
1230
  const v_error = (() => {
1231
1231
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1232
1232
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1299,7 +1299,7 @@ const select$o = function CriteriaRepresentationSelect() {
1299
1299
  ]
1300
1300
  };
1301
1301
  };
1302
- function equals$d(existing, incoming) {
1302
+ function equals$c(existing, incoming) {
1303
1303
  const existing_operator = existing.operator;
1304
1304
  const incoming_operator = incoming.operator;
1305
1305
  if (!(existing_operator === incoming_operator)) {
@@ -1324,14 +1324,14 @@ function equals$d(existing, incoming) {
1324
1324
  }
1325
1325
  const ingest$8 = function CriteriaRepresentationIngest(input, path, luvio, store, timestamp) {
1326
1326
  if (process.env.NODE_ENV !== 'production') {
1327
- const validateError = validate$h(input);
1327
+ const validateError = validate$g(input);
1328
1328
  if (validateError !== null) {
1329
1329
  throw validateError;
1330
1330
  }
1331
1331
  }
1332
1332
  const key = path.fullPath;
1333
1333
  const ttlToUse = path.ttl;
1334
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "personalization-service", VERSION$c, RepresentationType$8, equals$d);
1334
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "personalization-service", VERSION$c, RepresentationType$8, equals$c);
1335
1335
  return createLink(key);
1336
1336
  };
1337
1337
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -1349,7 +1349,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
1349
1349
  }
1350
1350
 
1351
1351
  const VERSION$b = "265767af783b296f5f902d6ed447b168";
1352
- function validate$g(obj, path = 'PersonalizationDecisionRepresentation') {
1352
+ function validate$f(obj, path = 'PersonalizationDecisionRepresentation') {
1353
1353
  const v_error = (() => {
1354
1354
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1355
1355
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1362,7 +1362,7 @@ function validate$g(obj, path = 'PersonalizationDecisionRepresentation') {
1362
1362
  for (let i = 0; i < obj_attributeValues.length; i++) {
1363
1363
  const obj_attributeValues_item = obj_attributeValues[i];
1364
1364
  const path_attributeValues_item = path_attributeValues + '[' + i + ']';
1365
- const referencepath_attributeValues_itemValidationError = validate$l(obj_attributeValues_item, path_attributeValues_item);
1365
+ const referencepath_attributeValues_itemValidationError = validate$k(obj_attributeValues_item, path_attributeValues_item);
1366
1366
  if (referencepath_attributeValues_itemValidationError !== null) {
1367
1367
  let message = 'Object doesn\'t match PersonalizationAttributeValueRepresentation (at "' + path_attributeValues_item + '")\n';
1368
1368
  message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1768,11 +1768,11 @@ const select$n = function PersonalizationDecisionRepresentationSelect() {
1768
1768
  ]
1769
1769
  };
1770
1770
  };
1771
- function equals$c(existing, incoming) {
1771
+ function equals$b(existing, incoming) {
1772
1772
  const existing_attributeValues = existing.attributeValues;
1773
1773
  const incoming_attributeValues = incoming.attributeValues;
1774
1774
  const equals_attributeValues_items = equalsArray(existing_attributeValues, incoming_attributeValues, (existing_attributeValues_item, incoming_attributeValues_item) => {
1775
- if (!(equals$f(existing_attributeValues_item, incoming_attributeValues_item))) {
1775
+ if (!(equals$e(existing_attributeValues_item, incoming_attributeValues_item))) {
1776
1776
  return false;
1777
1777
  }
1778
1778
  });
@@ -1848,14 +1848,14 @@ function equals$c(existing, incoming) {
1848
1848
  }
1849
1849
  const ingest$7 = function PersonalizationDecisionRepresentationIngest(input, path, luvio, store, timestamp) {
1850
1850
  if (process.env.NODE_ENV !== 'production') {
1851
- const validateError = validate$g(input);
1851
+ const validateError = validate$f(input);
1852
1852
  if (validateError !== null) {
1853
1853
  throw validateError;
1854
1854
  }
1855
1855
  }
1856
1856
  const key = path.fullPath;
1857
1857
  const ttlToUse = path.ttl;
1858
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "personalization-service", VERSION$b, RepresentationType$7, equals$c);
1858
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "personalization-service", VERSION$b, RepresentationType$7, equals$b);
1859
1859
  return createLink(key);
1860
1860
  };
1861
1861
  function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
@@ -1871,9 +1871,9 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
1871
1871
  }
1872
1872
  }
1873
1873
 
1874
- const TTL$7 = 600;
1874
+ const TTL$6 = 600;
1875
1875
  const VERSION$a = "e5643ca13ef54c890c9177275a053de3";
1876
- function validate$f(obj, path = 'PersonalizationPointRepresentation') {
1876
+ function validate$e(obj, path = 'PersonalizationPointRepresentation') {
1877
1877
  const v_error = (() => {
1878
1878
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1879
1879
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2474,7 +2474,7 @@ const select$m = function PersonalizationPointRepresentationSelect() {
2474
2474
  ]
2475
2475
  };
2476
2476
  };
2477
- function equals$b(existing, incoming) {
2477
+ function equals$a(existing, incoming) {
2478
2478
  const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
2479
2479
  const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
2480
2480
  if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
@@ -2589,14 +2589,14 @@ function equals$b(existing, incoming) {
2589
2589
  }
2590
2590
  const ingest$6 = function PersonalizationPointRepresentationIngest(input, path, luvio, store, timestamp) {
2591
2591
  if (process.env.NODE_ENV !== 'production') {
2592
- const validateError = validate$f(input);
2592
+ const validateError = validate$e(input);
2593
2593
  if (validateError !== null) {
2594
2594
  throw validateError;
2595
2595
  }
2596
2596
  }
2597
2597
  const key = keyBuilderFromType$2(luvio, input);
2598
- const ttlToUse = TTL$7;
2599
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "personalization-service", VERSION$a, RepresentationType$6, equals$b);
2598
+ const ttlToUse = TTL$6;
2599
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "personalization-service", VERSION$a, RepresentationType$6, equals$a);
2600
2600
  return createLink(key);
2601
2601
  };
2602
2602
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -2712,7 +2712,7 @@ function typeCheckConfig$e(untrustedConfig) {
2712
2712
  const untrustedConfig_decisions_array = [];
2713
2713
  for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
2714
2714
  const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
2715
- const referencePersonalizationDecisionInputRepresentationValidationError = validate$m(untrustedConfig_decisions_item);
2715
+ const referencePersonalizationDecisionInputRepresentationValidationError = validate$l(untrustedConfig_decisions_item);
2716
2716
  if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
2717
2717
  untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
2718
2718
  }
@@ -2921,7 +2921,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
2921
2921
  const key = keyBuilder$h(luvio, params);
2922
2922
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2923
2923
  const storeMetadataParams = {
2924
- ttl: TTL$7,
2924
+ ttl: TTL$6,
2925
2925
  namespace: keyPrefix,
2926
2926
  version: VERSION$a,
2927
2927
  representationName: RepresentationType$6
@@ -3129,7 +3129,7 @@ function typeCheckConfig$b(untrustedConfig) {
3129
3129
  const untrustedConfig_decisions_array = [];
3130
3130
  for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
3131
3131
  const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
3132
- const referencePersonalizationDecisionInputRepresentationValidationError = validate$m(untrustedConfig_decisions_item);
3132
+ const referencePersonalizationDecisionInputRepresentationValidationError = validate$l(untrustedConfig_decisions_item);
3133
3133
  if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
3134
3134
  untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
3135
3135
  }
@@ -3222,7 +3222,7 @@ const updatePersonalizationPointAdapterFactory = (luvio) => {
3222
3222
  };
3223
3223
  };
3224
3224
 
3225
- function validate$e(obj, path = 'PersonalizationAttributeInputRepresentation') {
3225
+ function validate$d(obj, path = 'PersonalizationAttributeInputRepresentation') {
3226
3226
  const v_error = (() => {
3227
3227
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3228
3228
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3270,7 +3270,7 @@ function validate$e(obj, path = 'PersonalizationAttributeInputRepresentation') {
3270
3270
  }
3271
3271
 
3272
3272
  const VERSION$9 = "014064b188ff923423af6301d64be36a";
3273
- function validate$d(obj, path = 'PersonalizationAttributeRepresentation') {
3273
+ function validate$c(obj, path = 'PersonalizationAttributeRepresentation') {
3274
3274
  const v_error = (() => {
3275
3275
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3276
3276
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3410,7 +3410,7 @@ const select$i = function PersonalizationAttributeRepresentationSelect() {
3410
3410
  ]
3411
3411
  };
3412
3412
  };
3413
- function equals$a(existing, incoming) {
3413
+ function equals$9(existing, incoming) {
3414
3414
  const existing_createdById = existing.createdById;
3415
3415
  const incoming_createdById = incoming.createdById;
3416
3416
  if (!(existing_createdById === incoming_createdById)) {
@@ -3459,9 +3459,9 @@ function equals$a(existing, incoming) {
3459
3459
  return true;
3460
3460
  }
3461
3461
 
3462
- const TTL$6 = 600;
3462
+ const TTL$5 = 600;
3463
3463
  const VERSION$8 = "25740f87643de6fdae570c77bbec7377";
3464
- function validate$c(obj, path = 'PersonalizationSchemaRepresentation') {
3464
+ function validate$b(obj, path = 'PersonalizationSchemaRepresentation') {
3465
3465
  const v_error = (() => {
3466
3466
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3467
3467
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3474,7 +3474,7 @@ function validate$c(obj, path = 'PersonalizationSchemaRepresentation') {
3474
3474
  for (let i = 0; i < obj_attributes.length; i++) {
3475
3475
  const obj_attributes_item = obj_attributes[i];
3476
3476
  const path_attributes_item = path_attributes + '[' + i + ']';
3477
- const referencepath_attributes_itemValidationError = validate$d(obj_attributes_item, path_attributes_item);
3477
+ const referencepath_attributes_itemValidationError = validate$c(obj_attributes_item, path_attributes_item);
3478
3478
  if (referencepath_attributes_itemValidationError !== null) {
3479
3479
  let message = 'Object doesn\'t match PersonalizationAttributeRepresentation (at "' + path_attributes_item + '")\n';
3480
3480
  message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3701,7 +3701,7 @@ const select$h = function PersonalizationSchemaRepresentationSelect() {
3701
3701
  ]
3702
3702
  };
3703
3703
  };
3704
- function equals$9(existing, incoming) {
3704
+ function equals$8(existing, incoming) {
3705
3705
  const existing_createdById = existing.createdById;
3706
3706
  const incoming_createdById = incoming.createdById;
3707
3707
  if (!(existing_createdById === incoming_createdById)) {
@@ -3755,7 +3755,7 @@ function equals$9(existing, incoming) {
3755
3755
  const existing_attributes = existing.attributes;
3756
3756
  const incoming_attributes = incoming.attributes;
3757
3757
  const equals_attributes_items = equalsArray(existing_attributes, incoming_attributes, (existing_attributes_item, incoming_attributes_item) => {
3758
- if (!(equals$a(existing_attributes_item, incoming_attributes_item))) {
3758
+ if (!(equals$9(existing_attributes_item, incoming_attributes_item))) {
3759
3759
  return false;
3760
3760
  }
3761
3761
  });
@@ -3786,14 +3786,14 @@ function equals$9(existing, incoming) {
3786
3786
  }
3787
3787
  const ingest$5 = function PersonalizationSchemaRepresentationIngest(input, path, luvio, store, timestamp) {
3788
3788
  if (process.env.NODE_ENV !== 'production') {
3789
- const validateError = validate$c(input);
3789
+ const validateError = validate$b(input);
3790
3790
  if (validateError !== null) {
3791
3791
  throw validateError;
3792
3792
  }
3793
3793
  }
3794
3794
  const key = keyBuilderFromType$1(luvio, input);
3795
- const ttlToUse = TTL$6;
3796
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "personalization-service", VERSION$8, RepresentationType$5, equals$9);
3795
+ const ttlToUse = TTL$5;
3796
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "personalization-service", VERSION$8, RepresentationType$5, equals$8);
3797
3797
  return createLink(key);
3798
3798
  };
3799
3799
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
@@ -3885,7 +3885,7 @@ function typeCheckConfig$a(untrustedConfig) {
3885
3885
  const untrustedConfig_attributes_array = [];
3886
3886
  for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
3887
3887
  const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
3888
- const referencePersonalizationAttributeInputRepresentationValidationError = validate$e(untrustedConfig_attributes_item);
3888
+ const referencePersonalizationAttributeInputRepresentationValidationError = validate$d(untrustedConfig_attributes_item);
3889
3889
  if (referencePersonalizationAttributeInputRepresentationValidationError === null) {
3890
3890
  untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
3891
3891
  }
@@ -4073,7 +4073,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
4073
4073
  const key = keyBuilder$d(luvio, params);
4074
4074
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4075
4075
  const storeMetadataParams = {
4076
- ttl: TTL$6,
4076
+ ttl: TTL$5,
4077
4077
  namespace: keyPrefix,
4078
4078
  version: VERSION$8,
4079
4079
  representationName: RepresentationType$5
@@ -4182,7 +4182,7 @@ const getPersonalizationSchemaAdapterFactory = (luvio) => function personalizati
4182
4182
  };
4183
4183
 
4184
4184
  const VERSION$7 = "4140d8b5bf494d4e8f3ef8713b0ffd7d";
4185
- function validate$b(obj, path = 'PersonalizationRecommenderJobRepresentation') {
4185
+ function validate$a(obj, path = 'PersonalizationRecommenderJobRepresentation') {
4186
4186
  const v_error = (() => {
4187
4187
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4188
4188
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4271,7 +4271,7 @@ const select$e = function PersonalizationRecommenderJobRepresentationSelect() {
4271
4271
  ]
4272
4272
  };
4273
4273
  };
4274
- function equals$8(existing, incoming) {
4274
+ function equals$7(existing, incoming) {
4275
4275
  const existing_errorCode = existing.errorCode;
4276
4276
  const incoming_errorCode = incoming.errorCode;
4277
4277
  // if at least one of these optionals is defined
@@ -4353,9 +4353,9 @@ function equals$8(existing, incoming) {
4353
4353
  return true;
4354
4354
  }
4355
4355
 
4356
- const TTL$5 = 600;
4356
+ const TTL$4 = 600;
4357
4357
  const VERSION$6 = "2fab2250d4ed5adcbb1a5c19a64cd765";
4358
- function validate$a(obj, path = 'PersonalizationRecommenderJobCollectionRepresentation') {
4358
+ function validate$9(obj, path = 'PersonalizationRecommenderJobCollectionRepresentation') {
4359
4359
  const v_error = (() => {
4360
4360
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4361
4361
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4376,7 +4376,7 @@ function validate$a(obj, path = 'PersonalizationRecommenderJobCollectionRepresen
4376
4376
  for (let i = 0; i < obj_jobs.length; i++) {
4377
4377
  const obj_jobs_item = obj_jobs[i];
4378
4378
  const path_jobs_item = path_jobs + '[' + i + ']';
4379
- const referencepath_jobs_itemValidationError = validate$b(obj_jobs_item, path_jobs_item);
4379
+ const referencepath_jobs_itemValidationError = validate$a(obj_jobs_item, path_jobs_item);
4380
4380
  if (referencepath_jobs_itemValidationError !== null) {
4381
4381
  let message = 'Object doesn\'t match PersonalizationRecommenderJobRepresentation (at "' + path_jobs_item + '")\n';
4382
4382
  message += referencepath_jobs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4425,7 +4425,7 @@ const select$d = function PersonalizationRecommenderJobCollectionRepresentationS
4425
4425
  ]
4426
4426
  };
4427
4427
  };
4428
- function equals$7(existing, incoming) {
4428
+ function equals$6(existing, incoming) {
4429
4429
  const existing_currentPageUrl = existing.currentPageUrl;
4430
4430
  const incoming_currentPageUrl = incoming.currentPageUrl;
4431
4431
  // if at least one of these optionals is defined
@@ -4462,7 +4462,7 @@ function equals$7(existing, incoming) {
4462
4462
  return false;
4463
4463
  }
4464
4464
  const equals_jobs_items = equalsArray(existing_jobs, incoming_jobs, (existing_jobs_item, incoming_jobs_item) => {
4465
- if (!(equals$8(existing_jobs_item, incoming_jobs_item))) {
4465
+ if (!(equals$7(existing_jobs_item, incoming_jobs_item))) {
4466
4466
  return false;
4467
4467
  }
4468
4468
  });
@@ -4474,14 +4474,14 @@ function equals$7(existing, incoming) {
4474
4474
  }
4475
4475
  const ingest$4 = function PersonalizationRecommenderJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
4476
4476
  if (process.env.NODE_ENV !== 'production') {
4477
- const validateError = validate$a(input);
4477
+ const validateError = validate$9(input);
4478
4478
  if (validateError !== null) {
4479
4479
  throw validateError;
4480
4480
  }
4481
4481
  }
4482
4482
  const key = path.fullPath;
4483
- const ttlToUse = TTL$5;
4484
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "personalization-service", VERSION$6, RepresentationType$4, equals$7);
4483
+ const ttlToUse = TTL$4;
4484
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "personalization-service", VERSION$6, RepresentationType$4, equals$6);
4485
4485
  return createLink(key);
4486
4486
  };
4487
4487
  function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
@@ -4524,7 +4524,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
4524
4524
  const key = keyBuilder$b(luvio, params);
4525
4525
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4526
4526
  const storeMetadataParams = {
4527
- ttl: TTL$5,
4527
+ ttl: TTL$4,
4528
4528
  namespace: keyPrefix,
4529
4529
  version: VERSION$6,
4530
4530
  representationName: RepresentationType$4
@@ -4634,7 +4634,7 @@ const getTrainingHistoryAdapterFactory = (luvio) => function personalizationServ
4634
4634
  buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
4635
4635
  };
4636
4636
 
4637
- function validate$9(obj, path = 'AnchorReferenceRepresentation') {
4637
+ function validate$8(obj, path = 'AnchorReferenceRepresentation') {
4638
4638
  const v_error = (() => {
4639
4639
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4640
4640
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4653,7 +4653,7 @@ function validate$9(obj, path = 'AnchorReferenceRepresentation') {
4653
4653
  return v_error === undefined ? null : v_error;
4654
4654
  }
4655
4655
 
4656
- function validate$8(obj, path = 'RuleGroupInputRepresentation2') {
4656
+ function validate$7(obj, path = 'RuleGroupInputRepresentation2') {
4657
4657
  const v_error = (() => {
4658
4658
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4659
4659
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4679,7 +4679,7 @@ function validate$8(obj, path = 'RuleGroupInputRepresentation2') {
4679
4679
  return v_error === undefined ? null : v_error;
4680
4680
  }
4681
4681
 
4682
- function validate$7(obj, path = 'RuleGroupInputRepresentation') {
4682
+ function validate$6(obj, path = 'RuleGroupInputRepresentation') {
4683
4683
  const v_error = (() => {
4684
4684
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4685
4685
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4705,9 +4705,9 @@ function validate$7(obj, path = 'RuleGroupInputRepresentation') {
4705
4705
  return v_error === undefined ? null : v_error;
4706
4706
  }
4707
4707
 
4708
- const TTL$4 = 600;
4708
+ const TTL$3 = 600;
4709
4709
  const VERSION$5 = "03b72d395296cf8da94dcea60a4830e8";
4710
- function validate$6(obj, path = 'PersonalizationRecommenderSimulateActionRepresentation') {
4710
+ function validate$5(obj, path = 'PersonalizationRecommenderSimulateActionRepresentation') {
4711
4711
  const v_error = (() => {
4712
4712
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4713
4713
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4738,7 +4738,7 @@ const select$b = function PersonalizationRecommenderSimulateActionRepresentation
4738
4738
  ]
4739
4739
  };
4740
4740
  };
4741
- function equals$6(existing, incoming) {
4741
+ function equals$5(existing, incoming) {
4742
4742
  const existing_recommendations = existing.recommendations;
4743
4743
  const incoming_recommendations = incoming.recommendations;
4744
4744
  if (JSONStringify(incoming_recommendations) !== JSONStringify(existing_recommendations)) {
@@ -4748,14 +4748,14 @@ function equals$6(existing, incoming) {
4748
4748
  }
4749
4749
  const ingest$3 = function PersonalizationRecommenderSimulateActionRepresentationIngest(input, path, luvio, store, timestamp) {
4750
4750
  if (process.env.NODE_ENV !== 'production') {
4751
- const validateError = validate$6(input);
4751
+ const validateError = validate$5(input);
4752
4752
  if (validateError !== null) {
4753
4753
  throw validateError;
4754
4754
  }
4755
4755
  }
4756
4756
  const key = path.fullPath;
4757
- const ttlToUse = TTL$4;
4758
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "personalization-service", VERSION$5, RepresentationType$3, equals$6);
4757
+ const ttlToUse = TTL$3;
4758
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "personalization-service", VERSION$5, RepresentationType$3, equals$5);
4759
4759
  return createLink(key);
4760
4760
  };
4761
4761
  function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
@@ -4799,7 +4799,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
4799
4799
  const key = keyBuilder$9(luvio, params);
4800
4800
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4801
4801
  const storeMetadataParams = {
4802
- ttl: TTL$4,
4802
+ ttl: TTL$3,
4803
4803
  namespace: keyPrefix,
4804
4804
  version: VERSION$5,
4805
4805
  representationName: RepresentationType$3
@@ -4843,7 +4843,7 @@ function typeCheckConfig$6(untrustedConfig) {
4843
4843
  const untrustedConfig_anchors_array = [];
4844
4844
  for (let i = 0, arrayLength = untrustedConfig_anchors.length; i < arrayLength; i++) {
4845
4845
  const untrustedConfig_anchors_item = untrustedConfig_anchors[i];
4846
- const referenceAnchorReferenceRepresentationValidationError = validate$9(untrustedConfig_anchors_item);
4846
+ const referenceAnchorReferenceRepresentationValidationError = validate$8(untrustedConfig_anchors_item);
4847
4847
  if (referenceAnchorReferenceRepresentationValidationError === null) {
4848
4848
  untrustedConfig_anchors_array.push(untrustedConfig_anchors_item);
4849
4849
  }
@@ -4851,12 +4851,12 @@ function typeCheckConfig$6(untrustedConfig) {
4851
4851
  config.anchors = untrustedConfig_anchors_array;
4852
4852
  }
4853
4853
  const untrustedConfig_excludeFilters = untrustedConfig.excludeFilters;
4854
- const referenceRuleGroupInputRepresentation2ValidationError = validate$8(untrustedConfig_excludeFilters);
4854
+ const referenceRuleGroupInputRepresentation2ValidationError = validate$7(untrustedConfig_excludeFilters);
4855
4855
  if (referenceRuleGroupInputRepresentation2ValidationError === null) {
4856
4856
  config.excludeFilters = untrustedConfig_excludeFilters;
4857
4857
  }
4858
4858
  const untrustedConfig_includeFilters = untrustedConfig.includeFilters;
4859
- const referenceRuleGroupInputRepresentationValidationError = validate$7(untrustedConfig_includeFilters);
4859
+ const referenceRuleGroupInputRepresentationValidationError = validate$6(untrustedConfig_includeFilters);
4860
4860
  if (referenceRuleGroupInputRepresentationValidationError === null) {
4861
4861
  config.includeFilters = untrustedConfig_includeFilters;
4862
4862
  }
@@ -4941,7 +4941,7 @@ const postPersonalizationRecommenderSimulateActionAdapterFactory = (luvio) => fu
4941
4941
  };
4942
4942
 
4943
4943
  const VERSION$4 = "e68c48ce57702a3f1e8ca445bbbcbbcf";
4944
- function validate$5(obj, path = 'PersonalizationDataMlModelInputFeatureRepresentation') {
4944
+ function validate$4(obj, path = 'PersonalizationDataMlModelInputFeatureRepresentation') {
4945
4945
  const v_error = (() => {
4946
4946
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4947
4947
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4987,7 +4987,7 @@ const select$9 = function PersonalizationDataMlModelInputFeatureRepresentationSe
4987
4987
  ]
4988
4988
  };
4989
4989
  };
4990
- function equals$5(existing, incoming) {
4990
+ function equals$4(existing, incoming) {
4991
4991
  const existing_type = existing.type;
4992
4992
  const incoming_type = incoming.type;
4993
4993
  if (!(existing_type === incoming_type)) {
@@ -5007,7 +5007,7 @@ function equals$5(existing, incoming) {
5007
5007
  }
5008
5008
 
5009
5009
  const VERSION$3 = "d1b90f3586125de94a321fae68717c07";
5010
- function validate$4(obj, path = 'PersonalizationDataMlModelRepresentation') {
5010
+ function validate$3(obj, path = 'PersonalizationDataMlModelRepresentation') {
5011
5011
  const v_error = (() => {
5012
5012
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5013
5013
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5020,7 +5020,7 @@ function validate$4(obj, path = 'PersonalizationDataMlModelRepresentation') {
5020
5020
  for (let i = 0; i < obj_dataMlModelInputs.length; i++) {
5021
5021
  const obj_dataMlModelInputs_item = obj_dataMlModelInputs[i];
5022
5022
  const path_dataMlModelInputs_item = path_dataMlModelInputs + '[' + i + ']';
5023
- const referencepath_dataMlModelInputs_itemValidationError = validate$5(obj_dataMlModelInputs_item, path_dataMlModelInputs_item);
5023
+ const referencepath_dataMlModelInputs_itemValidationError = validate$4(obj_dataMlModelInputs_item, path_dataMlModelInputs_item);
5024
5024
  if (referencepath_dataMlModelInputs_itemValidationError !== null) {
5025
5025
  let message = 'Object doesn\'t match PersonalizationDataMlModelInputFeatureRepresentation (at "' + path_dataMlModelInputs_item + '")\n';
5026
5026
  message += referencepath_dataMlModelInputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5111,7 +5111,7 @@ const select$8 = function PersonalizationDataMlModelRepresentationSelect() {
5111
5111
  ]
5112
5112
  };
5113
5113
  };
5114
- function equals$4(existing, incoming) {
5114
+ function equals$3(existing, incoming) {
5115
5115
  const existing_dataSpaceName = existing.dataSpaceName;
5116
5116
  const incoming_dataSpaceName = incoming.dataSpaceName;
5117
5117
  if (!(existing_dataSpaceName === incoming_dataSpaceName)) {
@@ -5140,7 +5140,7 @@ function equals$4(existing, incoming) {
5140
5140
  const existing_dataMlModelInputs = existing.dataMlModelInputs;
5141
5141
  const incoming_dataMlModelInputs = incoming.dataMlModelInputs;
5142
5142
  const equals_dataMlModelInputs_items = equalsArray(existing_dataMlModelInputs, incoming_dataMlModelInputs, (existing_dataMlModelInputs_item, incoming_dataMlModelInputs_item) => {
5143
- if (!(equals$5(existing_dataMlModelInputs_item, incoming_dataMlModelInputs_item))) {
5143
+ if (!(equals$4(existing_dataMlModelInputs_item, incoming_dataMlModelInputs_item))) {
5144
5144
  return false;
5145
5145
  }
5146
5146
  });
@@ -5160,9 +5160,9 @@ function equals$4(existing, incoming) {
5160
5160
  return true;
5161
5161
  }
5162
5162
 
5163
- const TTL$3 = 600;
5163
+ const TTL$2 = 600;
5164
5164
  const VERSION$2 = "9dbc0875b97dc0f9ec2f23b3481be0b8";
5165
- function validate$3(obj, path = 'PersonalizationDataMlModelCollectionRepresentation') {
5165
+ function validate$2(obj, path = 'PersonalizationDataMlModelCollectionRepresentation') {
5166
5166
  const v_error = (() => {
5167
5167
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5168
5168
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5175,7 +5175,7 @@ function validate$3(obj, path = 'PersonalizationDataMlModelCollectionRepresentat
5175
5175
  for (let i = 0; i < obj_personalizationDataMlModels.length; i++) {
5176
5176
  const obj_personalizationDataMlModels_item = obj_personalizationDataMlModels[i];
5177
5177
  const path_personalizationDataMlModels_item = path_personalizationDataMlModels + '[' + i + ']';
5178
- const referencepath_personalizationDataMlModels_itemValidationError = validate$4(obj_personalizationDataMlModels_item, path_personalizationDataMlModels_item);
5178
+ const referencepath_personalizationDataMlModels_itemValidationError = validate$3(obj_personalizationDataMlModels_item, path_personalizationDataMlModels_item);
5179
5179
  if (referencepath_personalizationDataMlModels_itemValidationError !== null) {
5180
5180
  let message = 'Object doesn\'t match PersonalizationDataMlModelRepresentation (at "' + path_personalizationDataMlModels_item + '")\n';
5181
5181
  message += referencepath_personalizationDataMlModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5205,11 +5205,11 @@ const select$7 = function PersonalizationDataMlModelCollectionRepresentationSele
5205
5205
  ]
5206
5206
  };
5207
5207
  };
5208
- function equals$3(existing, incoming) {
5208
+ function equals$2(existing, incoming) {
5209
5209
  const existing_personalizationDataMlModels = existing.personalizationDataMlModels;
5210
5210
  const incoming_personalizationDataMlModels = incoming.personalizationDataMlModels;
5211
5211
  const equals_personalizationDataMlModels_items = equalsArray(existing_personalizationDataMlModels, incoming_personalizationDataMlModels, (existing_personalizationDataMlModels_item, incoming_personalizationDataMlModels_item) => {
5212
- if (!(equals$4(existing_personalizationDataMlModels_item, incoming_personalizationDataMlModels_item))) {
5212
+ if (!(equals$3(existing_personalizationDataMlModels_item, incoming_personalizationDataMlModels_item))) {
5213
5213
  return false;
5214
5214
  }
5215
5215
  });
@@ -5220,14 +5220,14 @@ function equals$3(existing, incoming) {
5220
5220
  }
5221
5221
  const ingest$2 = function PersonalizationDataMlModelCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5222
5222
  if (process.env.NODE_ENV !== 'production') {
5223
- const validateError = validate$3(input);
5223
+ const validateError = validate$2(input);
5224
5224
  if (validateError !== null) {
5225
5225
  throw validateError;
5226
5226
  }
5227
5227
  }
5228
5228
  const key = path.fullPath;
5229
- const ttlToUse = TTL$3;
5230
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "personalization-service", VERSION$2, RepresentationType$2, equals$3);
5229
+ const ttlToUse = TTL$2;
5230
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "personalization-service", VERSION$2, RepresentationType$2, equals$2);
5231
5231
  return createLink(key);
5232
5232
  };
5233
5233
  function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
@@ -5270,7 +5270,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
5270
5270
  const key = keyBuilder$7(luvio, params);
5271
5271
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5272
5272
  const storeMetadataParams = {
5273
- ttl: TTL$3,
5273
+ ttl: TTL$2,
5274
5274
  namespace: keyPrefix,
5275
5275
  version: VERSION$2,
5276
5276
  representationName: RepresentationType$2
@@ -5383,51 +5383,8 @@ const getPersonalizationEsModelMappingAdapterFactory = (luvio) => function perso
5383
5383
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
5384
5384
  };
5385
5385
 
5386
- const TTL$2 = 600;
5387
- function validate$2(obj, path = 'PersonalizationPaginatedResponseBaseRepresentation') {
5388
- const v_error = (() => {
5389
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5390
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5391
- }
5392
- const obj_currentPageUrl = obj.currentPageUrl;
5393
- const path_currentPageUrl = path + '.currentPageUrl';
5394
- if (typeof obj_currentPageUrl !== 'string') {
5395
- return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
5396
- }
5397
- const obj_nextPageUrl = obj.nextPageUrl;
5398
- const path_nextPageUrl = path + '.nextPageUrl';
5399
- if (typeof obj_nextPageUrl !== 'string') {
5400
- return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
5401
- }
5402
- const obj_totalSize = obj.totalSize;
5403
- const path_totalSize = path + '.totalSize';
5404
- if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
5405
- return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
5406
- }
5407
- })();
5408
- return v_error === undefined ? null : v_error;
5409
- }
5410
- function equals$2(existing, incoming) {
5411
- const existing_totalSize = existing.totalSize;
5412
- const incoming_totalSize = incoming.totalSize;
5413
- if (!(existing_totalSize === incoming_totalSize)) {
5414
- return false;
5415
- }
5416
- const existing_currentPageUrl = existing.currentPageUrl;
5417
- const incoming_currentPageUrl = incoming.currentPageUrl;
5418
- if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
5419
- return false;
5420
- }
5421
- const existing_nextPageUrl = existing.nextPageUrl;
5422
- const incoming_nextPageUrl = incoming.nextPageUrl;
5423
- if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
5424
- return false;
5425
- }
5426
- return true;
5427
- }
5428
-
5429
5386
  const TTL$1 = 600;
5430
- const VERSION$1 = "ad7582d1e3c4e2d227351115537d8590";
5387
+ const VERSION$1 = "cfc058516a8d7a119e9f369aa6088064";
5431
5388
  function validate$1(obj, path = 'PersonalizationExperienceConfigRepresentation') {
5432
5389
  const v_error = (() => {
5433
5390
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5459,10 +5416,12 @@ function validate$1(obj, path = 'PersonalizationExperienceConfigRepresentation')
5459
5416
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
5460
5417
  }
5461
5418
  }
5462
- const obj_displayUrl = obj.displayUrl;
5463
- const path_displayUrl = path + '.displayUrl';
5464
- if (typeof obj_displayUrl !== 'string') {
5465
- return new TypeError('Expected "string" but received "' + typeof obj_displayUrl + '" (at "' + path_displayUrl + '")');
5419
+ if (obj.displayUrl !== undefined) {
5420
+ const obj_displayUrl = obj.displayUrl;
5421
+ const path_displayUrl = path + '.displayUrl';
5422
+ if (typeof obj_displayUrl !== 'string') {
5423
+ return new TypeError('Expected "string" but received "' + typeof obj_displayUrl + '" (at "' + path_displayUrl + '")');
5424
+ }
5466
5425
  }
5467
5426
  if (obj.id !== undefined) {
5468
5427
  const obj_id = obj.id;
@@ -5526,6 +5485,13 @@ function validate$1(obj, path = 'PersonalizationExperienceConfigRepresentation')
5526
5485
  if (obj_transformationConfig === undefined) {
5527
5486
  return new TypeError('Expected "defined" but received "' + typeof obj_transformationConfig + '" (at "' + path_transformationConfig + '")');
5528
5487
  }
5488
+ if (obj.wpmUrl !== undefined) {
5489
+ const obj_wpmUrl = obj.wpmUrl;
5490
+ const path_wpmUrl = path + '.wpmUrl';
5491
+ if (typeof obj_wpmUrl !== 'string') {
5492
+ return new TypeError('Expected "string" but received "' + typeof obj_wpmUrl + '" (at "' + path_wpmUrl + '")');
5493
+ }
5494
+ }
5529
5495
  })();
5530
5496
  return v_error === undefined ? null : v_error;
5531
5497
  }
@@ -5570,7 +5536,8 @@ const select$5 = function PersonalizationExperienceConfigRepresentationSelect()
5570
5536
  },
5571
5537
  {
5572
5538
  name: 'displayUrl',
5573
- kind: 'Scalar'
5539
+ kind: 'Scalar',
5540
+ required: false
5574
5541
  },
5575
5542
  {
5576
5543
  name: 'id',
@@ -5614,6 +5581,11 @@ const select$5 = function PersonalizationExperienceConfigRepresentationSelect()
5614
5581
  name: 'transformationConfig',
5615
5582
  kind: 'Object',
5616
5583
  // any
5584
+ },
5585
+ {
5586
+ name: 'wpmUrl',
5587
+ kind: 'Scalar',
5588
+ required: false
5617
5589
  }
5618
5590
  ]
5619
5591
  };
@@ -5665,8 +5637,16 @@ function equals$1(existing, incoming) {
5665
5637
  }
5666
5638
  const existing_displayUrl = existing.displayUrl;
5667
5639
  const incoming_displayUrl = incoming.displayUrl;
5668
- if (!(existing_displayUrl === incoming_displayUrl)) {
5669
- return false;
5640
+ // if at least one of these optionals is defined
5641
+ if (existing_displayUrl !== undefined || incoming_displayUrl !== undefined) {
5642
+ // if one of these is not defined we know the other is defined and therefore
5643
+ // not equal
5644
+ if (existing_displayUrl === undefined || incoming_displayUrl === undefined) {
5645
+ return false;
5646
+ }
5647
+ if (!(existing_displayUrl === incoming_displayUrl)) {
5648
+ return false;
5649
+ }
5670
5650
  }
5671
5651
  const existing_id = existing.id;
5672
5652
  const incoming_id = incoming.id;
@@ -5738,6 +5718,19 @@ function equals$1(existing, incoming) {
5738
5718
  return false;
5739
5719
  }
5740
5720
  }
5721
+ const existing_wpmUrl = existing.wpmUrl;
5722
+ const incoming_wpmUrl = incoming.wpmUrl;
5723
+ // if at least one of these optionals is defined
5724
+ if (existing_wpmUrl !== undefined || incoming_wpmUrl !== undefined) {
5725
+ // if one of these is not defined we know the other is defined and therefore
5726
+ // not equal
5727
+ if (existing_wpmUrl === undefined || incoming_wpmUrl === undefined) {
5728
+ return false;
5729
+ }
5730
+ if (!(existing_wpmUrl === incoming_wpmUrl)) {
5731
+ return false;
5732
+ }
5733
+ }
5741
5734
  const existing_dataProvider = existing.dataProvider;
5742
5735
  const incoming_dataProvider = incoming.dataProvider;
5743
5736
  if (JSONStringify(incoming_dataProvider) !== JSONStringify(existing_dataProvider)) {
@@ -5783,16 +5776,45 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
5783
5776
  }
5784
5777
 
5785
5778
  const TTL = 600;
5786
- const VERSION = "5a309503b3f17d6589909be7f5f9d4a8";
5779
+ const VERSION = "6528ad865555561e680369408fb4f4c2";
5787
5780
  function validate(obj, path = 'PersonalizationExperienceConfigCollectionRepresentation') {
5788
- const validatePersonalizationPaginatedResponseBaseRepresentation_validateError = validate$2(obj, path);
5789
- if (validatePersonalizationPaginatedResponseBaseRepresentation_validateError !== null) {
5790
- return validatePersonalizationPaginatedResponseBaseRepresentation_validateError;
5791
- }
5792
5781
  const v_error = (() => {
5793
5782
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5794
5783
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5795
5784
  }
5785
+ const obj_currentPageUrl = obj.currentPageUrl;
5786
+ const path_currentPageUrl = path + '.currentPageUrl';
5787
+ if (typeof obj_currentPageUrl !== 'string') {
5788
+ return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
5789
+ }
5790
+ if (obj.nextPageUrl !== undefined) {
5791
+ const obj_nextPageUrl = obj.nextPageUrl;
5792
+ const path_nextPageUrl = path + '.nextPageUrl';
5793
+ let obj_nextPageUrl_union0 = null;
5794
+ const obj_nextPageUrl_union0_error = (() => {
5795
+ if (typeof obj_nextPageUrl !== 'string') {
5796
+ return new TypeError('Expected "string" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
5797
+ }
5798
+ })();
5799
+ if (obj_nextPageUrl_union0_error != null) {
5800
+ obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
5801
+ }
5802
+ let obj_nextPageUrl_union1 = null;
5803
+ const obj_nextPageUrl_union1_error = (() => {
5804
+ if (obj_nextPageUrl !== null) {
5805
+ return new TypeError('Expected "null" but received "' + typeof obj_nextPageUrl + '" (at "' + path_nextPageUrl + '")');
5806
+ }
5807
+ })();
5808
+ if (obj_nextPageUrl_union1_error != null) {
5809
+ obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
5810
+ }
5811
+ if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
5812
+ let message = 'Object doesn\'t match union (at "' + path_nextPageUrl + '")';
5813
+ message += '\n' + obj_nextPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
5814
+ message += '\n' + obj_nextPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
5815
+ return new TypeError(message);
5816
+ }
5817
+ }
5796
5818
  const obj_personalizationExperienceConfigs = obj.personalizationExperienceConfigs;
5797
5819
  const path_personalizationExperienceConfigs = path + '.personalizationExperienceConfigs';
5798
5820
  if (!ArrayIsArray(obj_personalizationExperienceConfigs)) {
@@ -5808,6 +5830,11 @@ function validate(obj, path = 'PersonalizationExperienceConfigCollectionRepresen
5808
5830
  return new TypeError(message);
5809
5831
  }
5810
5832
  }
5833
+ const obj_totalSize = obj.totalSize;
5834
+ const path_totalSize = path + '.totalSize';
5835
+ if (typeof obj_totalSize !== 'number' || (typeof obj_totalSize === 'number' && Math.floor(obj_totalSize) !== obj_totalSize)) {
5836
+ return new TypeError('Expected "integer" but received "' + typeof obj_totalSize + '" (at "' + path_totalSize + '")');
5837
+ }
5811
5838
  })();
5812
5839
  return v_error === undefined ? null : v_error;
5813
5840
  }
@@ -5824,17 +5851,7 @@ const select$4 = function PersonalizationExperienceConfigCollectionRepresentatio
5824
5851
  };
5825
5852
  };
5826
5853
  function equals(existing, incoming) {
5827
- if (equals$2(existing, incoming) === false) {
5828
- return false;
5829
- }
5830
- const existing_personalizationExperienceConfigs = existing.personalizationExperienceConfigs;
5831
- const incoming_personalizationExperienceConfigs = incoming.personalizationExperienceConfigs;
5832
- const equals_personalizationExperienceConfigs_items = equalsArray(existing_personalizationExperienceConfigs, incoming_personalizationExperienceConfigs, (existing_personalizationExperienceConfigs_item, incoming_personalizationExperienceConfigs_item) => {
5833
- if (!(equals$1(existing_personalizationExperienceConfigs_item, incoming_personalizationExperienceConfigs_item))) {
5834
- return false;
5835
- }
5836
- });
5837
- if (equals_personalizationExperienceConfigs_items === false) {
5854
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
5838
5855
  return false;
5839
5856
  }
5840
5857
  return true;
@@ -5847,7 +5864,7 @@ const ingest = function PersonalizationExperienceConfigCollectionRepresentationI
5847
5864
  }
5848
5865
  }
5849
5866
  const key = path.fullPath;
5850
- const ttlToUse = TTL$2;
5867
+ const ttlToUse = TTL;
5851
5868
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "personalization-service", VERSION, RepresentationType, equals);
5852
5869
  return createLink(key);
5853
5870
  };
@@ -5865,7 +5882,7 @@ function select$3(luvio, params) {
5865
5882
  return select$4();
5866
5883
  }
5867
5884
  function keyBuilder$4(luvio, params) {
5868
- return keyPrefix + '::PersonalizationExperienceConfigCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'idOrAppSourceIdOrName:' + params.urlParams.idOrAppSourceIdOrName + ')';
5885
+ return keyPrefix + '::PersonalizationExperienceConfigCollectionRepresentation:(' + 'dataSpaceIdOrName:' + params.queryParams.dataSpaceIdOrName + ',' + 'isWpmUrlRequired:' + params.queryParams.isWpmUrlRequired + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'personalizationPointNameOrId:' + params.queryParams.personalizationPointNameOrId + ',' + 'transformerNameOrId:' + params.queryParams.transformerNameOrId + ',' + 'idOrAppSourceIdOrName:' + params.urlParams.idOrAppSourceIdOrName + ')';
5869
5886
  }
5870
5887
  function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
5871
5888
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
@@ -5916,8 +5933,12 @@ function createResourceRequest$7(config) {
5916
5933
  const adapterName$4 = 'getPersonalizationExperiencesConfigs';
5917
5934
  const getPersonalizationExperiencesConfigs_ConfigPropertyMetadata = [
5918
5935
  generateParamConfigMetadata('idOrAppSourceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
5936
+ generateParamConfigMetadata('dataSpaceIdOrName', false, 1 /* QueryParameter */, 0 /* String */),
5937
+ generateParamConfigMetadata('isWpmUrlRequired', false, 1 /* QueryParameter */, 1 /* Boolean */),
5919
5938
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
5920
5939
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
5940
+ generateParamConfigMetadata('personalizationPointNameOrId', false, 1 /* QueryParameter */, 0 /* String */),
5941
+ generateParamConfigMetadata('transformerNameOrId', false, 1 /* QueryParameter */, 0 /* String */),
5921
5942
  ];
5922
5943
  const getPersonalizationExperiencesConfigs_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getPersonalizationExperiencesConfigs_ConfigPropertyMetadata);
5923
5944
  const createResourceParams$4 = /*#__PURE__*/ createResourceParams$f(getPersonalizationExperiencesConfigs_ConfigPropertyMetadata);
@@ -6032,7 +6053,7 @@ function createResourceRequest$6(config) {
6032
6053
  method: 'post',
6033
6054
  body: config.body,
6034
6055
  urlParams: config.urlParams,
6035
- queryParams: {},
6056
+ queryParams: config.queryParams,
6036
6057
  headers,
6037
6058
  priority: 'normal',
6038
6059
  };
@@ -6041,9 +6062,10 @@ function createResourceRequest$6(config) {
6041
6062
  const adapterName$3 = 'createPersonalizationExperiencesConfig';
6042
6063
  const createPersonalizationExperiencesConfig_ConfigPropertyMetadata = [
6043
6064
  generateParamConfigMetadata('idOrAppSourceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
6065
+ generateParamConfigMetadata('disableRelatedExperiences', false, 1 /* QueryParameter */, 1 /* Boolean */),
6044
6066
  generateParamConfigMetadata('dataProvider', true, 2 /* Body */, 4 /* Unsupported */),
6045
6067
  generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
6046
- generateParamConfigMetadata('displayUrl', true, 2 /* Body */, 0 /* String */),
6068
+ generateParamConfigMetadata('displayUrl', false, 2 /* Body */, 0 /* String */),
6047
6069
  generateParamConfigMetadata('isEnabled', true, 2 /* Body */, 1 /* Boolean */),
6048
6070
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
6049
6071
  generateParamConfigMetadata('lastModifiedDate', false, 2 /* Body */, 0 /* String */),
@@ -6259,7 +6281,7 @@ function createResourceRequest$2(config) {
6259
6281
  method: 'get',
6260
6282
  body: null,
6261
6283
  urlParams: config.urlParams,
6262
- queryParams: {},
6284
+ queryParams: config.queryParams,
6263
6285
  headers,
6264
6286
  priority: 'normal',
6265
6287
  };
@@ -6269,6 +6291,7 @@ const adapterName$1 = 'getPersonalizationExperienceConfig';
6269
6291
  const getPersonalizationExperienceConfig_ConfigPropertyMetadata = [
6270
6292
  generateParamConfigMetadata('idOrAppSourceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
6271
6293
  generateParamConfigMetadata('nameParam', true, 0 /* UrlParameter */, 0 /* String */),
6294
+ generateParamConfigMetadata('isWpmUrlRequired', false, 1 /* QueryParameter */, 1 /* Boolean */),
6272
6295
  ];
6273
6296
  const getPersonalizationExperienceConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getPersonalizationExperienceConfig_ConfigPropertyMetadata);
6274
6297
  const createResourceParams$1 = /*#__PURE__*/ createResourceParams$f(getPersonalizationExperienceConfig_ConfigPropertyMetadata);
@@ -6383,7 +6406,7 @@ function createResourceRequest$1(config) {
6383
6406
  method: 'put',
6384
6407
  body: config.body,
6385
6408
  urlParams: config.urlParams,
6386
- queryParams: {},
6409
+ queryParams: config.queryParams,
6387
6410
  headers,
6388
6411
  priority: 'normal',
6389
6412
  };
@@ -6399,9 +6422,10 @@ const adapterName = 'updatePersonalizationExperienceConfig';
6399
6422
  const updatePersonalizationExperienceConfig_ConfigPropertyMetadata = [
6400
6423
  generateParamConfigMetadata('idOrAppSourceIdOrName', true, 0 /* UrlParameter */, 0 /* String */),
6401
6424
  generateParamConfigMetadata('nameParam', true, 0 /* UrlParameter */, 0 /* String */),
6425
+ generateParamConfigMetadata('disableRelatedExperiences', false, 1 /* QueryParameter */, 1 /* Boolean */),
6402
6426
  generateParamConfigMetadata('dataProvider', true, 2 /* Body */, 4 /* Unsupported */),
6403
6427
  generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
6404
- generateParamConfigMetadata('displayUrl', true, 2 /* Body */, 0 /* String */),
6428
+ generateParamConfigMetadata('displayUrl', false, 2 /* Body */, 0 /* String */),
6405
6429
  generateParamConfigMetadata('isEnabled', true, 2 /* Body */, 1 /* Boolean */),
6406
6430
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
6407
6431
  generateParamConfigMetadata('lastModifiedDate', false, 2 /* Body */, 0 /* String */),