@salesforce/lds-adapters-cdp-personalization-service 1.319.0 → 1.321.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 +142 -35
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationPoint.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationSchema.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationPoint.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationPoints.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationSchemas.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putPersonalizationPersonalizationPointsByIdOrName.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/FilterRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationPointInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationPointRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationSchemaInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationSchemaRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +143 -36
- package/src/raml/api.raml +41 -14
|
@@ -696,7 +696,7 @@ function validate$7(obj, path = 'SubjectRepresentation') {
|
|
|
696
696
|
return v_error === undefined ? null : v_error;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
const VERSION$5 = "
|
|
699
|
+
const VERSION$5 = "089c2877ffa367e376fe74f8d358ffa8";
|
|
700
700
|
function validate$6(obj, path = 'FilterRepresentation') {
|
|
701
701
|
const v_error = (() => {
|
|
702
702
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -969,6 +969,34 @@ function validate$6(obj, path = 'FilterRepresentation') {
|
|
|
969
969
|
return new TypeError(message);
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
|
+
if (obj.schedulingTimeZone !== undefined) {
|
|
973
|
+
const obj_schedulingTimeZone = obj.schedulingTimeZone;
|
|
974
|
+
const path_schedulingTimeZone = path + '.schedulingTimeZone';
|
|
975
|
+
let obj_schedulingTimeZone_union0 = null;
|
|
976
|
+
const obj_schedulingTimeZone_union0_error = (() => {
|
|
977
|
+
if (typeof obj_schedulingTimeZone !== 'string') {
|
|
978
|
+
return new TypeError('Expected "string" but received "' + typeof obj_schedulingTimeZone + '" (at "' + path_schedulingTimeZone + '")');
|
|
979
|
+
}
|
|
980
|
+
})();
|
|
981
|
+
if (obj_schedulingTimeZone_union0_error != null) {
|
|
982
|
+
obj_schedulingTimeZone_union0 = obj_schedulingTimeZone_union0_error.message;
|
|
983
|
+
}
|
|
984
|
+
let obj_schedulingTimeZone_union1 = null;
|
|
985
|
+
const obj_schedulingTimeZone_union1_error = (() => {
|
|
986
|
+
if (obj_schedulingTimeZone !== null) {
|
|
987
|
+
return new TypeError('Expected "null" but received "' + typeof obj_schedulingTimeZone + '" (at "' + path_schedulingTimeZone + '")');
|
|
988
|
+
}
|
|
989
|
+
})();
|
|
990
|
+
if (obj_schedulingTimeZone_union1_error != null) {
|
|
991
|
+
obj_schedulingTimeZone_union1 = obj_schedulingTimeZone_union1_error.message;
|
|
992
|
+
}
|
|
993
|
+
if (obj_schedulingTimeZone_union0 && obj_schedulingTimeZone_union1) {
|
|
994
|
+
let message = 'Object doesn\'t match union (at "' + path_schedulingTimeZone + '")';
|
|
995
|
+
message += '\n' + obj_schedulingTimeZone_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
996
|
+
message += '\n' + obj_schedulingTimeZone_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
997
|
+
return new TypeError(message);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
972
1000
|
if (obj.secondBoundValue !== undefined) {
|
|
973
1001
|
const obj_secondBoundValue = obj.secondBoundValue;
|
|
974
1002
|
const path_secondBoundValue = path + '.secondBoundValue';
|
|
@@ -1788,7 +1816,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1788
1816
|
}
|
|
1789
1817
|
|
|
1790
1818
|
const TTL$1 = 600;
|
|
1791
|
-
const VERSION$2 = "
|
|
1819
|
+
const VERSION$2 = "124a87f542c0ead35444350baf5f3d06";
|
|
1792
1820
|
function validate$3(obj, path = 'PersonalizationPointRepresentation') {
|
|
1793
1821
|
const v_error = (() => {
|
|
1794
1822
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1962,6 +1990,11 @@ function validate$3(obj, path = 'PersonalizationPointRepresentation') {
|
|
|
1962
1990
|
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1963
1991
|
return new TypeError(message);
|
|
1964
1992
|
}
|
|
1993
|
+
const obj_isAuthenticationRequired = obj.isAuthenticationRequired;
|
|
1994
|
+
const path_isAuthenticationRequired = path + '.isAuthenticationRequired';
|
|
1995
|
+
if (typeof obj_isAuthenticationRequired !== 'boolean') {
|
|
1996
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isAuthenticationRequired + '" (at "' + path_isAuthenticationRequired + '")');
|
|
1997
|
+
}
|
|
1965
1998
|
const obj_label = obj.label;
|
|
1966
1999
|
const path_label = path + '.label';
|
|
1967
2000
|
let obj_label_union0 = null;
|
|
@@ -2300,6 +2333,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2300
2333
|
name: 'id',
|
|
2301
2334
|
kind: 'Scalar'
|
|
2302
2335
|
},
|
|
2336
|
+
{
|
|
2337
|
+
name: 'isAuthenticationRequired',
|
|
2338
|
+
kind: 'Scalar'
|
|
2339
|
+
},
|
|
2303
2340
|
{
|
|
2304
2341
|
name: 'label',
|
|
2305
2342
|
kind: 'Scalar'
|
|
@@ -2352,6 +2389,11 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2352
2389
|
};
|
|
2353
2390
|
};
|
|
2354
2391
|
function equals$2(existing, incoming) {
|
|
2392
|
+
const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
|
|
2393
|
+
const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
|
|
2394
|
+
if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
|
|
2395
|
+
return false;
|
|
2396
|
+
}
|
|
2355
2397
|
const existing_source = existing.source;
|
|
2356
2398
|
const incoming_source = incoming.source;
|
|
2357
2399
|
if (!(existing_source === incoming_source)) {
|
|
@@ -2525,12 +2567,13 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2525
2567
|
generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2526
2568
|
generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2527
2569
|
generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
2570
|
+
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2528
2571
|
generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2572
|
+
generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2529
2573
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2530
2574
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2531
2575
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
2532
|
-
generateParamConfigMetadata('
|
|
2533
|
-
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2576
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
2534
2577
|
];
|
|
2535
2578
|
const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
|
|
2536
2579
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -2584,6 +2627,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2584
2627
|
}
|
|
2585
2628
|
config.decisions = untrustedConfig_decisions_array;
|
|
2586
2629
|
}
|
|
2630
|
+
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
2631
|
+
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
2632
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2633
|
+
}
|
|
2634
|
+
if (untrustedConfig_maxItemsCount === null) {
|
|
2635
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2636
|
+
}
|
|
2587
2637
|
const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
|
|
2588
2638
|
if (typeof untrustedConfig_profileDataGraphName === 'string') {
|
|
2589
2639
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
@@ -2591,6 +2641,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2591
2641
|
if (untrustedConfig_profileDataGraphName === null) {
|
|
2592
2642
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
2593
2643
|
}
|
|
2644
|
+
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
2645
|
+
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
2646
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2647
|
+
}
|
|
2648
|
+
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
2649
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2650
|
+
}
|
|
2594
2651
|
const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
|
|
2595
2652
|
if (typeof untrustedConfig_schemaEnum === 'string') {
|
|
2596
2653
|
config.schemaEnum = untrustedConfig_schemaEnum;
|
|
@@ -2605,20 +2662,6 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2605
2662
|
if (untrustedConfig_schemaName === null) {
|
|
2606
2663
|
config.schemaName = untrustedConfig_schemaName;
|
|
2607
2664
|
}
|
|
2608
|
-
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
2609
|
-
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
2610
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2611
|
-
}
|
|
2612
|
-
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
2613
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2614
|
-
}
|
|
2615
|
-
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
2616
|
-
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
2617
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2618
|
-
}
|
|
2619
|
-
if (untrustedConfig_maxItemsCount === null) {
|
|
2620
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2621
|
-
}
|
|
2622
2665
|
return config;
|
|
2623
2666
|
}
|
|
2624
2667
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -2933,12 +2976,13 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2933
2976
|
generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2934
2977
|
generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2935
2978
|
generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
2979
|
+
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2936
2980
|
generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2981
|
+
generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2937
2982
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2938
2983
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2939
2984
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
2940
|
-
generateParamConfigMetadata('
|
|
2941
|
-
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2985
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
2942
2986
|
];
|
|
2943
2987
|
const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
2944
2988
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -2992,6 +3036,13 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
2992
3036
|
}
|
|
2993
3037
|
config.decisions = untrustedConfig_decisions_array;
|
|
2994
3038
|
}
|
|
3039
|
+
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
3040
|
+
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
3041
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
3042
|
+
}
|
|
3043
|
+
if (untrustedConfig_maxItemsCount === null) {
|
|
3044
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
3045
|
+
}
|
|
2995
3046
|
const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
|
|
2996
3047
|
if (typeof untrustedConfig_profileDataGraphName === 'string') {
|
|
2997
3048
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
@@ -2999,6 +3050,13 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
2999
3050
|
if (untrustedConfig_profileDataGraphName === null) {
|
|
3000
3051
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
3001
3052
|
}
|
|
3053
|
+
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
3054
|
+
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
3055
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
3056
|
+
}
|
|
3057
|
+
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
3058
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
3059
|
+
}
|
|
3002
3060
|
const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
|
|
3003
3061
|
if (typeof untrustedConfig_schemaEnum === 'string') {
|
|
3004
3062
|
config.schemaEnum = untrustedConfig_schemaEnum;
|
|
@@ -3013,20 +3071,6 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
3013
3071
|
if (untrustedConfig_schemaName === null) {
|
|
3014
3072
|
config.schemaName = untrustedConfig_schemaName;
|
|
3015
3073
|
}
|
|
3016
|
-
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
3017
|
-
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
3018
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
3019
|
-
}
|
|
3020
|
-
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
3021
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
3022
|
-
}
|
|
3023
|
-
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
3024
|
-
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
3025
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
3026
|
-
}
|
|
3027
|
-
if (untrustedConfig_maxItemsCount === null) {
|
|
3028
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
3029
|
-
}
|
|
3030
3074
|
return config;
|
|
3031
3075
|
}
|
|
3032
3076
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -3309,7 +3353,7 @@ function equals$1(existing, incoming) {
|
|
|
3309
3353
|
}
|
|
3310
3354
|
|
|
3311
3355
|
const TTL = 600;
|
|
3312
|
-
const VERSION = "
|
|
3356
|
+
const VERSION = "25740f87643de6fdae570c77bbec7377";
|
|
3313
3357
|
function validate(obj, path = 'PersonalizationSchemaRepresentation') {
|
|
3314
3358
|
const v_error = (() => {
|
|
3315
3359
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3330,6 +3374,39 @@ function validate(obj, path = 'PersonalizationSchemaRepresentation') {
|
|
|
3330
3374
|
return new TypeError(message);
|
|
3331
3375
|
}
|
|
3332
3376
|
}
|
|
3377
|
+
const obj_contentObjectFieldNames = obj.contentObjectFieldNames;
|
|
3378
|
+
const path_contentObjectFieldNames = path + '.contentObjectFieldNames';
|
|
3379
|
+
if (!ArrayIsArray(obj_contentObjectFieldNames)) {
|
|
3380
|
+
return new TypeError('Expected "array" but received "' + typeof obj_contentObjectFieldNames + '" (at "' + path_contentObjectFieldNames + '")');
|
|
3381
|
+
}
|
|
3382
|
+
for (let i = 0; i < obj_contentObjectFieldNames.length; i++) {
|
|
3383
|
+
const obj_contentObjectFieldNames_item = obj_contentObjectFieldNames[i];
|
|
3384
|
+
const path_contentObjectFieldNames_item = path_contentObjectFieldNames + '[' + i + ']';
|
|
3385
|
+
let obj_contentObjectFieldNames_item_union0 = null;
|
|
3386
|
+
const obj_contentObjectFieldNames_item_union0_error = (() => {
|
|
3387
|
+
if (typeof obj_contentObjectFieldNames_item !== 'string') {
|
|
3388
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
|
|
3389
|
+
}
|
|
3390
|
+
})();
|
|
3391
|
+
if (obj_contentObjectFieldNames_item_union0_error != null) {
|
|
3392
|
+
obj_contentObjectFieldNames_item_union0 = obj_contentObjectFieldNames_item_union0_error.message;
|
|
3393
|
+
}
|
|
3394
|
+
let obj_contentObjectFieldNames_item_union1 = null;
|
|
3395
|
+
const obj_contentObjectFieldNames_item_union1_error = (() => {
|
|
3396
|
+
if (obj_contentObjectFieldNames_item !== null) {
|
|
3397
|
+
return new TypeError('Expected "null" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
|
|
3398
|
+
}
|
|
3399
|
+
})();
|
|
3400
|
+
if (obj_contentObjectFieldNames_item_union1_error != null) {
|
|
3401
|
+
obj_contentObjectFieldNames_item_union1 = obj_contentObjectFieldNames_item_union1_error.message;
|
|
3402
|
+
}
|
|
3403
|
+
if (obj_contentObjectFieldNames_item_union0 && obj_contentObjectFieldNames_item_union1) {
|
|
3404
|
+
let message = 'Object doesn\'t match union (at "' + path_contentObjectFieldNames_item + '")';
|
|
3405
|
+
message += '\n' + obj_contentObjectFieldNames_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3406
|
+
message += '\n' + obj_contentObjectFieldNames_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3407
|
+
return new TypeError(message);
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3333
3410
|
const obj_contentObjectName = obj.contentObjectName;
|
|
3334
3411
|
const path_contentObjectName = path + '.contentObjectName';
|
|
3335
3412
|
let obj_contentObjectName_union0 = null;
|
|
@@ -3461,6 +3538,11 @@ const select$2 = function PersonalizationSchemaRepresentationSelect() {
|
|
|
3461
3538
|
plural: true,
|
|
3462
3539
|
selections: PersonalizationAttributeRepresentation__selections
|
|
3463
3540
|
},
|
|
3541
|
+
{
|
|
3542
|
+
name: 'contentObjectFieldNames',
|
|
3543
|
+
kind: 'Scalar',
|
|
3544
|
+
plural: true
|
|
3545
|
+
},
|
|
3464
3546
|
{
|
|
3465
3547
|
name: 'contentObjectName',
|
|
3466
3548
|
kind: 'Scalar'
|
|
@@ -3573,6 +3655,16 @@ function equals(existing, incoming) {
|
|
|
3573
3655
|
if (equals_attributes_items === false) {
|
|
3574
3656
|
return false;
|
|
3575
3657
|
}
|
|
3658
|
+
const existing_contentObjectFieldNames = existing.contentObjectFieldNames;
|
|
3659
|
+
const incoming_contentObjectFieldNames = incoming.contentObjectFieldNames;
|
|
3660
|
+
const equals_contentObjectFieldNames_items = equalsArray(existing_contentObjectFieldNames, incoming_contentObjectFieldNames, (existing_contentObjectFieldNames_item, incoming_contentObjectFieldNames_item) => {
|
|
3661
|
+
if (!(existing_contentObjectFieldNames_item === incoming_contentObjectFieldNames_item)) {
|
|
3662
|
+
return false;
|
|
3663
|
+
}
|
|
3664
|
+
});
|
|
3665
|
+
if (equals_contentObjectFieldNames_items === false) {
|
|
3666
|
+
return false;
|
|
3667
|
+
}
|
|
3576
3668
|
const existing_contentObjectName = existing.contentObjectName;
|
|
3577
3669
|
const incoming_contentObjectName = incoming.contentObjectName;
|
|
3578
3670
|
if (!(existing_contentObjectName === incoming_contentObjectName)) {
|
|
@@ -3650,6 +3742,7 @@ const createPersonalizationSchema_ConfigPropertyMetadata = [
|
|
|
3650
3742
|
generateParamConfigMetadata('label', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3651
3743
|
generateParamConfigMetadata('name', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3652
3744
|
generateParamConfigMetadata('attributes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3745
|
+
generateParamConfigMetadata('contentObjectFieldNames', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3653
3746
|
generateParamConfigMetadata('contentObjectName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3654
3747
|
generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 0 /* String */),
|
|
3655
3748
|
generateParamConfigMetadata('personalizationType', true, 2 /* Body */, 0 /* String */),
|
|
@@ -3692,6 +3785,20 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
3692
3785
|
}
|
|
3693
3786
|
config.attributes = untrustedConfig_attributes_array;
|
|
3694
3787
|
}
|
|
3788
|
+
const untrustedConfig_contentObjectFieldNames = untrustedConfig.contentObjectFieldNames;
|
|
3789
|
+
if (ArrayIsArray$1(untrustedConfig_contentObjectFieldNames)) {
|
|
3790
|
+
const untrustedConfig_contentObjectFieldNames_array = [];
|
|
3791
|
+
for (let i = 0, arrayLength = untrustedConfig_contentObjectFieldNames.length; i < arrayLength; i++) {
|
|
3792
|
+
const untrustedConfig_contentObjectFieldNames_item = untrustedConfig_contentObjectFieldNames[i];
|
|
3793
|
+
if (typeof untrustedConfig_contentObjectFieldNames_item === 'string') {
|
|
3794
|
+
untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
|
|
3795
|
+
}
|
|
3796
|
+
if (untrustedConfig_contentObjectFieldNames_item === null) {
|
|
3797
|
+
untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3800
|
+
config.contentObjectFieldNames = untrustedConfig_contentObjectFieldNames_array;
|
|
3801
|
+
}
|
|
3695
3802
|
const untrustedConfig_contentObjectName = untrustedConfig.contentObjectName;
|
|
3696
3803
|
if (typeof untrustedConfig_contentObjectName === 'string') {
|
|
3697
3804
|
config.contentObjectName = untrustedConfig_contentObjectName;
|
|
@@ -13,12 +13,13 @@ export interface CreatePersonalizationPointConfig {
|
|
|
13
13
|
abnExperimentName?: string | null;
|
|
14
14
|
dataSpaceName: string | null;
|
|
15
15
|
decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
16
|
+
maxItemsCount?: number | null;
|
|
16
17
|
profileDataGraphName: string | null;
|
|
18
|
+
rootPersonalizationPointId?: string | null;
|
|
17
19
|
schemaEnum?: string | null;
|
|
18
20
|
schemaName?: string | null;
|
|
19
21
|
source: string;
|
|
20
|
-
|
|
21
|
-
maxItemsCount?: number | null;
|
|
22
|
+
isAuthenticationRequired: boolean;
|
|
22
23
|
}
|
|
23
24
|
export declare const createResourceParams: (config: CreatePersonalizationPointConfig) => resources_postPersonalizationPersonalizationPoints_ResourceRequestConfig;
|
|
24
25
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>): adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>;
|
|
@@ -11,6 +11,7 @@ export interface CreatePersonalizationSchemaConfig {
|
|
|
11
11
|
label: string | null;
|
|
12
12
|
name: string | null;
|
|
13
13
|
attributes: Array<types_PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
|
|
14
|
+
contentObjectFieldNames: Array<string | null>;
|
|
14
15
|
contentObjectName: string | null;
|
|
15
16
|
dataSpaceName: string;
|
|
16
17
|
personalizationType: string;
|
|
@@ -14,12 +14,13 @@ export interface UpdatePersonalizationPointConfig {
|
|
|
14
14
|
abnExperimentName?: string | null;
|
|
15
15
|
dataSpaceName: string | null;
|
|
16
16
|
decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
17
|
+
maxItemsCount?: number | null;
|
|
17
18
|
profileDataGraphName: string | null;
|
|
19
|
+
rootPersonalizationPointId?: string | null;
|
|
18
20
|
schemaEnum?: string | null;
|
|
19
21
|
schemaName?: string | null;
|
|
20
22
|
source: string;
|
|
21
|
-
|
|
22
|
-
maxItemsCount?: number | null;
|
|
23
|
+
isAuthenticationRequired: boolean;
|
|
23
24
|
}
|
|
24
25
|
export declare const createResourceParams: (config: UpdatePersonalizationPointConfig) => resources_putPersonalizationPersonalizationPointsByIdOrName_ResourceRequestConfig;
|
|
25
26
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdatePersonalizationPointConfig>): adapter$45$utils_Untrusted<UpdatePersonalizationPointConfig>;
|
package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationPoints.d.ts
CHANGED
|
@@ -9,12 +9,13 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
abnExperimentName?: string | null;
|
|
10
10
|
dataSpaceName: string | null;
|
|
11
11
|
decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
12
|
+
maxItemsCount?: number | null;
|
|
12
13
|
profileDataGraphName: string | null;
|
|
14
|
+
rootPersonalizationPointId?: string | null;
|
|
13
15
|
schemaEnum?: string | null;
|
|
14
16
|
schemaName?: string | null;
|
|
15
17
|
source: string;
|
|
16
|
-
|
|
17
|
-
maxItemsCount?: number | null;
|
|
18
|
+
isAuthenticationRequired: boolean;
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationSchemas.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface ResourceRequestConfig {
|
|
|
7
7
|
label: string | null;
|
|
8
8
|
name: string | null;
|
|
9
9
|
attributes: Array<types_PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
|
|
10
|
+
contentObjectFieldNames: Array<string | null>;
|
|
10
11
|
contentObjectName: string | null;
|
|
11
12
|
dataSpaceName: string;
|
|
12
13
|
personalizationType: string;
|
|
@@ -12,12 +12,13 @@ export interface ResourceRequestConfig {
|
|
|
12
12
|
abnExperimentName?: string | null;
|
|
13
13
|
dataSpaceName: string | null;
|
|
14
14
|
decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
15
|
+
maxItemsCount?: number | null;
|
|
15
16
|
profileDataGraphName: string | null;
|
|
17
|
+
rootPersonalizationPointId?: string | null;
|
|
16
18
|
schemaEnum?: string | null;
|
|
17
19
|
schemaName?: string | null;
|
|
18
20
|
source: string;
|
|
19
|
-
|
|
20
|
-
maxItemsCount?: number | null;
|
|
21
|
+
isAuthenticationRequired: boolean;
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FiltersWrapRepresentation as FiltersWrapRepresentation_FiltersWrapRepresentation } from './FiltersWrapRepresentation';
|
|
2
2
|
import { SubjectRepresentation as SubjectRepresentation_SubjectRepresentation } from './SubjectRepresentation';
|
|
3
3
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "089c2877ffa367e376fe74f8d358ffa8";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: FilterRepresentation, existing: FilterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FilterRepresentationNormalized;
|
|
@@ -34,6 +34,8 @@ export interface FilterRepresentationNormalized {
|
|
|
34
34
|
path?: Array<Array<SubjectRepresentation_SubjectRepresentation>>;
|
|
35
35
|
/** Rule Time Zone */
|
|
36
36
|
ruleTimeZone?: string | null;
|
|
37
|
+
/** Scheduling Time Zone */
|
|
38
|
+
schedulingTimeZone?: string | null;
|
|
37
39
|
/** Second Bound Value */
|
|
38
40
|
secondBoundValue?: number | null;
|
|
39
41
|
/** Subject */
|
|
@@ -61,6 +63,7 @@ export interface FilterRepresentation {
|
|
|
61
63
|
operator?: string | null;
|
|
62
64
|
path?: Array<Array<SubjectRepresentation_SubjectRepresentation>>;
|
|
63
65
|
ruleTimeZone?: string | null;
|
|
66
|
+
schedulingTimeZone?: string | null;
|
|
64
67
|
secondBoundValue?: number | null;
|
|
65
68
|
subject?: SubjectRepresentation_SubjectRepresentation | null;
|
|
66
69
|
type?: string | null;
|
package/dist/es/es2018/types/src/generated/types/PersonalizationPointInputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PersonalizationDecisionInputRepresentation as PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation } from './PersonalizationDecisionInputRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "088f7dafdac5c36490f6eb372c2d1937";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: PersonalizationPointInputRepresentation, existing: PersonalizationPointInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationPointInputRepresentationNormalized;
|
|
@@ -23,6 +23,8 @@ export interface PersonalizationPointInputRepresentationNormalized {
|
|
|
23
23
|
decisions: Array<PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
24
24
|
/** Personalization Base description */
|
|
25
25
|
description?: string | null;
|
|
26
|
+
/** Whether or not this personalization point requires the user executing it in the runtime to be authenticated */
|
|
27
|
+
isAuthenticationRequired: boolean;
|
|
26
28
|
/** Personalization Base label */
|
|
27
29
|
label: string | null;
|
|
28
30
|
/** The max number of content items to be returned */
|
|
@@ -51,6 +53,7 @@ export interface PersonalizationPointInputRepresentation {
|
|
|
51
53
|
dataSpaceName: string | null;
|
|
52
54
|
decisions: Array<PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
53
55
|
description?: string | null;
|
|
56
|
+
isAuthenticationRequired: boolean;
|
|
54
57
|
label: string | null;
|
|
55
58
|
maxItemsCount?: number | null;
|
|
56
59
|
name: string | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { PersonalizationDecisionRepresentation as PersonalizationDecisionRepresentation_PersonalizationDecisionRepresentation } from './PersonalizationDecisionRepresentation';
|
|
3
3
|
export declare const TTL = 600;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "124a87f542c0ead35444350baf5f3d06";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -48,6 +48,8 @@ export interface PersonalizationPointRepresentationNormalized {
|
|
|
48
48
|
description: string | null;
|
|
49
49
|
/** The 18 character ID of the record */
|
|
50
50
|
id: string | null;
|
|
51
|
+
/** Whether or not this personalization point requires the user executing it in the runtime to be authenticated */
|
|
52
|
+
isAuthenticationRequired: boolean;
|
|
51
53
|
/** Personalization base output label */
|
|
52
54
|
label: string | null;
|
|
53
55
|
/** Last modified by id */
|
|
@@ -87,6 +89,7 @@ export interface PersonalizationPointRepresentation {
|
|
|
87
89
|
decisions: Array<PersonalizationDecisionRepresentation_PersonalizationDecisionRepresentation>;
|
|
88
90
|
description: string | null;
|
|
89
91
|
id: string | null;
|
|
92
|
+
isAuthenticationRequired: boolean;
|
|
90
93
|
label: string | null;
|
|
91
94
|
lastModifiedById: string | null;
|
|
92
95
|
lastModifiedDate: string | null;
|
package/dist/es/es2018/types/src/generated/types/PersonalizationSchemaInputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PersonalizationAttributeInputRepresentation as PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation } from './PersonalizationAttributeInputRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "54061b79e668e28df49a772e1efbd080";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: PersonalizationSchemaInputRepresentation, existing: PersonalizationSchemaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationSchemaInputRepresentationNormalized;
|
|
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface PersonalizationSchemaInputRepresentationNormalized {
|
|
18
18
|
/** List of Personalization Attributes associated with the Personalization Schema */
|
|
19
19
|
attributes: Array<PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
|
|
20
|
+
/** List of DMO field API names */
|
|
21
|
+
contentObjectFieldNames: Array<string | null>;
|
|
20
22
|
/** The API name of the associated Content Object */
|
|
21
23
|
contentObjectName: string | null;
|
|
22
24
|
/** The API name of the Data Space associated with the Personalization Schema */
|
|
@@ -38,6 +40,7 @@ export interface PersonalizationSchemaInputRepresentationNormalized {
|
|
|
38
40
|
*/
|
|
39
41
|
export interface PersonalizationSchemaInputRepresentation {
|
|
40
42
|
attributes: Array<PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
|
|
43
|
+
contentObjectFieldNames: Array<string | null>;
|
|
41
44
|
contentObjectName: string | null;
|
|
42
45
|
dataSpaceName: string;
|
|
43
46
|
description: string | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PersonalizationAttributeRepresentation as PersonalizationAttributeRepresentation_PersonalizationAttributeRepresentation } from './PersonalizationAttributeRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 600;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "25740f87643de6fdae570c77bbec7377";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -27,6 +27,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
27
27
|
export interface PersonalizationSchemaRepresentationNormalized {
|
|
28
28
|
/** List of Personalization Attributes associated with the Personalization Schema */
|
|
29
29
|
attributes: Array<PersonalizationAttributeRepresentation_PersonalizationAttributeRepresentation>;
|
|
30
|
+
/** List of DMO Field API names */
|
|
31
|
+
contentObjectFieldNames: Array<string | null>;
|
|
30
32
|
/** The API name of the associated Content Object */
|
|
31
33
|
contentObjectName: string | null;
|
|
32
34
|
/** Created by id */
|
|
@@ -60,6 +62,7 @@ export interface PersonalizationSchemaRepresentationNormalized {
|
|
|
60
62
|
*/
|
|
61
63
|
export interface PersonalizationSchemaRepresentation {
|
|
62
64
|
attributes: Array<PersonalizationAttributeRepresentation_PersonalizationAttributeRepresentation>;
|
|
65
|
+
contentObjectFieldNames: Array<string | null>;
|
|
63
66
|
contentObjectName: string | null;
|
|
64
67
|
createdById: string;
|
|
65
68
|
createdDate: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-personalization-service",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.321.0",
|
|
4
4
|
"description": "wire adapters for personalization service connect api",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-personalization-service.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.321.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.321.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -706,7 +706,7 @@ function validate$7(obj, path = 'SubjectRepresentation') {
|
|
|
706
706
|
return v_error === undefined ? null : v_error;
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
const VERSION$5 = "
|
|
709
|
+
const VERSION$5 = "089c2877ffa367e376fe74f8d358ffa8";
|
|
710
710
|
function validate$6(obj, path = 'FilterRepresentation') {
|
|
711
711
|
const v_error = (() => {
|
|
712
712
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -979,6 +979,34 @@ function validate$6(obj, path = 'FilterRepresentation') {
|
|
|
979
979
|
return new TypeError(message);
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
|
+
if (obj.schedulingTimeZone !== undefined) {
|
|
983
|
+
const obj_schedulingTimeZone = obj.schedulingTimeZone;
|
|
984
|
+
const path_schedulingTimeZone = path + '.schedulingTimeZone';
|
|
985
|
+
let obj_schedulingTimeZone_union0 = null;
|
|
986
|
+
const obj_schedulingTimeZone_union0_error = (() => {
|
|
987
|
+
if (typeof obj_schedulingTimeZone !== 'string') {
|
|
988
|
+
return new TypeError('Expected "string" but received "' + typeof obj_schedulingTimeZone + '" (at "' + path_schedulingTimeZone + '")');
|
|
989
|
+
}
|
|
990
|
+
})();
|
|
991
|
+
if (obj_schedulingTimeZone_union0_error != null) {
|
|
992
|
+
obj_schedulingTimeZone_union0 = obj_schedulingTimeZone_union0_error.message;
|
|
993
|
+
}
|
|
994
|
+
let obj_schedulingTimeZone_union1 = null;
|
|
995
|
+
const obj_schedulingTimeZone_union1_error = (() => {
|
|
996
|
+
if (obj_schedulingTimeZone !== null) {
|
|
997
|
+
return new TypeError('Expected "null" but received "' + typeof obj_schedulingTimeZone + '" (at "' + path_schedulingTimeZone + '")');
|
|
998
|
+
}
|
|
999
|
+
})();
|
|
1000
|
+
if (obj_schedulingTimeZone_union1_error != null) {
|
|
1001
|
+
obj_schedulingTimeZone_union1 = obj_schedulingTimeZone_union1_error.message;
|
|
1002
|
+
}
|
|
1003
|
+
if (obj_schedulingTimeZone_union0 && obj_schedulingTimeZone_union1) {
|
|
1004
|
+
let message = 'Object doesn\'t match union (at "' + path_schedulingTimeZone + '")';
|
|
1005
|
+
message += '\n' + obj_schedulingTimeZone_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1006
|
+
message += '\n' + obj_schedulingTimeZone_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1007
|
+
return new TypeError(message);
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
982
1010
|
if (obj.secondBoundValue !== undefined) {
|
|
983
1011
|
const obj_secondBoundValue = obj.secondBoundValue;
|
|
984
1012
|
const path_secondBoundValue = path + '.secondBoundValue';
|
|
@@ -1798,7 +1826,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1798
1826
|
}
|
|
1799
1827
|
|
|
1800
1828
|
const TTL$1 = 600;
|
|
1801
|
-
const VERSION$2 = "
|
|
1829
|
+
const VERSION$2 = "124a87f542c0ead35444350baf5f3d06";
|
|
1802
1830
|
function validate$3(obj, path = 'PersonalizationPointRepresentation') {
|
|
1803
1831
|
const v_error = (() => {
|
|
1804
1832
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1972,6 +2000,11 @@ function validate$3(obj, path = 'PersonalizationPointRepresentation') {
|
|
|
1972
2000
|
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1973
2001
|
return new TypeError(message);
|
|
1974
2002
|
}
|
|
2003
|
+
const obj_isAuthenticationRequired = obj.isAuthenticationRequired;
|
|
2004
|
+
const path_isAuthenticationRequired = path + '.isAuthenticationRequired';
|
|
2005
|
+
if (typeof obj_isAuthenticationRequired !== 'boolean') {
|
|
2006
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isAuthenticationRequired + '" (at "' + path_isAuthenticationRequired + '")');
|
|
2007
|
+
}
|
|
1975
2008
|
const obj_label = obj.label;
|
|
1976
2009
|
const path_label = path + '.label';
|
|
1977
2010
|
let obj_label_union0 = null;
|
|
@@ -2310,6 +2343,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2310
2343
|
name: 'id',
|
|
2311
2344
|
kind: 'Scalar'
|
|
2312
2345
|
},
|
|
2346
|
+
{
|
|
2347
|
+
name: 'isAuthenticationRequired',
|
|
2348
|
+
kind: 'Scalar'
|
|
2349
|
+
},
|
|
2313
2350
|
{
|
|
2314
2351
|
name: 'label',
|
|
2315
2352
|
kind: 'Scalar'
|
|
@@ -2362,6 +2399,11 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2362
2399
|
};
|
|
2363
2400
|
};
|
|
2364
2401
|
function equals$2(existing, incoming) {
|
|
2402
|
+
const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
|
|
2403
|
+
const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
|
|
2404
|
+
if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
|
|
2405
|
+
return false;
|
|
2406
|
+
}
|
|
2365
2407
|
const existing_source = existing.source;
|
|
2366
2408
|
const incoming_source = incoming.source;
|
|
2367
2409
|
if (!(existing_source === incoming_source)) {
|
|
@@ -2535,12 +2577,13 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2535
2577
|
generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2536
2578
|
generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2537
2579
|
generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
2580
|
+
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2538
2581
|
generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2582
|
+
generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2539
2583
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2540
2584
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2541
2585
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
2542
|
-
generateParamConfigMetadata('
|
|
2543
|
-
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2586
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
2544
2587
|
];
|
|
2545
2588
|
const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
|
|
2546
2589
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -2594,6 +2637,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2594
2637
|
}
|
|
2595
2638
|
config.decisions = untrustedConfig_decisions_array;
|
|
2596
2639
|
}
|
|
2640
|
+
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
2641
|
+
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
2642
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2643
|
+
}
|
|
2644
|
+
if (untrustedConfig_maxItemsCount === null) {
|
|
2645
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2646
|
+
}
|
|
2597
2647
|
const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
|
|
2598
2648
|
if (typeof untrustedConfig_profileDataGraphName === 'string') {
|
|
2599
2649
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
@@ -2601,6 +2651,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2601
2651
|
if (untrustedConfig_profileDataGraphName === null) {
|
|
2602
2652
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
2603
2653
|
}
|
|
2654
|
+
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
2655
|
+
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
2656
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2657
|
+
}
|
|
2658
|
+
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
2659
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2660
|
+
}
|
|
2604
2661
|
const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
|
|
2605
2662
|
if (typeof untrustedConfig_schemaEnum === 'string') {
|
|
2606
2663
|
config.schemaEnum = untrustedConfig_schemaEnum;
|
|
@@ -2615,20 +2672,6 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2615
2672
|
if (untrustedConfig_schemaName === null) {
|
|
2616
2673
|
config.schemaName = untrustedConfig_schemaName;
|
|
2617
2674
|
}
|
|
2618
|
-
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
2619
|
-
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
2620
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2621
|
-
}
|
|
2622
|
-
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
2623
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
2624
|
-
}
|
|
2625
|
-
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
2626
|
-
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
2627
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2628
|
-
}
|
|
2629
|
-
if (untrustedConfig_maxItemsCount === null) {
|
|
2630
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
2631
|
-
}
|
|
2632
2675
|
return config;
|
|
2633
2676
|
}
|
|
2634
2677
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -2911,7 +2954,7 @@ function equals$1(existing, incoming) {
|
|
|
2911
2954
|
}
|
|
2912
2955
|
|
|
2913
2956
|
const TTL = 600;
|
|
2914
|
-
const VERSION = "
|
|
2957
|
+
const VERSION = "25740f87643de6fdae570c77bbec7377";
|
|
2915
2958
|
function validate(obj, path = 'PersonalizationSchemaRepresentation') {
|
|
2916
2959
|
const v_error = (() => {
|
|
2917
2960
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2932,6 +2975,39 @@ function validate(obj, path = 'PersonalizationSchemaRepresentation') {
|
|
|
2932
2975
|
return new TypeError(message);
|
|
2933
2976
|
}
|
|
2934
2977
|
}
|
|
2978
|
+
const obj_contentObjectFieldNames = obj.contentObjectFieldNames;
|
|
2979
|
+
const path_contentObjectFieldNames = path + '.contentObjectFieldNames';
|
|
2980
|
+
if (!ArrayIsArray(obj_contentObjectFieldNames)) {
|
|
2981
|
+
return new TypeError('Expected "array" but received "' + typeof obj_contentObjectFieldNames + '" (at "' + path_contentObjectFieldNames + '")');
|
|
2982
|
+
}
|
|
2983
|
+
for (let i = 0; i < obj_contentObjectFieldNames.length; i++) {
|
|
2984
|
+
const obj_contentObjectFieldNames_item = obj_contentObjectFieldNames[i];
|
|
2985
|
+
const path_contentObjectFieldNames_item = path_contentObjectFieldNames + '[' + i + ']';
|
|
2986
|
+
let obj_contentObjectFieldNames_item_union0 = null;
|
|
2987
|
+
const obj_contentObjectFieldNames_item_union0_error = (() => {
|
|
2988
|
+
if (typeof obj_contentObjectFieldNames_item !== 'string') {
|
|
2989
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
|
|
2990
|
+
}
|
|
2991
|
+
})();
|
|
2992
|
+
if (obj_contentObjectFieldNames_item_union0_error != null) {
|
|
2993
|
+
obj_contentObjectFieldNames_item_union0 = obj_contentObjectFieldNames_item_union0_error.message;
|
|
2994
|
+
}
|
|
2995
|
+
let obj_contentObjectFieldNames_item_union1 = null;
|
|
2996
|
+
const obj_contentObjectFieldNames_item_union1_error = (() => {
|
|
2997
|
+
if (obj_contentObjectFieldNames_item !== null) {
|
|
2998
|
+
return new TypeError('Expected "null" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
|
|
2999
|
+
}
|
|
3000
|
+
})();
|
|
3001
|
+
if (obj_contentObjectFieldNames_item_union1_error != null) {
|
|
3002
|
+
obj_contentObjectFieldNames_item_union1 = obj_contentObjectFieldNames_item_union1_error.message;
|
|
3003
|
+
}
|
|
3004
|
+
if (obj_contentObjectFieldNames_item_union0 && obj_contentObjectFieldNames_item_union1) {
|
|
3005
|
+
let message = 'Object doesn\'t match union (at "' + path_contentObjectFieldNames_item + '")';
|
|
3006
|
+
message += '\n' + obj_contentObjectFieldNames_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3007
|
+
message += '\n' + obj_contentObjectFieldNames_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3008
|
+
return new TypeError(message);
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
2935
3011
|
const obj_contentObjectName = obj.contentObjectName;
|
|
2936
3012
|
const path_contentObjectName = path + '.contentObjectName';
|
|
2937
3013
|
let obj_contentObjectName_union0 = null;
|
|
@@ -3063,6 +3139,11 @@ const select$4 = function PersonalizationSchemaRepresentationSelect() {
|
|
|
3063
3139
|
plural: true,
|
|
3064
3140
|
selections: PersonalizationAttributeRepresentation__selections
|
|
3065
3141
|
},
|
|
3142
|
+
{
|
|
3143
|
+
name: 'contentObjectFieldNames',
|
|
3144
|
+
kind: 'Scalar',
|
|
3145
|
+
plural: true
|
|
3146
|
+
},
|
|
3066
3147
|
{
|
|
3067
3148
|
name: 'contentObjectName',
|
|
3068
3149
|
kind: 'Scalar'
|
|
@@ -3175,6 +3256,16 @@ function equals(existing, incoming) {
|
|
|
3175
3256
|
if (equals_attributes_items === false) {
|
|
3176
3257
|
return false;
|
|
3177
3258
|
}
|
|
3259
|
+
const existing_contentObjectFieldNames = existing.contentObjectFieldNames;
|
|
3260
|
+
const incoming_contentObjectFieldNames = incoming.contentObjectFieldNames;
|
|
3261
|
+
const equals_contentObjectFieldNames_items = equalsArray(existing_contentObjectFieldNames, incoming_contentObjectFieldNames, (existing_contentObjectFieldNames_item, incoming_contentObjectFieldNames_item) => {
|
|
3262
|
+
if (!(existing_contentObjectFieldNames_item === incoming_contentObjectFieldNames_item)) {
|
|
3263
|
+
return false;
|
|
3264
|
+
}
|
|
3265
|
+
});
|
|
3266
|
+
if (equals_contentObjectFieldNames_items === false) {
|
|
3267
|
+
return false;
|
|
3268
|
+
}
|
|
3178
3269
|
const existing_contentObjectName = existing.contentObjectName;
|
|
3179
3270
|
const incoming_contentObjectName = incoming.contentObjectName;
|
|
3180
3271
|
if (!(existing_contentObjectName === incoming_contentObjectName)) {
|
|
@@ -3252,6 +3343,7 @@ const createPersonalizationSchema_ConfigPropertyMetadata = [
|
|
|
3252
3343
|
generateParamConfigMetadata('label', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3253
3344
|
generateParamConfigMetadata('name', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3254
3345
|
generateParamConfigMetadata('attributes', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3346
|
+
generateParamConfigMetadata('contentObjectFieldNames', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3255
3347
|
generateParamConfigMetadata('contentObjectName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3256
3348
|
generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 0 /* String */),
|
|
3257
3349
|
generateParamConfigMetadata('personalizationType', true, 2 /* Body */, 0 /* String */),
|
|
@@ -3294,6 +3386,20 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
3294
3386
|
}
|
|
3295
3387
|
config.attributes = untrustedConfig_attributes_array;
|
|
3296
3388
|
}
|
|
3389
|
+
const untrustedConfig_contentObjectFieldNames = untrustedConfig.contentObjectFieldNames;
|
|
3390
|
+
if (ArrayIsArray$1(untrustedConfig_contentObjectFieldNames)) {
|
|
3391
|
+
const untrustedConfig_contentObjectFieldNames_array = [];
|
|
3392
|
+
for (let i = 0, arrayLength = untrustedConfig_contentObjectFieldNames.length; i < arrayLength; i++) {
|
|
3393
|
+
const untrustedConfig_contentObjectFieldNames_item = untrustedConfig_contentObjectFieldNames[i];
|
|
3394
|
+
if (typeof untrustedConfig_contentObjectFieldNames_item === 'string') {
|
|
3395
|
+
untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
|
|
3396
|
+
}
|
|
3397
|
+
if (untrustedConfig_contentObjectFieldNames_item === null) {
|
|
3398
|
+
untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
config.contentObjectFieldNames = untrustedConfig_contentObjectFieldNames_array;
|
|
3402
|
+
}
|
|
3297
3403
|
const untrustedConfig_contentObjectName = untrustedConfig.contentObjectName;
|
|
3298
3404
|
if (typeof untrustedConfig_contentObjectName === 'string') {
|
|
3299
3405
|
config.contentObjectName = untrustedConfig_contentObjectName;
|
|
@@ -3880,12 +3986,13 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
3880
3986
|
generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3881
3987
|
generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3882
3988
|
generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3989
|
+
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3883
3990
|
generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3991
|
+
generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3884
3992
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3885
3993
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3886
3994
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
3887
|
-
generateParamConfigMetadata('
|
|
3888
|
-
generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3995
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
3889
3996
|
];
|
|
3890
3997
|
const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
3891
3998
|
const createResourceParams = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -3939,6 +4046,13 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
3939
4046
|
}
|
|
3940
4047
|
config.decisions = untrustedConfig_decisions_array;
|
|
3941
4048
|
}
|
|
4049
|
+
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
4050
|
+
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
4051
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
4052
|
+
}
|
|
4053
|
+
if (untrustedConfig_maxItemsCount === null) {
|
|
4054
|
+
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
4055
|
+
}
|
|
3942
4056
|
const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
|
|
3943
4057
|
if (typeof untrustedConfig_profileDataGraphName === 'string') {
|
|
3944
4058
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
@@ -3946,6 +4060,13 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
3946
4060
|
if (untrustedConfig_profileDataGraphName === null) {
|
|
3947
4061
|
config.profileDataGraphName = untrustedConfig_profileDataGraphName;
|
|
3948
4062
|
}
|
|
4063
|
+
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
4064
|
+
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
4065
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
4066
|
+
}
|
|
4067
|
+
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
4068
|
+
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
4069
|
+
}
|
|
3949
4070
|
const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
|
|
3950
4071
|
if (typeof untrustedConfig_schemaEnum === 'string') {
|
|
3951
4072
|
config.schemaEnum = untrustedConfig_schemaEnum;
|
|
@@ -3960,20 +4081,6 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
3960
4081
|
if (untrustedConfig_schemaName === null) {
|
|
3961
4082
|
config.schemaName = untrustedConfig_schemaName;
|
|
3962
4083
|
}
|
|
3963
|
-
const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
|
|
3964
|
-
if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
|
|
3965
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
3966
|
-
}
|
|
3967
|
-
if (untrustedConfig_rootPersonalizationPointId === null) {
|
|
3968
|
-
config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
|
|
3969
|
-
}
|
|
3970
|
-
const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
|
|
3971
|
-
if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
|
|
3972
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
3973
|
-
}
|
|
3974
|
-
if (untrustedConfig_maxItemsCount === null) {
|
|
3975
|
-
config.maxItemsCount = untrustedConfig_maxItemsCount;
|
|
3976
|
-
}
|
|
3977
4084
|
return config;
|
|
3978
4085
|
}
|
|
3979
4086
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -4079,4 +4186,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4079
4186
|
});
|
|
4080
4187
|
|
|
4081
4188
|
export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, updatePersonalizationPoint };
|
|
4082
|
-
// version: 1.
|
|
4189
|
+
// version: 1.321.0-40847d67a8
|
package/src/raml/api.raml
CHANGED
|
@@ -96,6 +96,7 @@ types:
|
|
|
96
96
|
enum:
|
|
97
97
|
- BlockBuilder
|
|
98
98
|
- ExperienceBuilder
|
|
99
|
+
- FlowBuilder
|
|
99
100
|
- PersonalizationApp
|
|
100
101
|
ABnExperimentRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
101
102
|
description: ABn Experiment Output Representation
|
|
@@ -151,6 +152,7 @@ types:
|
|
|
151
152
|
enum:
|
|
152
153
|
- BlockBuilder
|
|
153
154
|
- ExperienceBuilder
|
|
155
|
+
- FlowBuilder
|
|
154
156
|
- PersonalizationApp
|
|
155
157
|
startedDate:
|
|
156
158
|
description: Started date
|
|
@@ -237,6 +239,13 @@ types:
|
|
|
237
239
|
required: false
|
|
238
240
|
description: Rule Time Zone
|
|
239
241
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
242
|
+
schedulingTimeZone:
|
|
243
|
+
required: false
|
|
244
|
+
description: Scheduling Time Zone
|
|
245
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
246
|
+
enum:
|
|
247
|
+
- Organization
|
|
248
|
+
- Recipient
|
|
240
249
|
secondBoundValue:
|
|
241
250
|
required: false
|
|
242
251
|
description: Second Bound Value
|
|
@@ -473,10 +482,18 @@ types:
|
|
|
473
482
|
type: array
|
|
474
483
|
items:
|
|
475
484
|
type: PersonalizationDecisionInputRepresentation #Hand-rolled issue #21 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
485
|
+
maxItemsCount:
|
|
486
|
+
required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
|
|
487
|
+
description: The max number of content items to be returned
|
|
488
|
+
type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
476
489
|
profileDataGraphName:
|
|
477
490
|
description: The API name of the Profile Data Graph associated with the Personalization
|
|
478
491
|
Point
|
|
479
492
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
493
|
+
rootPersonalizationPointId:
|
|
494
|
+
required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
|
|
495
|
+
description: The ID of the root Personalization Point
|
|
496
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
480
497
|
schemaEnum:
|
|
481
498
|
required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
|
|
482
499
|
description: A schema enum associated with the Personalization Point if it
|
|
@@ -496,15 +513,11 @@ types:
|
|
|
496
513
|
enum:
|
|
497
514
|
- BlockBuilder
|
|
498
515
|
- ExperienceBuilder
|
|
516
|
+
- FlowBuilder
|
|
499
517
|
- PersonalizationApp
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
504
|
-
maxItemsCount:
|
|
505
|
-
required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
|
|
506
|
-
description: The max number of content items to be returned
|
|
507
|
-
type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
518
|
+
isAuthenticationRequired:
|
|
519
|
+
description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
|
|
520
|
+
type: boolean
|
|
508
521
|
PersonalizationPointRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
509
522
|
description: Personalization Point Output Representation
|
|
510
523
|
type: object
|
|
@@ -550,10 +563,16 @@ types:
|
|
|
550
563
|
description:
|
|
551
564
|
description: Personalization Point description
|
|
552
565
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
566
|
+
maxItemsCount:
|
|
567
|
+
description: The max number of content items to be returned
|
|
568
|
+
type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
553
569
|
profileDataGraphName:
|
|
554
570
|
description: The API name of the Profile Data Graph associated with the Personalization
|
|
555
571
|
Point
|
|
556
572
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
573
|
+
rootPersonalizationPointId:
|
|
574
|
+
description: The ID of the root Personalization Point
|
|
575
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
557
576
|
schemaEnum:
|
|
558
577
|
description: A schema enum associated with the Personalization Point if it
|
|
559
578
|
has a standard schema
|
|
@@ -571,6 +590,7 @@ types:
|
|
|
571
590
|
enum:
|
|
572
591
|
- BlockBuilder
|
|
573
592
|
- ExperienceBuilder
|
|
593
|
+
- FlowBuilder
|
|
574
594
|
- PersonalizationApp
|
|
575
595
|
status:
|
|
576
596
|
description: Personalization Point status
|
|
@@ -582,12 +602,9 @@ types:
|
|
|
582
602
|
- Deleting
|
|
583
603
|
- EditError
|
|
584
604
|
- Processing
|
|
585
|
-
|
|
586
|
-
description:
|
|
587
|
-
type:
|
|
588
|
-
maxItemsCount:
|
|
589
|
-
description: The max number of content items to be returned
|
|
590
|
-
type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
605
|
+
isAuthenticationRequired:
|
|
606
|
+
description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
|
|
607
|
+
type: boolean
|
|
591
608
|
PersonalizationSchemaInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
592
609
|
description: Personalization Schema Input Representation
|
|
593
610
|
type: object
|
|
@@ -607,6 +624,11 @@ types:
|
|
|
607
624
|
type: array
|
|
608
625
|
items:
|
|
609
626
|
type: PersonalizationAttributeInputRepresentation #Hand-rolled issue #21 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
627
|
+
contentObjectFieldNames:
|
|
628
|
+
description: List of DMO field API names
|
|
629
|
+
type: array
|
|
630
|
+
items:
|
|
631
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
610
632
|
contentObjectName:
|
|
611
633
|
description: The API name of the associated Content Object
|
|
612
634
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
@@ -656,6 +678,11 @@ types:
|
|
|
656
678
|
type: array
|
|
657
679
|
items:
|
|
658
680
|
type: PersonalizationAttributeRepresentation
|
|
681
|
+
contentObjectFieldNames:
|
|
682
|
+
description: List of DMO Field API names
|
|
683
|
+
type: array
|
|
684
|
+
items:
|
|
685
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
659
686
|
contentObjectName:
|
|
660
687
|
description: The API name of the associated Content Object
|
|
661
688
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|