@salesforce/lds-adapters-cdp-personalization-service 1.366.0 → 1.367.0
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/dist/es/es2018/cdp-personalization-service.js +228 -393
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationEsModelMapping.d.ts +8 -6
- package/dist/es/es2018/types/src/generated/resources/{getPersonalizationEinsteinStudioModelMapping.d.ts → getPersonalizationDataMlModels.d.ts} +4 -2
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputFeatureRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelRepresentation.d.ts +17 -15
- package/package.json +3 -3
- package/sfdc/index.js +184 -349
- package/src/raml/api.raml +48 -56
- package/src/raml/luvio.raml +1 -1
- package/dist/es/es2018/types/src/generated/types/EsModelArtifactBaseFieldRepresentation.d.ts +0 -34
- package/dist/es/es2018/types/src/generated/types/EsModelArtifactRepresentation.d.ts +0 -38
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputRepresentation.d.ts +0 -38
package/sfdc/index.js
CHANGED
|
@@ -158,7 +158,7 @@ function createLink(ref) {
|
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
function validate$
|
|
161
|
+
function validate$k(obj, path = 'PersonalizationAttributeValueInputRepresentation') {
|
|
162
162
|
const v_error = (() => {
|
|
163
163
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
164
164
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -249,7 +249,7 @@ function validate$m(obj, path = 'PersonalizationAttributeValueInputRepresentatio
|
|
|
249
249
|
return v_error === undefined ? null : v_error;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
function validate$
|
|
252
|
+
function validate$j(obj, path = 'PersonalizationDecisionInputRepresentation') {
|
|
253
253
|
const v_error = (() => {
|
|
254
254
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
255
255
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -263,7 +263,7 @@ function validate$l(obj, path = 'PersonalizationDecisionInputRepresentation') {
|
|
|
263
263
|
for (let i = 0; i < obj_attributeValues.length; i++) {
|
|
264
264
|
const obj_attributeValues_item = obj_attributeValues[i];
|
|
265
265
|
const path_attributeValues_item = path_attributeValues + '[' + i + ']';
|
|
266
|
-
const referencepath_attributeValues_itemValidationError = validate$
|
|
266
|
+
const referencepath_attributeValues_itemValidationError = validate$k(obj_attributeValues_item, path_attributeValues_item);
|
|
267
267
|
if (referencepath_attributeValues_itemValidationError !== null) {
|
|
268
268
|
let message = 'Object doesn\'t match PersonalizationAttributeValueInputRepresentation (at "' + path_attributeValues_item + '")\n';
|
|
269
269
|
message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -437,8 +437,8 @@ function validate$l(obj, path = 'PersonalizationDecisionInputRepresentation') {
|
|
|
437
437
|
return v_error === undefined ? null : v_error;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
const VERSION$
|
|
441
|
-
function validate$
|
|
440
|
+
const VERSION$c = "52ea9c14b7a747a28cedbcff0e7ab169";
|
|
441
|
+
function validate$i(obj, path = 'PersonalizationAttributeValueRepresentation') {
|
|
442
442
|
const v_error = (() => {
|
|
443
443
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
444
444
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -524,10 +524,10 @@ function validate$k(obj, path = 'PersonalizationAttributeValueRepresentation') {
|
|
|
524
524
|
})();
|
|
525
525
|
return v_error === undefined ? null : v_error;
|
|
526
526
|
}
|
|
527
|
-
const select$
|
|
527
|
+
const select$k = function PersonalizationAttributeValueRepresentationSelect() {
|
|
528
528
|
return {
|
|
529
529
|
kind: 'Fragment',
|
|
530
|
-
version: VERSION$
|
|
530
|
+
version: VERSION$c,
|
|
531
531
|
private: [],
|
|
532
532
|
selections: [
|
|
533
533
|
{
|
|
@@ -545,7 +545,7 @@ const select$m = function PersonalizationAttributeValueRepresentationSelect() {
|
|
|
545
545
|
]
|
|
546
546
|
};
|
|
547
547
|
};
|
|
548
|
-
function equals$
|
|
548
|
+
function equals$c(existing, incoming) {
|
|
549
549
|
const existing_attributeEnum = existing.attributeEnum;
|
|
550
550
|
const incoming_attributeEnum = incoming.attributeEnum;
|
|
551
551
|
if (!(existing_attributeEnum === incoming_attributeEnum)) {
|
|
@@ -564,7 +564,7 @@ function equals$e(existing, incoming) {
|
|
|
564
564
|
return true;
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
-
function validate$
|
|
567
|
+
function validate$h(obj, path = 'FiltersWrapRepresentation') {
|
|
568
568
|
const v_error = (() => {
|
|
569
569
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
570
570
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -643,7 +643,7 @@ function validate$j(obj, path = 'FiltersWrapRepresentation') {
|
|
|
643
643
|
return v_error === undefined ? null : v_error;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
-
function validate$
|
|
646
|
+
function validate$g(obj, path = 'SubjectRepresentation') {
|
|
647
647
|
const v_error = (() => {
|
|
648
648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
649
649
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -762,8 +762,8 @@ function validate$i(obj, path = 'SubjectRepresentation') {
|
|
|
762
762
|
return v_error === undefined ? null : v_error;
|
|
763
763
|
}
|
|
764
764
|
|
|
765
|
-
const VERSION$
|
|
766
|
-
function validate$
|
|
765
|
+
const VERSION$b = "089c2877ffa367e376fe74f8d358ffa8";
|
|
766
|
+
function validate$f(obj, path = 'FilterRepresentation') {
|
|
767
767
|
const v_error = (() => {
|
|
768
768
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
769
769
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -801,7 +801,7 @@ function validate$h(obj, path = 'FilterRepresentation') {
|
|
|
801
801
|
const path_comparison = path + '.comparison';
|
|
802
802
|
let obj_comparison_union0 = null;
|
|
803
803
|
const obj_comparison_union0_error = (() => {
|
|
804
|
-
const referencepath_comparisonValidationError = validate$
|
|
804
|
+
const referencepath_comparisonValidationError = validate$f(obj_comparison, path_comparison);
|
|
805
805
|
if (referencepath_comparisonValidationError !== null) {
|
|
806
806
|
let message = 'Object doesn\'t match FilterRepresentation (at "' + path_comparison + '")\n';
|
|
807
807
|
message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -832,7 +832,7 @@ function validate$h(obj, path = 'FilterRepresentation') {
|
|
|
832
832
|
const path_filter = path + '.filter';
|
|
833
833
|
let obj_filter_union0 = null;
|
|
834
834
|
const obj_filter_union0_error = (() => {
|
|
835
|
-
const referencepath_filterValidationError = validate$
|
|
835
|
+
const referencepath_filterValidationError = validate$h(obj_filter, path_filter);
|
|
836
836
|
if (referencepath_filterValidationError !== null) {
|
|
837
837
|
let message = 'Object doesn\'t match FiltersWrapRepresentation (at "' + path_filter + '")\n';
|
|
838
838
|
message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -869,7 +869,7 @@ function validate$h(obj, path = 'FilterRepresentation') {
|
|
|
869
869
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
870
870
|
let obj_filters_item_union0 = null;
|
|
871
871
|
const obj_filters_item_union0_error = (() => {
|
|
872
|
-
const referencepath_filters_itemValidationError = validate$
|
|
872
|
+
const referencepath_filters_itemValidationError = validate$f(obj_filters_item, path_filters_item);
|
|
873
873
|
if (referencepath_filters_itemValidationError !== null) {
|
|
874
874
|
let message = 'Object doesn\'t match FilterRepresentation (at "' + path_filters_item + '")\n';
|
|
875
875
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -929,7 +929,7 @@ function validate$h(obj, path = 'FilterRepresentation') {
|
|
|
929
929
|
const path_metric = path + '.metric';
|
|
930
930
|
let obj_metric_union0 = null;
|
|
931
931
|
const obj_metric_union0_error = (() => {
|
|
932
|
-
const referencepath_metricValidationError = validate$
|
|
932
|
+
const referencepath_metricValidationError = validate$g(obj_metric, path_metric);
|
|
933
933
|
if (referencepath_metricValidationError !== null) {
|
|
934
934
|
let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_metric + '")\n';
|
|
935
935
|
message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -998,7 +998,7 @@ function validate$h(obj, path = 'FilterRepresentation') {
|
|
|
998
998
|
for (let i = 0; i < obj_path_item.length; i++) {
|
|
999
999
|
const obj_path_item_item = obj_path_item[i];
|
|
1000
1000
|
const path_path_item_item = path_path_item + '[' + i + ']';
|
|
1001
|
-
const referencepath_path_item_itemValidationError = validate$
|
|
1001
|
+
const referencepath_path_item_itemValidationError = validate$g(obj_path_item_item, path_path_item_item);
|
|
1002
1002
|
if (referencepath_path_item_itemValidationError !== null) {
|
|
1003
1003
|
let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_path_item_item + '")\n';
|
|
1004
1004
|
message += referencepath_path_item_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1096,7 +1096,7 @@ function validate$h(obj, path = 'FilterRepresentation') {
|
|
|
1096
1096
|
const path_subject = path + '.subject';
|
|
1097
1097
|
let obj_subject_union0 = null;
|
|
1098
1098
|
const obj_subject_union0_error = (() => {
|
|
1099
|
-
const referencepath_subjectValidationError = validate$
|
|
1099
|
+
const referencepath_subjectValidationError = validate$g(obj_subject, path_subject);
|
|
1100
1100
|
if (referencepath_subjectValidationError !== null) {
|
|
1101
1101
|
let message = 'Object doesn\'t match SubjectRepresentation (at "' + path_subject + '")\n';
|
|
1102
1102
|
message += referencepath_subjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1199,15 +1199,15 @@ const RepresentationType$7 = 'FilterRepresentation';
|
|
|
1199
1199
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
1200
1200
|
return input;
|
|
1201
1201
|
}
|
|
1202
|
-
const select$
|
|
1202
|
+
const select$j = function FilterRepresentationSelect() {
|
|
1203
1203
|
return {
|
|
1204
1204
|
kind: 'Fragment',
|
|
1205
|
-
version: VERSION$
|
|
1205
|
+
version: VERSION$b,
|
|
1206
1206
|
private: [],
|
|
1207
1207
|
opaque: true
|
|
1208
1208
|
};
|
|
1209
1209
|
};
|
|
1210
|
-
function equals$
|
|
1210
|
+
function equals$b(existing, incoming) {
|
|
1211
1211
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
1212
1212
|
return false;
|
|
1213
1213
|
}
|
|
@@ -1215,14 +1215,14 @@ function equals$d(existing, incoming) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
const ingest$7 = function FilterRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1217
1217
|
if (process.env.NODE_ENV !== 'production') {
|
|
1218
|
-
const validateError = validate$
|
|
1218
|
+
const validateError = validate$f(input);
|
|
1219
1219
|
if (validateError !== null) {
|
|
1220
1220
|
throw validateError;
|
|
1221
1221
|
}
|
|
1222
1222
|
}
|
|
1223
1223
|
const key = path.fullPath;
|
|
1224
1224
|
const ttlToUse = path.ttl;
|
|
1225
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "personalization-service", VERSION$
|
|
1225
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "personalization-service", VERSION$b, RepresentationType$7, equals$b);
|
|
1226
1226
|
return createLink(key);
|
|
1227
1227
|
};
|
|
1228
1228
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1235,8 +1235,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
|
-
const VERSION$
|
|
1239
|
-
function validate$
|
|
1238
|
+
const VERSION$a = "ea475f10b4c028f8b97a44af1cf0be14";
|
|
1239
|
+
function validate$e(obj, path = 'CriteriaRepresentation') {
|
|
1240
1240
|
const v_error = (() => {
|
|
1241
1241
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1242
1242
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1286,17 +1286,17 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
return input;
|
|
1288
1288
|
}
|
|
1289
|
-
const select$
|
|
1289
|
+
const select$i = function CriteriaRepresentationSelect() {
|
|
1290
1290
|
return {
|
|
1291
1291
|
kind: 'Fragment',
|
|
1292
|
-
version: VERSION$
|
|
1292
|
+
version: VERSION$a,
|
|
1293
1293
|
private: [],
|
|
1294
1294
|
selections: [
|
|
1295
1295
|
{
|
|
1296
1296
|
name: 'filters',
|
|
1297
1297
|
kind: 'Link',
|
|
1298
1298
|
plural: true,
|
|
1299
|
-
fragment: select$
|
|
1299
|
+
fragment: select$j()
|
|
1300
1300
|
},
|
|
1301
1301
|
{
|
|
1302
1302
|
name: 'operator',
|
|
@@ -1309,7 +1309,7 @@ const select$k = function CriteriaRepresentationSelect() {
|
|
|
1309
1309
|
]
|
|
1310
1310
|
};
|
|
1311
1311
|
};
|
|
1312
|
-
function equals$
|
|
1312
|
+
function equals$a(existing, incoming) {
|
|
1313
1313
|
const existing_operator = existing.operator;
|
|
1314
1314
|
const incoming_operator = incoming.operator;
|
|
1315
1315
|
if (!(existing_operator === incoming_operator)) {
|
|
@@ -1334,14 +1334,14 @@ function equals$c(existing, incoming) {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
const ingest$6 = function CriteriaRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1336
1336
|
if (process.env.NODE_ENV !== 'production') {
|
|
1337
|
-
const validateError = validate$
|
|
1337
|
+
const validateError = validate$e(input);
|
|
1338
1338
|
if (validateError !== null) {
|
|
1339
1339
|
throw validateError;
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
const key = path.fullPath;
|
|
1343
1343
|
const ttlToUse = path.ttl;
|
|
1344
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "personalization-service", VERSION$
|
|
1344
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "personalization-service", VERSION$a, RepresentationType$6, equals$a);
|
|
1345
1345
|
return createLink(key);
|
|
1346
1346
|
};
|
|
1347
1347
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1358,8 +1358,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
1361
|
-
const VERSION$
|
|
1362
|
-
function validate$
|
|
1361
|
+
const VERSION$9 = "265767af783b296f5f902d6ed447b168";
|
|
1362
|
+
function validate$d(obj, path = 'PersonalizationDecisionRepresentation') {
|
|
1363
1363
|
const v_error = (() => {
|
|
1364
1364
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1365
1365
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1372,7 +1372,7 @@ function validate$f(obj, path = 'PersonalizationDecisionRepresentation') {
|
|
|
1372
1372
|
for (let i = 0; i < obj_attributeValues.length; i++) {
|
|
1373
1373
|
const obj_attributeValues_item = obj_attributeValues[i];
|
|
1374
1374
|
const path_attributeValues_item = path_attributeValues + '[' + i + ']';
|
|
1375
|
-
const referencepath_attributeValues_itemValidationError = validate$
|
|
1375
|
+
const referencepath_attributeValues_itemValidationError = validate$i(obj_attributeValues_item, path_attributeValues_item);
|
|
1376
1376
|
if (referencepath_attributeValues_itemValidationError !== null) {
|
|
1377
1377
|
let message = 'Object doesn\'t match PersonalizationAttributeValueRepresentation (at "' + path_attributeValues_item + '")\n';
|
|
1378
1378
|
message += referencepath_attributeValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1712,11 +1712,11 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
return input;
|
|
1714
1714
|
}
|
|
1715
|
-
const select$
|
|
1716
|
-
const { selections: PersonalizationAttributeValueRepresentation__selections, opaque: PersonalizationAttributeValueRepresentation__opaque, } = select$
|
|
1715
|
+
const select$h = function PersonalizationDecisionRepresentationSelect() {
|
|
1716
|
+
const { selections: PersonalizationAttributeValueRepresentation__selections, opaque: PersonalizationAttributeValueRepresentation__opaque, } = select$k();
|
|
1717
1717
|
return {
|
|
1718
1718
|
kind: 'Fragment',
|
|
1719
|
-
version: VERSION$
|
|
1719
|
+
version: VERSION$9,
|
|
1720
1720
|
private: [],
|
|
1721
1721
|
selections: [
|
|
1722
1722
|
{
|
|
@@ -1737,7 +1737,7 @@ const select$j = function PersonalizationDecisionRepresentationSelect() {
|
|
|
1737
1737
|
name: 'criteria',
|
|
1738
1738
|
kind: 'Link',
|
|
1739
1739
|
nullable: true,
|
|
1740
|
-
fragment: select$
|
|
1740
|
+
fragment: select$i()
|
|
1741
1741
|
},
|
|
1742
1742
|
{
|
|
1743
1743
|
name: 'description',
|
|
@@ -1778,11 +1778,11 @@ const select$j = function PersonalizationDecisionRepresentationSelect() {
|
|
|
1778
1778
|
]
|
|
1779
1779
|
};
|
|
1780
1780
|
};
|
|
1781
|
-
function equals$
|
|
1781
|
+
function equals$9(existing, incoming) {
|
|
1782
1782
|
const existing_attributeValues = existing.attributeValues;
|
|
1783
1783
|
const incoming_attributeValues = incoming.attributeValues;
|
|
1784
1784
|
const equals_attributeValues_items = equalsArray(existing_attributeValues, incoming_attributeValues, (existing_attributeValues_item, incoming_attributeValues_item) => {
|
|
1785
|
-
if (!(equals$
|
|
1785
|
+
if (!(equals$c(existing_attributeValues_item, incoming_attributeValues_item))) {
|
|
1786
1786
|
return false;
|
|
1787
1787
|
}
|
|
1788
1788
|
});
|
|
@@ -1858,14 +1858,14 @@ function equals$b(existing, incoming) {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
const ingest$5 = function PersonalizationDecisionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1860
1860
|
if (process.env.NODE_ENV !== 'production') {
|
|
1861
|
-
const validateError = validate$
|
|
1861
|
+
const validateError = validate$d(input);
|
|
1862
1862
|
if (validateError !== null) {
|
|
1863
1863
|
throw validateError;
|
|
1864
1864
|
}
|
|
1865
1865
|
}
|
|
1866
1866
|
const key = path.fullPath;
|
|
1867
1867
|
const ttlToUse = path.ttl;
|
|
1868
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "personalization-service", VERSION$
|
|
1868
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "personalization-service", VERSION$9, RepresentationType$5, equals$9);
|
|
1869
1869
|
return createLink(key);
|
|
1870
1870
|
};
|
|
1871
1871
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1882,8 +1882,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
1884
|
const TTL$4 = 600;
|
|
1885
|
-
const VERSION$
|
|
1886
|
-
function validate$
|
|
1885
|
+
const VERSION$8 = "e5643ca13ef54c890c9177275a053de3";
|
|
1886
|
+
function validate$c(obj, path = 'PersonalizationPointRepresentation') {
|
|
1887
1887
|
const v_error = (() => {
|
|
1888
1888
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1889
1889
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2389,10 +2389,10 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
return input;
|
|
2391
2391
|
}
|
|
2392
|
-
const select$
|
|
2392
|
+
const select$g = function PersonalizationPointRepresentationSelect() {
|
|
2393
2393
|
return {
|
|
2394
2394
|
kind: 'Fragment',
|
|
2395
|
-
version: VERSION$
|
|
2395
|
+
version: VERSION$8,
|
|
2396
2396
|
private: [],
|
|
2397
2397
|
selections: [
|
|
2398
2398
|
{
|
|
@@ -2415,7 +2415,7 @@ const select$i = function PersonalizationPointRepresentationSelect() {
|
|
|
2415
2415
|
name: 'decisions',
|
|
2416
2416
|
kind: 'Link',
|
|
2417
2417
|
plural: true,
|
|
2418
|
-
fragment: select$
|
|
2418
|
+
fragment: select$h()
|
|
2419
2419
|
},
|
|
2420
2420
|
{
|
|
2421
2421
|
name: 'description',
|
|
@@ -2484,7 +2484,7 @@ const select$i = function PersonalizationPointRepresentationSelect() {
|
|
|
2484
2484
|
]
|
|
2485
2485
|
};
|
|
2486
2486
|
};
|
|
2487
|
-
function equals$
|
|
2487
|
+
function equals$8(existing, incoming) {
|
|
2488
2488
|
const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
|
|
2489
2489
|
const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
|
|
2490
2490
|
if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
|
|
@@ -2599,14 +2599,14 @@ function equals$a(existing, incoming) {
|
|
|
2599
2599
|
}
|
|
2600
2600
|
const ingest$4 = function PersonalizationPointRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2601
2601
|
if (process.env.NODE_ENV !== 'production') {
|
|
2602
|
-
const validateError = validate$
|
|
2602
|
+
const validateError = validate$c(input);
|
|
2603
2603
|
if (validateError !== null) {
|
|
2604
2604
|
throw validateError;
|
|
2605
2605
|
}
|
|
2606
2606
|
}
|
|
2607
2607
|
const key = keyBuilderFromType$1(luvio, input);
|
|
2608
2608
|
const ttlToUse = TTL$4;
|
|
2609
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "personalization-service", VERSION$
|
|
2609
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "personalization-service", VERSION$8, RepresentationType$4, equals$8);
|
|
2610
2610
|
return createLink(key);
|
|
2611
2611
|
};
|
|
2612
2612
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2623,8 +2623,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
|
|
2626
|
-
function select$
|
|
2627
|
-
return select$
|
|
2626
|
+
function select$f(luvio, params) {
|
|
2627
|
+
return select$g();
|
|
2628
2628
|
}
|
|
2629
2629
|
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
2630
2630
|
getTypeCacheKeys$4(storeKeyMap, luvio, response);
|
|
@@ -2635,7 +2635,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
2635
2635
|
luvio.storeIngest(key, ingest$4, body);
|
|
2636
2636
|
const snapshot = luvio.storeLookup({
|
|
2637
2637
|
recordId: key,
|
|
2638
|
-
node: select$
|
|
2638
|
+
node: select$f(),
|
|
2639
2639
|
variables: {},
|
|
2640
2640
|
});
|
|
2641
2641
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2722,7 +2722,7 @@ function typeCheckConfig$9(untrustedConfig) {
|
|
|
2722
2722
|
const untrustedConfig_decisions_array = [];
|
|
2723
2723
|
for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
|
|
2724
2724
|
const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
|
|
2725
|
-
const referencePersonalizationDecisionInputRepresentationValidationError = validate$
|
|
2725
|
+
const referencePersonalizationDecisionInputRepresentationValidationError = validate$j(untrustedConfig_decisions_item);
|
|
2726
2726
|
if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
|
|
2727
2727
|
untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
|
|
2728
2728
|
}
|
|
@@ -2815,7 +2815,7 @@ const createPersonalizationPointAdapterFactory = (luvio) => {
|
|
|
2815
2815
|
};
|
|
2816
2816
|
};
|
|
2817
2817
|
|
|
2818
|
-
function validate$
|
|
2818
|
+
function validate$b(obj, path = 'PersonalizationAttributeInputRepresentation') {
|
|
2819
2819
|
const v_error = (() => {
|
|
2820
2820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2821
2821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2862,8 +2862,8 @@ function validate$d(obj, path = 'PersonalizationAttributeInputRepresentation') {
|
|
|
2862
2862
|
return v_error === undefined ? null : v_error;
|
|
2863
2863
|
}
|
|
2864
2864
|
|
|
2865
|
-
const VERSION$
|
|
2866
|
-
function validate$
|
|
2865
|
+
const VERSION$7 = "014064b188ff923423af6301d64be36a";
|
|
2866
|
+
function validate$a(obj, path = 'PersonalizationAttributeRepresentation') {
|
|
2867
2867
|
const v_error = (() => {
|
|
2868
2868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2869
2869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2958,10 +2958,10 @@ function validate$c(obj, path = 'PersonalizationAttributeRepresentation') {
|
|
|
2958
2958
|
})();
|
|
2959
2959
|
return v_error === undefined ? null : v_error;
|
|
2960
2960
|
}
|
|
2961
|
-
const select$
|
|
2961
|
+
const select$e = function PersonalizationAttributeRepresentationSelect() {
|
|
2962
2962
|
return {
|
|
2963
2963
|
kind: 'Fragment',
|
|
2964
|
-
version: VERSION$
|
|
2964
|
+
version: VERSION$7,
|
|
2965
2965
|
private: [],
|
|
2966
2966
|
selections: [
|
|
2967
2967
|
{
|
|
@@ -3003,7 +3003,7 @@ const select$g = function PersonalizationAttributeRepresentationSelect() {
|
|
|
3003
3003
|
]
|
|
3004
3004
|
};
|
|
3005
3005
|
};
|
|
3006
|
-
function equals$
|
|
3006
|
+
function equals$7(existing, incoming) {
|
|
3007
3007
|
const existing_createdById = existing.createdById;
|
|
3008
3008
|
const incoming_createdById = incoming.createdById;
|
|
3009
3009
|
if (!(existing_createdById === incoming_createdById)) {
|
|
@@ -3053,8 +3053,8 @@ function equals$9(existing, incoming) {
|
|
|
3053
3053
|
}
|
|
3054
3054
|
|
|
3055
3055
|
const TTL$3 = 600;
|
|
3056
|
-
const VERSION$
|
|
3057
|
-
function validate$
|
|
3056
|
+
const VERSION$6 = "25740f87643de6fdae570c77bbec7377";
|
|
3057
|
+
function validate$9(obj, path = 'PersonalizationSchemaRepresentation') {
|
|
3058
3058
|
const v_error = (() => {
|
|
3059
3059
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3060
3060
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3067,7 +3067,7 @@ function validate$b(obj, path = 'PersonalizationSchemaRepresentation') {
|
|
|
3067
3067
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
3068
3068
|
const obj_attributes_item = obj_attributes[i];
|
|
3069
3069
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
3070
|
-
const referencepath_attributes_itemValidationError = validate$
|
|
3070
|
+
const referencepath_attributes_itemValidationError = validate$a(obj_attributes_item, path_attributes_item);
|
|
3071
3071
|
if (referencepath_attributes_itemValidationError !== null) {
|
|
3072
3072
|
let message = 'Object doesn\'t match PersonalizationAttributeRepresentation (at "' + path_attributes_item + '")\n';
|
|
3073
3073
|
message += referencepath_attributes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3225,11 +3225,11 @@ function keyBuilderFromType(luvio, object) {
|
|
|
3225
3225
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
3226
3226
|
return input;
|
|
3227
3227
|
}
|
|
3228
|
-
const select$
|
|
3229
|
-
const { selections: PersonalizationAttributeRepresentation__selections, opaque: PersonalizationAttributeRepresentation__opaque, } = select$
|
|
3228
|
+
const select$d = function PersonalizationSchemaRepresentationSelect() {
|
|
3229
|
+
const { selections: PersonalizationAttributeRepresentation__selections, opaque: PersonalizationAttributeRepresentation__opaque, } = select$e();
|
|
3230
3230
|
return {
|
|
3231
3231
|
kind: 'Fragment',
|
|
3232
|
-
version: VERSION$
|
|
3232
|
+
version: VERSION$6,
|
|
3233
3233
|
private: [],
|
|
3234
3234
|
selections: [
|
|
3235
3235
|
{
|
|
@@ -3294,7 +3294,7 @@ const select$f = function PersonalizationSchemaRepresentationSelect() {
|
|
|
3294
3294
|
]
|
|
3295
3295
|
};
|
|
3296
3296
|
};
|
|
3297
|
-
function equals$
|
|
3297
|
+
function equals$6(existing, incoming) {
|
|
3298
3298
|
const existing_createdById = existing.createdById;
|
|
3299
3299
|
const incoming_createdById = incoming.createdById;
|
|
3300
3300
|
if (!(existing_createdById === incoming_createdById)) {
|
|
@@ -3348,7 +3348,7 @@ function equals$8(existing, incoming) {
|
|
|
3348
3348
|
const existing_attributes = existing.attributes;
|
|
3349
3349
|
const incoming_attributes = incoming.attributes;
|
|
3350
3350
|
const equals_attributes_items = equalsArray(existing_attributes, incoming_attributes, (existing_attributes_item, incoming_attributes_item) => {
|
|
3351
|
-
if (!(equals$
|
|
3351
|
+
if (!(equals$7(existing_attributes_item, incoming_attributes_item))) {
|
|
3352
3352
|
return false;
|
|
3353
3353
|
}
|
|
3354
3354
|
});
|
|
@@ -3379,14 +3379,14 @@ function equals$8(existing, incoming) {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
const ingest$3 = function PersonalizationSchemaRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3381
3381
|
if (process.env.NODE_ENV !== 'production') {
|
|
3382
|
-
const validateError = validate$
|
|
3382
|
+
const validateError = validate$9(input);
|
|
3383
3383
|
if (validateError !== null) {
|
|
3384
3384
|
throw validateError;
|
|
3385
3385
|
}
|
|
3386
3386
|
}
|
|
3387
3387
|
const key = keyBuilderFromType(luvio, input);
|
|
3388
3388
|
const ttlToUse = TTL$3;
|
|
3389
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "personalization-service", VERSION$
|
|
3389
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "personalization-service", VERSION$6, RepresentationType$3, equals$6);
|
|
3390
3390
|
return createLink(key);
|
|
3391
3391
|
};
|
|
3392
3392
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3399,8 +3399,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3399
3399
|
});
|
|
3400
3400
|
}
|
|
3401
3401
|
|
|
3402
|
-
function select$
|
|
3403
|
-
return select$
|
|
3402
|
+
function select$c(luvio, params) {
|
|
3403
|
+
return select$d();
|
|
3404
3404
|
}
|
|
3405
3405
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
3406
3406
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
@@ -3411,7 +3411,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
3411
3411
|
luvio.storeIngest(key, ingest$3, body);
|
|
3412
3412
|
const snapshot = luvio.storeLookup({
|
|
3413
3413
|
recordId: key,
|
|
3414
|
-
node: select$
|
|
3414
|
+
node: select$c(),
|
|
3415
3415
|
variables: {},
|
|
3416
3416
|
});
|
|
3417
3417
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -3478,7 +3478,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
3478
3478
|
const untrustedConfig_attributes_array = [];
|
|
3479
3479
|
for (let i = 0, arrayLength = untrustedConfig_attributes.length; i < arrayLength; i++) {
|
|
3480
3480
|
const untrustedConfig_attributes_item = untrustedConfig_attributes[i];
|
|
3481
|
-
const referencePersonalizationAttributeInputRepresentationValidationError = validate$
|
|
3481
|
+
const referencePersonalizationAttributeInputRepresentationValidationError = validate$b(untrustedConfig_attributes_item);
|
|
3482
3482
|
if (referencePersonalizationAttributeInputRepresentationValidationError === null) {
|
|
3483
3483
|
untrustedConfig_attributes_array.push(untrustedConfig_attributes_item);
|
|
3484
3484
|
}
|
|
@@ -3718,267 +3718,97 @@ const deletePersonalizationSchemaAdapterFactory = (luvio) => {
|
|
|
3718
3718
|
};
|
|
3719
3719
|
};
|
|
3720
3720
|
|
|
3721
|
-
const VERSION$
|
|
3722
|
-
function validate$
|
|
3723
|
-
const v_error = (() => {
|
|
3724
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3725
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3726
|
-
}
|
|
3727
|
-
const obj_dataType = obj.dataType;
|
|
3728
|
-
const path_dataType = path + '.dataType';
|
|
3729
|
-
if (typeof obj_dataType !== 'string') {
|
|
3730
|
-
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
3731
|
-
}
|
|
3732
|
-
const obj_label = obj.label;
|
|
3733
|
-
const path_label = path + '.label';
|
|
3734
|
-
if (typeof obj_label !== 'string') {
|
|
3735
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3736
|
-
}
|
|
3737
|
-
const obj_name = obj.name;
|
|
3738
|
-
const path_name = path + '.name';
|
|
3739
|
-
if (typeof obj_name !== 'string') {
|
|
3740
|
-
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3741
|
-
}
|
|
3742
|
-
})();
|
|
3743
|
-
return v_error === undefined ? null : v_error;
|
|
3744
|
-
}
|
|
3745
|
-
const select$d = function EsModelArtifactBaseFieldRepresentationSelect() {
|
|
3746
|
-
return {
|
|
3747
|
-
kind: 'Fragment',
|
|
3748
|
-
version: VERSION$7,
|
|
3749
|
-
private: [],
|
|
3750
|
-
selections: [
|
|
3751
|
-
{
|
|
3752
|
-
name: 'dataType',
|
|
3753
|
-
kind: 'Scalar'
|
|
3754
|
-
},
|
|
3755
|
-
{
|
|
3756
|
-
name: 'label',
|
|
3757
|
-
kind: 'Scalar'
|
|
3758
|
-
},
|
|
3759
|
-
{
|
|
3760
|
-
name: 'name',
|
|
3761
|
-
kind: 'Scalar'
|
|
3762
|
-
}
|
|
3763
|
-
]
|
|
3764
|
-
};
|
|
3765
|
-
};
|
|
3766
|
-
function equals$7(existing, incoming) {
|
|
3767
|
-
const existing_dataType = existing.dataType;
|
|
3768
|
-
const incoming_dataType = incoming.dataType;
|
|
3769
|
-
if (!(existing_dataType === incoming_dataType)) {
|
|
3770
|
-
return false;
|
|
3771
|
-
}
|
|
3772
|
-
const existing_label = existing.label;
|
|
3773
|
-
const incoming_label = incoming.label;
|
|
3774
|
-
if (!(existing_label === incoming_label)) {
|
|
3775
|
-
return false;
|
|
3776
|
-
}
|
|
3777
|
-
const existing_name = existing.name;
|
|
3778
|
-
const incoming_name = incoming.name;
|
|
3779
|
-
if (!(existing_name === incoming_name)) {
|
|
3780
|
-
return false;
|
|
3781
|
-
}
|
|
3782
|
-
return true;
|
|
3783
|
-
}
|
|
3784
|
-
|
|
3785
|
-
const VERSION$6 = "79dd6162ffc2c359016bab1d3ceeffab";
|
|
3786
|
-
function validate$9(obj, path = 'EsModelArtifactRepresentation') {
|
|
3787
|
-
const v_error = (() => {
|
|
3788
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3789
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3790
|
-
}
|
|
3791
|
-
const obj_id = obj.id;
|
|
3792
|
-
const path_id = path + '.id';
|
|
3793
|
-
if (typeof obj_id !== 'string') {
|
|
3794
|
-
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3795
|
-
}
|
|
3796
|
-
const obj_label = obj.label;
|
|
3797
|
-
const path_label = path + '.label';
|
|
3798
|
-
if (typeof obj_label !== 'string') {
|
|
3799
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3800
|
-
}
|
|
3801
|
-
const obj_name = obj.name;
|
|
3802
|
-
const path_name = path + '.name';
|
|
3803
|
-
if (typeof obj_name !== 'string') {
|
|
3804
|
-
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3805
|
-
}
|
|
3806
|
-
const obj_outputFields = obj.outputFields;
|
|
3807
|
-
const path_outputFields = path + '.outputFields';
|
|
3808
|
-
if (!ArrayIsArray(obj_outputFields)) {
|
|
3809
|
-
return new TypeError('Expected "array" but received "' + typeof obj_outputFields + '" (at "' + path_outputFields + '")');
|
|
3810
|
-
}
|
|
3811
|
-
for (let i = 0; i < obj_outputFields.length; i++) {
|
|
3812
|
-
const obj_outputFields_item = obj_outputFields[i];
|
|
3813
|
-
const path_outputFields_item = path_outputFields + '[' + i + ']';
|
|
3814
|
-
const referencepath_outputFields_itemValidationError = validate$a(obj_outputFields_item, path_outputFields_item);
|
|
3815
|
-
if (referencepath_outputFields_itemValidationError !== null) {
|
|
3816
|
-
let message = 'Object doesn\'t match EsModelArtifactBaseFieldRepresentation (at "' + path_outputFields_item + '")\n';
|
|
3817
|
-
message += referencepath_outputFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3818
|
-
return new TypeError(message);
|
|
3819
|
-
}
|
|
3820
|
-
}
|
|
3821
|
-
})();
|
|
3822
|
-
return v_error === undefined ? null : v_error;
|
|
3823
|
-
}
|
|
3824
|
-
const select$c = function EsModelArtifactRepresentationSelect() {
|
|
3825
|
-
const { selections: EsModelArtifactBaseFieldRepresentation__selections, opaque: EsModelArtifactBaseFieldRepresentation__opaque, } = select$d();
|
|
3826
|
-
return {
|
|
3827
|
-
kind: 'Fragment',
|
|
3828
|
-
version: VERSION$6,
|
|
3829
|
-
private: [],
|
|
3830
|
-
selections: [
|
|
3831
|
-
{
|
|
3832
|
-
name: 'id',
|
|
3833
|
-
kind: 'Scalar'
|
|
3834
|
-
},
|
|
3835
|
-
{
|
|
3836
|
-
name: 'label',
|
|
3837
|
-
kind: 'Scalar'
|
|
3838
|
-
},
|
|
3839
|
-
{
|
|
3840
|
-
name: 'name',
|
|
3841
|
-
kind: 'Scalar'
|
|
3842
|
-
},
|
|
3843
|
-
{
|
|
3844
|
-
name: 'outputFields',
|
|
3845
|
-
kind: 'Object',
|
|
3846
|
-
plural: true,
|
|
3847
|
-
selections: EsModelArtifactBaseFieldRepresentation__selections
|
|
3848
|
-
}
|
|
3849
|
-
]
|
|
3850
|
-
};
|
|
3851
|
-
};
|
|
3852
|
-
function equals$6(existing, incoming) {
|
|
3853
|
-
const existing_id = existing.id;
|
|
3854
|
-
const incoming_id = incoming.id;
|
|
3855
|
-
if (!(existing_id === incoming_id)) {
|
|
3856
|
-
return false;
|
|
3857
|
-
}
|
|
3858
|
-
const existing_label = existing.label;
|
|
3859
|
-
const incoming_label = incoming.label;
|
|
3860
|
-
if (!(existing_label === incoming_label)) {
|
|
3861
|
-
return false;
|
|
3862
|
-
}
|
|
3863
|
-
const existing_name = existing.name;
|
|
3864
|
-
const incoming_name = incoming.name;
|
|
3865
|
-
if (!(existing_name === incoming_name)) {
|
|
3866
|
-
return false;
|
|
3867
|
-
}
|
|
3868
|
-
const existing_outputFields = existing.outputFields;
|
|
3869
|
-
const incoming_outputFields = incoming.outputFields;
|
|
3870
|
-
const equals_outputFields_items = equalsArray(existing_outputFields, incoming_outputFields, (existing_outputFields_item, incoming_outputFields_item) => {
|
|
3871
|
-
if (!(equals$7(existing_outputFields_item, incoming_outputFields_item))) {
|
|
3872
|
-
return false;
|
|
3873
|
-
}
|
|
3874
|
-
});
|
|
3875
|
-
if (equals_outputFields_items === false) {
|
|
3876
|
-
return false;
|
|
3877
|
-
}
|
|
3878
|
-
return true;
|
|
3879
|
-
}
|
|
3880
|
-
|
|
3881
|
-
const VERSION$5 = "99ea196b2ab9f99656157ebd55e6cc5f";
|
|
3882
|
-
function validate$8(obj, path = 'PersonalizationDataMlModelInputRepresentation') {
|
|
3721
|
+
const VERSION$5 = "e68c48ce57702a3f1e8ca445bbbcbbcf";
|
|
3722
|
+
function validate$8(obj, path = 'PersonalizationDataMlModelInputFeatureRepresentation') {
|
|
3883
3723
|
const v_error = (() => {
|
|
3884
3724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3885
3725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3886
3726
|
}
|
|
3887
|
-
const obj_esModelInputFeatureId = obj.esModelInputFeatureId;
|
|
3888
|
-
const path_esModelInputFeatureId = path + '.esModelInputFeatureId';
|
|
3889
|
-
if (typeof obj_esModelInputFeatureId !== 'string') {
|
|
3890
|
-
return new TypeError('Expected "string" but received "' + typeof obj_esModelInputFeatureId + '" (at "' + path_esModelInputFeatureId + '")');
|
|
3891
|
-
}
|
|
3892
|
-
const obj_id = obj.id;
|
|
3893
|
-
const path_id = path + '.id';
|
|
3894
|
-
if (typeof obj_id !== 'string') {
|
|
3895
|
-
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3896
|
-
}
|
|
3897
3727
|
const obj_inputField = obj.inputField;
|
|
3898
3728
|
const path_inputField = path + '.inputField';
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3729
|
+
if (obj_inputField === undefined) {
|
|
3730
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_inputField + '" (at "' + path_inputField + '")');
|
|
3731
|
+
}
|
|
3732
|
+
const obj_personalizationField = obj.personalizationField;
|
|
3733
|
+
const path_personalizationField = path + '.personalizationField';
|
|
3734
|
+
if (obj_personalizationField === undefined) {
|
|
3735
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_personalizationField + '" (at "' + path_personalizationField + '")');
|
|
3904
3736
|
}
|
|
3905
|
-
const
|
|
3906
|
-
const
|
|
3907
|
-
if (typeof
|
|
3908
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
3737
|
+
const obj_type = obj.type;
|
|
3738
|
+
const path_type = path + '.type';
|
|
3739
|
+
if (typeof obj_type !== 'string') {
|
|
3740
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
3909
3741
|
}
|
|
3910
3742
|
})();
|
|
3911
3743
|
return v_error === undefined ? null : v_error;
|
|
3912
3744
|
}
|
|
3913
|
-
const select$b = function
|
|
3914
|
-
const { selections: EsModelArtifactBaseFieldRepresentation__selections, opaque: EsModelArtifactBaseFieldRepresentation__opaque, } = select$d();
|
|
3745
|
+
const select$b = function PersonalizationDataMlModelInputFeatureRepresentationSelect() {
|
|
3915
3746
|
return {
|
|
3916
3747
|
kind: 'Fragment',
|
|
3917
3748
|
version: VERSION$5,
|
|
3918
3749
|
private: [],
|
|
3919
3750
|
selections: [
|
|
3920
3751
|
{
|
|
3921
|
-
name: '
|
|
3922
|
-
kind: '
|
|
3923
|
-
|
|
3924
|
-
{
|
|
3925
|
-
name: 'id',
|
|
3926
|
-
kind: 'Scalar'
|
|
3752
|
+
name: 'inputField',
|
|
3753
|
+
kind: 'Object',
|
|
3754
|
+
// any
|
|
3927
3755
|
},
|
|
3928
3756
|
{
|
|
3929
|
-
name: '
|
|
3757
|
+
name: 'personalizationField',
|
|
3930
3758
|
kind: 'Object',
|
|
3931
|
-
|
|
3759
|
+
// any
|
|
3932
3760
|
},
|
|
3933
3761
|
{
|
|
3934
|
-
name: '
|
|
3762
|
+
name: 'type',
|
|
3935
3763
|
kind: 'Scalar'
|
|
3936
3764
|
}
|
|
3937
3765
|
]
|
|
3938
3766
|
};
|
|
3939
3767
|
};
|
|
3940
3768
|
function equals$5(existing, incoming) {
|
|
3941
|
-
const
|
|
3942
|
-
const
|
|
3943
|
-
if (!(
|
|
3944
|
-
return false;
|
|
3945
|
-
}
|
|
3946
|
-
const existing_id = existing.id;
|
|
3947
|
-
const incoming_id = incoming.id;
|
|
3948
|
-
if (!(existing_id === incoming_id)) {
|
|
3949
|
-
return false;
|
|
3950
|
-
}
|
|
3951
|
-
const existing_personalisationField = existing.personalisationField;
|
|
3952
|
-
const incoming_personalisationField = incoming.personalisationField;
|
|
3953
|
-
if (!(existing_personalisationField === incoming_personalisationField)) {
|
|
3769
|
+
const existing_type = existing.type;
|
|
3770
|
+
const incoming_type = incoming.type;
|
|
3771
|
+
if (!(existing_type === incoming_type)) {
|
|
3954
3772
|
return false;
|
|
3955
3773
|
}
|
|
3956
3774
|
const existing_inputField = existing.inputField;
|
|
3957
3775
|
const incoming_inputField = incoming.inputField;
|
|
3958
|
-
if (
|
|
3776
|
+
if (JSONStringify(incoming_inputField) !== JSONStringify(existing_inputField)) {
|
|
3777
|
+
return false;
|
|
3778
|
+
}
|
|
3779
|
+
const existing_personalizationField = existing.personalizationField;
|
|
3780
|
+
const incoming_personalizationField = incoming.personalizationField;
|
|
3781
|
+
if (JSONStringify(incoming_personalizationField) !== JSONStringify(existing_personalizationField)) {
|
|
3959
3782
|
return false;
|
|
3960
3783
|
}
|
|
3961
3784
|
return true;
|
|
3962
3785
|
}
|
|
3963
3786
|
|
|
3964
|
-
const VERSION$4 = "
|
|
3787
|
+
const VERSION$4 = "eb7b70de2adf54962bc3f5d15a259ca4";
|
|
3965
3788
|
function validate$7(obj, path = 'PersonalizationDataMlModelRepresentation') {
|
|
3966
3789
|
const v_error = (() => {
|
|
3967
3790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3968
3791
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3969
3792
|
}
|
|
3970
|
-
const
|
|
3971
|
-
const
|
|
3972
|
-
if (
|
|
3973
|
-
return new TypeError('Expected "
|
|
3974
|
-
}
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3793
|
+
const obj_dataMlModelInputs = obj.dataMlModelInputs;
|
|
3794
|
+
const path_dataMlModelInputs = path + '.dataMlModelInputs';
|
|
3795
|
+
if (!ArrayIsArray(obj_dataMlModelInputs)) {
|
|
3796
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataMlModelInputs + '" (at "' + path_dataMlModelInputs + '")');
|
|
3797
|
+
}
|
|
3798
|
+
for (let i = 0; i < obj_dataMlModelInputs.length; i++) {
|
|
3799
|
+
const obj_dataMlModelInputs_item = obj_dataMlModelInputs[i];
|
|
3800
|
+
const path_dataMlModelInputs_item = path_dataMlModelInputs + '[' + i + ']';
|
|
3801
|
+
const referencepath_dataMlModelInputs_itemValidationError = validate$8(obj_dataMlModelInputs_item, path_dataMlModelInputs_item);
|
|
3802
|
+
if (referencepath_dataMlModelInputs_itemValidationError !== null) {
|
|
3803
|
+
let message = 'Object doesn\'t match PersonalizationDataMlModelInputFeatureRepresentation (at "' + path_dataMlModelInputs_item + '")\n';
|
|
3804
|
+
message += referencepath_dataMlModelInputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3805
|
+
return new TypeError(message);
|
|
3806
|
+
}
|
|
3807
|
+
}
|
|
3808
|
+
const obj_dataSpaceName = obj.dataSpaceName;
|
|
3809
|
+
const path_dataSpaceName = path + '.dataSpaceName';
|
|
3810
|
+
if (typeof obj_dataSpaceName !== 'string') {
|
|
3811
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataSpaceName + '" (at "' + path_dataSpaceName + '")');
|
|
3982
3812
|
}
|
|
3983
3813
|
const obj_id = obj.id;
|
|
3984
3814
|
const path_id = path + '.id';
|
|
@@ -3990,50 +3820,45 @@ function validate$7(obj, path = 'PersonalizationDataMlModelRepresentation') {
|
|
|
3990
3820
|
if (typeof obj_label !== 'string') {
|
|
3991
3821
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3992
3822
|
}
|
|
3823
|
+
const obj_mlConfiguredModel = obj.mlConfiguredModel;
|
|
3824
|
+
const path_mlConfiguredModel = path + '.mlConfiguredModel';
|
|
3825
|
+
if (obj_mlConfiguredModel === undefined) {
|
|
3826
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_mlConfiguredModel + '" (at "' + path_mlConfiguredModel + '")');
|
|
3827
|
+
}
|
|
3993
3828
|
const obj_name = obj.name;
|
|
3994
3829
|
const path_name = path + '.name';
|
|
3995
3830
|
if (typeof obj_name !== 'string') {
|
|
3996
3831
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3997
3832
|
}
|
|
3998
|
-
const
|
|
3999
|
-
const
|
|
4000
|
-
if (
|
|
4001
|
-
return new TypeError('Expected "
|
|
4002
|
-
}
|
|
4003
|
-
for (let i = 0; i < obj_personalizationInputs.length; i++) {
|
|
4004
|
-
const obj_personalizationInputs_item = obj_personalizationInputs[i];
|
|
4005
|
-
const path_personalizationInputs_item = path_personalizationInputs + '[' + i + ']';
|
|
4006
|
-
const referencepath_personalizationInputs_itemValidationError = validate$8(obj_personalizationInputs_item, path_personalizationInputs_item);
|
|
4007
|
-
if (referencepath_personalizationInputs_itemValidationError !== null) {
|
|
4008
|
-
let message = 'Object doesn\'t match PersonalizationDataMlModelInputRepresentation (at "' + path_personalizationInputs_item + '")\n';
|
|
4009
|
-
message += referencepath_personalizationInputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4010
|
-
return new TypeError(message);
|
|
4011
|
-
}
|
|
3833
|
+
const obj_profileDataGraphName = obj.profileDataGraphName;
|
|
3834
|
+
const path_profileDataGraphName = path + '.profileDataGraphName';
|
|
3835
|
+
if (typeof obj_profileDataGraphName !== 'string') {
|
|
3836
|
+
return new TypeError('Expected "string" but received "' + typeof obj_profileDataGraphName + '" (at "' + path_profileDataGraphName + '")');
|
|
4012
3837
|
}
|
|
4013
|
-
const
|
|
4014
|
-
const
|
|
4015
|
-
if (typeof
|
|
4016
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
3838
|
+
const obj_status = obj.status;
|
|
3839
|
+
const path_status = path + '.status';
|
|
3840
|
+
if (typeof obj_status !== 'string') {
|
|
3841
|
+
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
4017
3842
|
}
|
|
4018
3843
|
})();
|
|
4019
3844
|
return v_error === undefined ? null : v_error;
|
|
4020
3845
|
}
|
|
4021
3846
|
const select$a = function PersonalizationDataMlModelRepresentationSelect() {
|
|
4022
|
-
const { selections:
|
|
4023
|
-
const { selections: PersonalizationDataMlModelInputRepresentation__selections, opaque: PersonalizationDataMlModelInputRepresentation__opaque, } = select$b();
|
|
3847
|
+
const { selections: PersonalizationDataMlModelInputFeatureRepresentation__selections, opaque: PersonalizationDataMlModelInputFeatureRepresentation__opaque, } = select$b();
|
|
4024
3848
|
return {
|
|
4025
3849
|
kind: 'Fragment',
|
|
4026
3850
|
version: VERSION$4,
|
|
4027
3851
|
private: [],
|
|
4028
3852
|
selections: [
|
|
4029
3853
|
{
|
|
4030
|
-
name: '
|
|
4031
|
-
kind: '
|
|
3854
|
+
name: 'dataMlModelInputs',
|
|
3855
|
+
kind: 'Object',
|
|
3856
|
+
plural: true,
|
|
3857
|
+
selections: PersonalizationDataMlModelInputFeatureRepresentation__selections
|
|
4032
3858
|
},
|
|
4033
3859
|
{
|
|
4034
|
-
name: '
|
|
4035
|
-
kind: '
|
|
4036
|
-
selections: EsModelArtifactRepresentation__selections
|
|
3860
|
+
name: 'dataSpaceName',
|
|
3861
|
+
kind: 'Scalar'
|
|
4037
3862
|
},
|
|
4038
3863
|
{
|
|
4039
3864
|
name: 'id',
|
|
@@ -4043,27 +3868,30 @@ const select$a = function PersonalizationDataMlModelRepresentationSelect() {
|
|
|
4043
3868
|
name: 'label',
|
|
4044
3869
|
kind: 'Scalar'
|
|
4045
3870
|
},
|
|
3871
|
+
{
|
|
3872
|
+
name: 'mlConfiguredModel',
|
|
3873
|
+
kind: 'Object',
|
|
3874
|
+
// any
|
|
3875
|
+
},
|
|
4046
3876
|
{
|
|
4047
3877
|
name: 'name',
|
|
4048
3878
|
kind: 'Scalar'
|
|
4049
3879
|
},
|
|
4050
3880
|
{
|
|
4051
|
-
name: '
|
|
4052
|
-
kind: '
|
|
4053
|
-
plural: true,
|
|
4054
|
-
selections: PersonalizationDataMlModelInputRepresentation__selections
|
|
3881
|
+
name: 'profileDataGraphName',
|
|
3882
|
+
kind: 'Scalar'
|
|
4055
3883
|
},
|
|
4056
3884
|
{
|
|
4057
|
-
name: '
|
|
3885
|
+
name: 'status',
|
|
4058
3886
|
kind: 'Scalar'
|
|
4059
3887
|
}
|
|
4060
3888
|
]
|
|
4061
3889
|
};
|
|
4062
3890
|
};
|
|
4063
3891
|
function equals$4(existing, incoming) {
|
|
4064
|
-
const
|
|
4065
|
-
const
|
|
4066
|
-
if (!(
|
|
3892
|
+
const existing_dataSpaceName = existing.dataSpaceName;
|
|
3893
|
+
const incoming_dataSpaceName = incoming.dataSpaceName;
|
|
3894
|
+
if (!(existing_dataSpaceName === incoming_dataSpaceName)) {
|
|
4067
3895
|
return false;
|
|
4068
3896
|
}
|
|
4069
3897
|
const existing_id = existing.id;
|
|
@@ -4081,24 +3909,29 @@ function equals$4(existing, incoming) {
|
|
|
4081
3909
|
if (!(existing_name === incoming_name)) {
|
|
4082
3910
|
return false;
|
|
4083
3911
|
}
|
|
4084
|
-
const
|
|
4085
|
-
const
|
|
4086
|
-
if (!(
|
|
3912
|
+
const existing_profileDataGraphName = existing.profileDataGraphName;
|
|
3913
|
+
const incoming_profileDataGraphName = incoming.profileDataGraphName;
|
|
3914
|
+
if (!(existing_profileDataGraphName === incoming_profileDataGraphName)) {
|
|
4087
3915
|
return false;
|
|
4088
3916
|
}
|
|
4089
|
-
const
|
|
4090
|
-
const
|
|
4091
|
-
if (!(
|
|
3917
|
+
const existing_status = existing.status;
|
|
3918
|
+
const incoming_status = incoming.status;
|
|
3919
|
+
if (!(existing_status === incoming_status)) {
|
|
4092
3920
|
return false;
|
|
4093
3921
|
}
|
|
4094
|
-
const
|
|
4095
|
-
const
|
|
4096
|
-
const
|
|
4097
|
-
if (!(equals$5(
|
|
3922
|
+
const existing_dataMlModelInputs = existing.dataMlModelInputs;
|
|
3923
|
+
const incoming_dataMlModelInputs = incoming.dataMlModelInputs;
|
|
3924
|
+
const equals_dataMlModelInputs_items = equalsArray(existing_dataMlModelInputs, incoming_dataMlModelInputs, (existing_dataMlModelInputs_item, incoming_dataMlModelInputs_item) => {
|
|
3925
|
+
if (!(equals$5(existing_dataMlModelInputs_item, incoming_dataMlModelInputs_item))) {
|
|
4098
3926
|
return false;
|
|
4099
3927
|
}
|
|
4100
3928
|
});
|
|
4101
|
-
if (
|
|
3929
|
+
if (equals_dataMlModelInputs_items === false) {
|
|
3930
|
+
return false;
|
|
3931
|
+
}
|
|
3932
|
+
const existing_mlConfiguredModel = existing.mlConfiguredModel;
|
|
3933
|
+
const incoming_mlConfiguredModel = incoming.mlConfiguredModel;
|
|
3934
|
+
if (JSONStringify(incoming_mlConfiguredModel) !== JSONStringify(existing_mlConfiguredModel)) {
|
|
4102
3935
|
return false;
|
|
4103
3936
|
}
|
|
4104
3937
|
return true;
|
|
@@ -4188,7 +4021,7 @@ function select$8(luvio, params) {
|
|
|
4188
4021
|
return select$9();
|
|
4189
4022
|
}
|
|
4190
4023
|
function keyBuilder$9(luvio, params) {
|
|
4191
|
-
return keyPrefix + '::PersonalizationDataMlModelCollectionRepresentation:(' + '
|
|
4024
|
+
return keyPrefix + '::PersonalizationDataMlModelCollectionRepresentation:(' + 'dataSpaceName:' + params.queryParams.dataSpaceName + ',' + 'limit:' + params.queryParams.limit + ',' + 'mlConfiguredModelName:' + params.queryParams.mlConfiguredModelName + ',' + 'offset:' + params.queryParams.offset + ',' + 'profileDataGraphName:' + params.queryParams.profileDataGraphName + ',' + 'status:' + params.queryParams.status + ')';
|
|
4192
4025
|
}
|
|
4193
4026
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
4194
4027
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
|
|
@@ -4226,7 +4059,7 @@ function createResourceRequest$5(config) {
|
|
|
4226
4059
|
const headers = {};
|
|
4227
4060
|
return {
|
|
4228
4061
|
baseUri: '/services/data/v65.0',
|
|
4229
|
-
basePath: '/personalization/
|
|
4062
|
+
basePath: '/personalization/data-ml-models',
|
|
4230
4063
|
method: 'get',
|
|
4231
4064
|
body: null,
|
|
4232
4065
|
urlParams: {},
|
|
@@ -4238,10 +4071,12 @@ function createResourceRequest$5(config) {
|
|
|
4238
4071
|
|
|
4239
4072
|
const adapterName$5 = 'getPersonalizationEsModelMapping';
|
|
4240
4073
|
const getPersonalizationEsModelMapping_ConfigPropertyMetadata = [
|
|
4241
|
-
generateParamConfigMetadata('
|
|
4074
|
+
generateParamConfigMetadata('dataSpaceName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4242
4075
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
4076
|
+
generateParamConfigMetadata('mlConfiguredModelName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4243
4077
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
4244
|
-
generateParamConfigMetadata('
|
|
4078
|
+
generateParamConfigMetadata('profileDataGraphName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4079
|
+
generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4245
4080
|
];
|
|
4246
4081
|
const getPersonalizationEsModelMapping_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getPersonalizationEsModelMapping_ConfigPropertyMetadata);
|
|
4247
4082
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$a(getPersonalizationEsModelMapping_ConfigPropertyMetadata);
|
|
@@ -4326,7 +4161,7 @@ const getPersonalizationEsModelMappingAdapterFactory = (luvio) => function perso
|
|
|
4326
4161
|
};
|
|
4327
4162
|
|
|
4328
4163
|
function select$7(luvio, params) {
|
|
4329
|
-
return select$
|
|
4164
|
+
return select$g();
|
|
4330
4165
|
}
|
|
4331
4166
|
function keyBuilder$7(luvio, params) {
|
|
4332
4167
|
return keyBuilder$d(luvio, {
|
|
@@ -4359,7 +4194,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
4359
4194
|
const storeMetadataParams = {
|
|
4360
4195
|
ttl: TTL$4,
|
|
4361
4196
|
namespace: keyPrefix,
|
|
4362
|
-
version: VERSION$
|
|
4197
|
+
version: VERSION$8,
|
|
4363
4198
|
representationName: RepresentationType$4
|
|
4364
4199
|
};
|
|
4365
4200
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -4466,7 +4301,7 @@ const getPersonalizationPointAdapterFactory = (luvio) => function personalizatio
|
|
|
4466
4301
|
};
|
|
4467
4302
|
|
|
4468
4303
|
function select$6(luvio, params) {
|
|
4469
|
-
return select$
|
|
4304
|
+
return select$d();
|
|
4470
4305
|
}
|
|
4471
4306
|
function keyBuilder$5(luvio, params) {
|
|
4472
4307
|
return keyBuilder$c(luvio, {
|
|
@@ -4499,7 +4334,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
4499
4334
|
const storeMetadataParams = {
|
|
4500
4335
|
ttl: TTL$3,
|
|
4501
4336
|
namespace: keyPrefix,
|
|
4502
|
-
version: VERSION$
|
|
4337
|
+
version: VERSION$6,
|
|
4503
4338
|
representationName: RepresentationType$3
|
|
4504
4339
|
};
|
|
4505
4340
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -4635,7 +4470,7 @@ const notifyChangeFactory = (luvio, options) => {
|
|
|
4635
4470
|
luvio.storeIngestError(key, errorSnapshot, {
|
|
4636
4471
|
ttl: TTL$3,
|
|
4637
4472
|
namespace: keyPrefix,
|
|
4638
|
-
version: VERSION$
|
|
4473
|
+
version: VERSION$6,
|
|
4639
4474
|
representationName: RepresentationType$3
|
|
4640
4475
|
});
|
|
4641
4476
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
@@ -5405,7 +5240,7 @@ const postPersonalizationRecommenderSimulateActionAdapterFactory = (luvio) => fu
|
|
|
5405
5240
|
};
|
|
5406
5241
|
|
|
5407
5242
|
function select(luvio, params) {
|
|
5408
|
-
return select$
|
|
5243
|
+
return select$g();
|
|
5409
5244
|
}
|
|
5410
5245
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
5411
5246
|
getTypeCacheKeys$4(storeKeyMap, luvio, response);
|
|
@@ -5504,7 +5339,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
5504
5339
|
const untrustedConfig_decisions_array = [];
|
|
5505
5340
|
for (let i = 0, arrayLength = untrustedConfig_decisions.length; i < arrayLength; i++) {
|
|
5506
5341
|
const untrustedConfig_decisions_item = untrustedConfig_decisions[i];
|
|
5507
|
-
const referencePersonalizationDecisionInputRepresentationValidationError = validate$
|
|
5342
|
+
const referencePersonalizationDecisionInputRepresentationValidationError = validate$j(untrustedConfig_decisions_item);
|
|
5508
5343
|
if (referencePersonalizationDecisionInputRepresentationValidationError === null) {
|
|
5509
5344
|
untrustedConfig_decisions_array.push(untrustedConfig_decisions_item);
|
|
5510
5345
|
}
|
|
@@ -5694,4 +5529,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5694
5529
|
});
|
|
5695
5530
|
|
|
5696
5531
|
export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationEsModelMapping, getPersonalizationEsModelMapping_imperative, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, getTrainingHistory, getTrainingHistory_imperative, postPersonalizationRecommenderSimulateAction, postPersonalizationRecommenderSimulateAction_imperative, updatePersonalizationPoint };
|
|
5697
|
-
// version: 1.
|
|
5532
|
+
// version: 1.367.0-dc146bc62e
|