@salesforce/lds-adapters-cdp-personalization-service 1.320.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 +46 -2
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationPoint.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationPoint.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationPoints.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putPersonalizationPersonalizationPointsByIdOrName.d.ts +1 -0
- 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/package.json +3 -3
- package/sfdc/index.js +47 -3
- package/src/raml/api.raml +13 -2
|
@@ -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)) {
|
|
@@ -2531,6 +2573,7 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2531
2573
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2532
2574
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2533
2575
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
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);
|
|
@@ -2939,6 +2982,7 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2939
2982
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2940
2983
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2941
2984
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
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);
|
|
@@ -19,6 +19,7 @@ export interface CreatePersonalizationPointConfig {
|
|
|
19
19
|
schemaEnum?: string | null;
|
|
20
20
|
schemaName?: string | null;
|
|
21
21
|
source: string;
|
|
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>;
|
|
@@ -20,6 +20,7 @@ export interface UpdatePersonalizationPointConfig {
|
|
|
20
20
|
schemaEnum?: string | null;
|
|
21
21
|
schemaName?: string | null;
|
|
22
22
|
source: string;
|
|
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
|
@@ -15,6 +15,7 @@ export interface ResourceRequestConfig {
|
|
|
15
15
|
schemaEnum?: string | null;
|
|
16
16
|
schemaName?: string | null;
|
|
17
17
|
source: string;
|
|
18
|
+
isAuthenticationRequired: boolean;
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -18,6 +18,7 @@ export interface ResourceRequestConfig {
|
|
|
18
18
|
schemaEnum?: string | null;
|
|
19
19
|
schemaName?: string | null;
|
|
20
20
|
source: string;
|
|
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/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)) {
|
|
@@ -2541,6 +2583,7 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
2541
2583
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2542
2584
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2543
2585
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
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);
|
|
@@ -3949,6 +3992,7 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
|
|
|
3949
3992
|
generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3950
3993
|
generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3951
3994
|
generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
|
|
3995
|
+
generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
|
|
3952
3996
|
];
|
|
3953
3997
|
const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
3954
3998
|
const createResourceParams = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
|
|
@@ -4142,4 +4186,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4142
4186
|
});
|
|
4143
4187
|
|
|
4144
4188
|
export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, updatePersonalizationPoint };
|
|
4145
|
-
// version: 1.
|
|
4189
|
+
// version: 1.321.0-40847d67a8
|
package/src/raml/api.raml
CHANGED
|
@@ -239,6 +239,13 @@ types:
|
|
|
239
239
|
required: false
|
|
240
240
|
description: Rule Time Zone
|
|
241
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
|
|
242
249
|
secondBoundValue:
|
|
243
250
|
required: false
|
|
244
251
|
description: Second Bound Value
|
|
@@ -508,7 +515,9 @@ types:
|
|
|
508
515
|
- ExperienceBuilder
|
|
509
516
|
- FlowBuilder
|
|
510
517
|
- PersonalizationApp
|
|
511
|
-
|
|
518
|
+
isAuthenticationRequired:
|
|
519
|
+
description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
|
|
520
|
+
type: boolean
|
|
512
521
|
PersonalizationPointRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
513
522
|
description: Personalization Point Output Representation
|
|
514
523
|
type: object
|
|
@@ -593,7 +602,9 @@ types:
|
|
|
593
602
|
- Deleting
|
|
594
603
|
- EditError
|
|
595
604
|
- Processing
|
|
596
|
-
|
|
605
|
+
isAuthenticationRequired:
|
|
606
|
+
description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
|
|
607
|
+
type: boolean
|
|
597
608
|
PersonalizationSchemaInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
598
609
|
description: Personalization Schema Input Representation
|
|
599
610
|
type: object
|