@salesforce/lds-adapters-cdp-personalization-service 1.320.0 → 1.322.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 +97 -2
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationPoint.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationPoint.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationPoints.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/putPersonalizationPersonalizationPointsByIdOrName.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/ABnExperimentInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ABnExperimentRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/FilterRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationPointInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationPointRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +98 -3
- package/src/raml/api.raml +27 -1
|
@@ -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 = "e5643ca13ef54c890c9177275a053de3";
|
|
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;
|
|
@@ -2201,6 +2234,32 @@ function validate$3(obj, path = 'PersonalizationPointRepresentation') {
|
|
|
2201
2234
|
if (typeof obj_source !== 'string') {
|
|
2202
2235
|
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
2203
2236
|
}
|
|
2237
|
+
const obj_sourceRecordId = obj.sourceRecordId;
|
|
2238
|
+
const path_sourceRecordId = path + '.sourceRecordId';
|
|
2239
|
+
let obj_sourceRecordId_union0 = null;
|
|
2240
|
+
const obj_sourceRecordId_union0_error = (() => {
|
|
2241
|
+
if (typeof obj_sourceRecordId !== 'string') {
|
|
2242
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
|
|
2243
|
+
}
|
|
2244
|
+
})();
|
|
2245
|
+
if (obj_sourceRecordId_union0_error != null) {
|
|
2246
|
+
obj_sourceRecordId_union0 = obj_sourceRecordId_union0_error.message;
|
|
2247
|
+
}
|
|
2248
|
+
let obj_sourceRecordId_union1 = null;
|
|
2249
|
+
const obj_sourceRecordId_union1_error = (() => {
|
|
2250
|
+
if (obj_sourceRecordId !== null) {
|
|
2251
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
|
|
2252
|
+
}
|
|
2253
|
+
})();
|
|
2254
|
+
if (obj_sourceRecordId_union1_error != null) {
|
|
2255
|
+
obj_sourceRecordId_union1 = obj_sourceRecordId_union1_error.message;
|
|
2256
|
+
}
|
|
2257
|
+
if (obj_sourceRecordId_union0 && obj_sourceRecordId_union1) {
|
|
2258
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceRecordId + '")';
|
|
2259
|
+
message += '\n' + obj_sourceRecordId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2260
|
+
message += '\n' + obj_sourceRecordId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2261
|
+
return new TypeError(message);
|
|
2262
|
+
}
|
|
2204
2263
|
const obj_status = obj.status;
|
|
2205
2264
|
const path_status = path + '.status';
|
|
2206
2265
|
if (typeof obj_status !== 'string') {
|
|
@@ -2300,6 +2359,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2300
2359
|
name: 'id',
|
|
2301
2360
|
kind: 'Scalar'
|
|
2302
2361
|
},
|
|
2362
|
+
{
|
|
2363
|
+
name: 'isAuthenticationRequired',
|
|
2364
|
+
kind: 'Scalar'
|
|
2365
|
+
},
|
|
2303
2366
|
{
|
|
2304
2367
|
name: 'label',
|
|
2305
2368
|
kind: 'Scalar'
|
|
@@ -2340,6 +2403,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2340
2403
|
name: 'source',
|
|
2341
2404
|
kind: 'Scalar'
|
|
2342
2405
|
},
|
|
2406
|
+
{
|
|
2407
|
+
name: 'sourceRecordId',
|
|
2408
|
+
kind: 'Scalar'
|
|
2409
|
+
},
|
|
2343
2410
|
{
|
|
2344
2411
|
name: 'status',
|
|
2345
2412
|
kind: 'Scalar'
|
|
@@ -2352,6 +2419,11 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2352
2419
|
};
|
|
2353
2420
|
};
|
|
2354
2421
|
function equals$2(existing, incoming) {
|
|
2422
|
+
const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
|
|
2423
|
+
const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
|
|
2424
|
+
if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
|
|
2425
|
+
return false;
|
|
2426
|
+
}
|
|
2355
2427
|
const existing_source = existing.source;
|
|
2356
2428
|
const incoming_source = incoming.source;
|
|
2357
2429
|
if (!(existing_source === incoming_source)) {
|
|
@@ -2447,6 +2519,11 @@ function equals$2(existing, incoming) {
|
|
|
2447
2519
|
if (!(existing_schemaName === incoming_schemaName)) {
|
|
2448
2520
|
return false;
|
|
2449
2521
|
}
|
|
2522
|
+
const existing_sourceRecordId = existing.sourceRecordId;
|
|
2523
|
+
const incoming_sourceRecordId = incoming.sourceRecordId;
|
|
2524
|
+
if (!(existing_sourceRecordId === incoming_sourceRecordId)) {
|
|
2525
|
+
return false;
|
|
2526
|
+
}
|
|
2450
2527
|
const existing_url = existing.url;
|
|
2451
2528
|
const incoming_url = incoming.url;
|
|
2452
2529
|
if (!(existing_url === incoming_url)) {
|
|
@@ -2531,6 +2608,8 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2531
2608
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2532
2609
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2533
2610
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
2611
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
2612
|
+
generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2534
2613
|
];
|
|
2535
2614
|
const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
|
|
2536
2615
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -2619,6 +2698,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2619
2698
|
if (untrustedConfig_schemaName === null) {
|
|
2620
2699
|
config.schemaName = untrustedConfig_schemaName;
|
|
2621
2700
|
}
|
|
2701
|
+
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
2702
|
+
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
2703
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
2704
|
+
}
|
|
2705
|
+
if (untrustedConfig_sourceRecordId === null) {
|
|
2706
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
2707
|
+
}
|
|
2622
2708
|
return config;
|
|
2623
2709
|
}
|
|
2624
2710
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -2939,6 +3025,8 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2939
3025
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2940
3026
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2941
3027
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
3028
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
3029
|
+
generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2942
3030
|
];
|
|
2943
3031
|
const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
2944
3032
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -3027,6 +3115,13 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
3027
3115
|
if (untrustedConfig_schemaName === null) {
|
|
3028
3116
|
config.schemaName = untrustedConfig_schemaName;
|
|
3029
3117
|
}
|
|
3118
|
+
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
3119
|
+
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
3120
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
3121
|
+
}
|
|
3122
|
+
if (untrustedConfig_sourceRecordId === null) {
|
|
3123
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
3124
|
+
}
|
|
3030
3125
|
return config;
|
|
3031
3126
|
}
|
|
3032
3127
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -19,6 +19,8 @@ export interface CreatePersonalizationPointConfig {
|
|
|
19
19
|
schemaEnum?: string | null;
|
|
20
20
|
schemaName?: string | null;
|
|
21
21
|
source: string;
|
|
22
|
+
isAuthenticationRequired: boolean;
|
|
23
|
+
sourceRecordId?: string | null;
|
|
22
24
|
}
|
|
23
25
|
export declare const createResourceParams: (config: CreatePersonalizationPointConfig) => resources_postPersonalizationPersonalizationPoints_ResourceRequestConfig;
|
|
24
26
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>): adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>;
|
|
@@ -20,6 +20,8 @@ export interface UpdatePersonalizationPointConfig {
|
|
|
20
20
|
schemaEnum?: string | null;
|
|
21
21
|
schemaName?: string | null;
|
|
22
22
|
source: string;
|
|
23
|
+
isAuthenticationRequired: boolean;
|
|
24
|
+
sourceRecordId?: string | null;
|
|
23
25
|
}
|
|
24
26
|
export declare const createResourceParams: (config: UpdatePersonalizationPointConfig) => resources_putPersonalizationPersonalizationPointsByIdOrName_ResourceRequestConfig;
|
|
25
27
|
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
|
@@ -15,6 +15,8 @@ export interface ResourceRequestConfig {
|
|
|
15
15
|
schemaEnum?: string | null;
|
|
16
16
|
schemaName?: string | null;
|
|
17
17
|
source: string;
|
|
18
|
+
isAuthenticationRequired: boolean;
|
|
19
|
+
sourceRecordId?: string | null;
|
|
18
20
|
};
|
|
19
21
|
}
|
|
20
22
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -18,6 +18,8 @@ export interface ResourceRequestConfig {
|
|
|
18
18
|
schemaEnum?: string | null;
|
|
19
19
|
schemaName?: string | null;
|
|
20
20
|
source: string;
|
|
21
|
+
isAuthenticationRequired: boolean;
|
|
22
|
+
sourceRecordId?: string | null;
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "a56bb0d42301a5d7f113622bcd19f53f";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ABnExperimentInputRepresentation, existing: ABnExperimentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ABnExperimentInputRepresentationNormalized;
|
|
@@ -32,6 +32,8 @@ export interface ABnExperimentInputRepresentationNormalized {
|
|
|
32
32
|
schemaName: string | null;
|
|
33
33
|
/** Experiment source */
|
|
34
34
|
source: string;
|
|
35
|
+
/** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
|
|
36
|
+
sourceRecordId?: string | null;
|
|
35
37
|
}
|
|
36
38
|
/**
|
|
37
39
|
* ABn Experiment Input Representation
|
|
@@ -49,4 +51,5 @@ export interface ABnExperimentInputRepresentation {
|
|
|
49
51
|
schemaEnum: string | null;
|
|
50
52
|
schemaName: string | null;
|
|
51
53
|
source: string;
|
|
54
|
+
sourceRecordId?: string | null;
|
|
52
55
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "b76725b68a2a994ab2dd2b1a58b80207";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ABnExperimentRepresentation, existing: ABnExperimentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ABnExperimentRepresentationNormalized;
|
|
@@ -40,6 +40,8 @@ export interface ABnExperimentRepresentationNormalized {
|
|
|
40
40
|
schemaName: string | null;
|
|
41
41
|
/** Where this experiment was created */
|
|
42
42
|
source: string;
|
|
43
|
+
/** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
|
|
44
|
+
sourceRecordId: string | null;
|
|
43
45
|
/** Started date */
|
|
44
46
|
startedDate: string | null;
|
|
45
47
|
/** Experiment state */
|
|
@@ -71,6 +73,7 @@ export interface ABnExperimentRepresentation {
|
|
|
71
73
|
schemaEnum: string | null;
|
|
72
74
|
schemaName: string | null;
|
|
73
75
|
source: string;
|
|
76
|
+
sourceRecordId: string | null;
|
|
74
77
|
startedDate: string | null;
|
|
75
78
|
state: string;
|
|
76
79
|
status: string;
|
|
@@ -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 = "0ff402fba9e279e56ef88f49f4a3539d";
|
|
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 */
|
|
@@ -39,6 +41,8 @@ export interface PersonalizationPointInputRepresentationNormalized {
|
|
|
39
41
|
schemaName?: string | null;
|
|
40
42
|
/** Personalization Point source */
|
|
41
43
|
source: string;
|
|
44
|
+
/** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
|
|
45
|
+
sourceRecordId?: string | null;
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
44
48
|
* Personalization Point Input Representation
|
|
@@ -51,6 +55,7 @@ export interface PersonalizationPointInputRepresentation {
|
|
|
51
55
|
dataSpaceName: string | null;
|
|
52
56
|
decisions: Array<PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
|
|
53
57
|
description?: string | null;
|
|
58
|
+
isAuthenticationRequired: boolean;
|
|
54
59
|
label: string | null;
|
|
55
60
|
maxItemsCount?: number | null;
|
|
56
61
|
name: string | null;
|
|
@@ -59,4 +64,5 @@ export interface PersonalizationPointInputRepresentation {
|
|
|
59
64
|
schemaEnum?: string | null;
|
|
60
65
|
schemaName?: string | null;
|
|
61
66
|
source: string;
|
|
67
|
+
sourceRecordId?: string | null;
|
|
62
68
|
}
|
|
@@ -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 = "e5643ca13ef54c890c9177275a053de3";
|
|
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 */
|
|
@@ -68,6 +70,8 @@ export interface PersonalizationPointRepresentationNormalized {
|
|
|
68
70
|
schemaName: string | null;
|
|
69
71
|
/** Personalization Point source */
|
|
70
72
|
source: string;
|
|
73
|
+
/** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
|
|
74
|
+
sourceRecordId: string | null;
|
|
71
75
|
/** Personalization Point status */
|
|
72
76
|
status: string;
|
|
73
77
|
/** Url */
|
|
@@ -87,6 +91,7 @@ export interface PersonalizationPointRepresentation {
|
|
|
87
91
|
decisions: Array<PersonalizationDecisionRepresentation_PersonalizationDecisionRepresentation>;
|
|
88
92
|
description: string | null;
|
|
89
93
|
id: string | null;
|
|
94
|
+
isAuthenticationRequired: boolean;
|
|
90
95
|
label: string | null;
|
|
91
96
|
lastModifiedById: string | null;
|
|
92
97
|
lastModifiedDate: string | null;
|
|
@@ -97,6 +102,7 @@ export interface PersonalizationPointRepresentation {
|
|
|
97
102
|
schemaEnum: string | null;
|
|
98
103
|
schemaName: string | null;
|
|
99
104
|
source: string;
|
|
105
|
+
sourceRecordId: string | null;
|
|
100
106
|
status: string;
|
|
101
107
|
url: string | null;
|
|
102
108
|
}
|
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.322.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.322.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.322.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 = "e5643ca13ef54c890c9177275a053de3";
|
|
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;
|
|
@@ -2211,6 +2244,32 @@ function validate$3(obj, path = 'PersonalizationPointRepresentation') {
|
|
|
2211
2244
|
if (typeof obj_source !== 'string') {
|
|
2212
2245
|
return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
|
|
2213
2246
|
}
|
|
2247
|
+
const obj_sourceRecordId = obj.sourceRecordId;
|
|
2248
|
+
const path_sourceRecordId = path + '.sourceRecordId';
|
|
2249
|
+
let obj_sourceRecordId_union0 = null;
|
|
2250
|
+
const obj_sourceRecordId_union0_error = (() => {
|
|
2251
|
+
if (typeof obj_sourceRecordId !== 'string') {
|
|
2252
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
|
|
2253
|
+
}
|
|
2254
|
+
})();
|
|
2255
|
+
if (obj_sourceRecordId_union0_error != null) {
|
|
2256
|
+
obj_sourceRecordId_union0 = obj_sourceRecordId_union0_error.message;
|
|
2257
|
+
}
|
|
2258
|
+
let obj_sourceRecordId_union1 = null;
|
|
2259
|
+
const obj_sourceRecordId_union1_error = (() => {
|
|
2260
|
+
if (obj_sourceRecordId !== null) {
|
|
2261
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
|
|
2262
|
+
}
|
|
2263
|
+
})();
|
|
2264
|
+
if (obj_sourceRecordId_union1_error != null) {
|
|
2265
|
+
obj_sourceRecordId_union1 = obj_sourceRecordId_union1_error.message;
|
|
2266
|
+
}
|
|
2267
|
+
if (obj_sourceRecordId_union0 && obj_sourceRecordId_union1) {
|
|
2268
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceRecordId + '")';
|
|
2269
|
+
message += '\n' + obj_sourceRecordId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2270
|
+
message += '\n' + obj_sourceRecordId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2271
|
+
return new TypeError(message);
|
|
2272
|
+
}
|
|
2214
2273
|
const obj_status = obj.status;
|
|
2215
2274
|
const path_status = path + '.status';
|
|
2216
2275
|
if (typeof obj_status !== 'string') {
|
|
@@ -2310,6 +2369,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2310
2369
|
name: 'id',
|
|
2311
2370
|
kind: 'Scalar'
|
|
2312
2371
|
},
|
|
2372
|
+
{
|
|
2373
|
+
name: 'isAuthenticationRequired',
|
|
2374
|
+
kind: 'Scalar'
|
|
2375
|
+
},
|
|
2313
2376
|
{
|
|
2314
2377
|
name: 'label',
|
|
2315
2378
|
kind: 'Scalar'
|
|
@@ -2350,6 +2413,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2350
2413
|
name: 'source',
|
|
2351
2414
|
kind: 'Scalar'
|
|
2352
2415
|
},
|
|
2416
|
+
{
|
|
2417
|
+
name: 'sourceRecordId',
|
|
2418
|
+
kind: 'Scalar'
|
|
2419
|
+
},
|
|
2353
2420
|
{
|
|
2354
2421
|
name: 'status',
|
|
2355
2422
|
kind: 'Scalar'
|
|
@@ -2362,6 +2429,11 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
|
|
|
2362
2429
|
};
|
|
2363
2430
|
};
|
|
2364
2431
|
function equals$2(existing, incoming) {
|
|
2432
|
+
const existing_isAuthenticationRequired = existing.isAuthenticationRequired;
|
|
2433
|
+
const incoming_isAuthenticationRequired = incoming.isAuthenticationRequired;
|
|
2434
|
+
if (!(existing_isAuthenticationRequired === incoming_isAuthenticationRequired)) {
|
|
2435
|
+
return false;
|
|
2436
|
+
}
|
|
2365
2437
|
const existing_source = existing.source;
|
|
2366
2438
|
const incoming_source = incoming.source;
|
|
2367
2439
|
if (!(existing_source === incoming_source)) {
|
|
@@ -2457,6 +2529,11 @@ function equals$2(existing, incoming) {
|
|
|
2457
2529
|
if (!(existing_schemaName === incoming_schemaName)) {
|
|
2458
2530
|
return false;
|
|
2459
2531
|
}
|
|
2532
|
+
const existing_sourceRecordId = existing.sourceRecordId;
|
|
2533
|
+
const incoming_sourceRecordId = incoming.sourceRecordId;
|
|
2534
|
+
if (!(existing_sourceRecordId === incoming_sourceRecordId)) {
|
|
2535
|
+
return false;
|
|
2536
|
+
}
|
|
2460
2537
|
const existing_url = existing.url;
|
|
2461
2538
|
const incoming_url = incoming.url;
|
|
2462
2539
|
if (!(existing_url === incoming_url)) {
|
|
@@ -2541,6 +2618,8 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2541
2618
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2542
2619
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2543
2620
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
2621
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
2622
|
+
generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2544
2623
|
];
|
|
2545
2624
|
const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
|
|
2546
2625
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -2629,6 +2708,13 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
2629
2708
|
if (untrustedConfig_schemaName === null) {
|
|
2630
2709
|
config.schemaName = untrustedConfig_schemaName;
|
|
2631
2710
|
}
|
|
2711
|
+
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
2712
|
+
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
2713
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
2714
|
+
}
|
|
2715
|
+
if (untrustedConfig_sourceRecordId === null) {
|
|
2716
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
2717
|
+
}
|
|
2632
2718
|
return config;
|
|
2633
2719
|
}
|
|
2634
2720
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -3949,6 +4035,8 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
3949
4035
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3950
4036
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3951
4037
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
4038
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
4039
|
+
generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3952
4040
|
];
|
|
3953
4041
|
const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
3954
4042
|
const createResourceParams = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -4037,6 +4125,13 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
4037
4125
|
if (untrustedConfig_schemaName === null) {
|
|
4038
4126
|
config.schemaName = untrustedConfig_schemaName;
|
|
4039
4127
|
}
|
|
4128
|
+
const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
|
|
4129
|
+
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
4130
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
4131
|
+
}
|
|
4132
|
+
if (untrustedConfig_sourceRecordId === null) {
|
|
4133
|
+
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
4134
|
+
}
|
|
4040
4135
|
return config;
|
|
4041
4136
|
}
|
|
4042
4137
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -4142,4 +4237,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4142
4237
|
});
|
|
4143
4238
|
|
|
4144
4239
|
export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, updatePersonalizationPoint };
|
|
4145
|
-
// version: 1.
|
|
4240
|
+
// version: 1.322.0-87f682c9f3
|
package/src/raml/api.raml
CHANGED
|
@@ -98,6 +98,10 @@ types:
|
|
|
98
98
|
- ExperienceBuilder
|
|
99
99
|
- FlowBuilder
|
|
100
100
|
- PersonalizationApp
|
|
101
|
+
sourceRecordId:
|
|
102
|
+
required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
|
|
103
|
+
description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
|
|
104
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
101
105
|
ABnExperimentRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
102
106
|
description: ABn Experiment Output Representation
|
|
103
107
|
type: object
|
|
@@ -178,6 +182,9 @@ types:
|
|
|
178
182
|
stoppedDate:
|
|
179
183
|
description: Stopped date
|
|
180
184
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
185
|
+
sourceRecordId:
|
|
186
|
+
description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
|
|
187
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
181
188
|
CriteriaRepresentation:
|
|
182
189
|
description: Personalization Decision Criteria Output Representation
|
|
183
190
|
type: object
|
|
@@ -239,6 +246,13 @@ types:
|
|
|
239
246
|
required: false
|
|
240
247
|
description: Rule Time Zone
|
|
241
248
|
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
249
|
+
schedulingTimeZone:
|
|
250
|
+
required: false
|
|
251
|
+
description: Scheduling Time Zone
|
|
252
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
253
|
+
enum:
|
|
254
|
+
- Organization
|
|
255
|
+
- Recipient
|
|
242
256
|
secondBoundValue:
|
|
243
257
|
required: false
|
|
244
258
|
description: Second Bound Value
|
|
@@ -508,6 +522,13 @@ types:
|
|
|
508
522
|
- ExperienceBuilder
|
|
509
523
|
- FlowBuilder
|
|
510
524
|
- PersonalizationApp
|
|
525
|
+
isAuthenticationRequired:
|
|
526
|
+
description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
|
|
527
|
+
type: boolean
|
|
528
|
+
sourceRecordId:
|
|
529
|
+
required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
|
|
530
|
+
description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
|
|
531
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
511
532
|
|
|
512
533
|
PersonalizationPointRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
513
534
|
description: Personalization Point Output Representation
|
|
@@ -593,7 +614,12 @@ types:
|
|
|
593
614
|
- Deleting
|
|
594
615
|
- EditError
|
|
595
616
|
- Processing
|
|
596
|
-
|
|
617
|
+
isAuthenticationRequired:
|
|
618
|
+
description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
|
|
619
|
+
type: boolean
|
|
620
|
+
sourceRecordId:
|
|
621
|
+
description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
|
|
622
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
597
623
|
PersonalizationSchemaInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
598
624
|
description: Personalization Schema Input Representation
|
|
599
625
|
type: object
|