@salesforce/lds-adapters-cdp-personalization-service 1.404.0-dev2 → 1.404.0-dev21
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 +186 -162
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationExperiencesConfig.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperienceConfig.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperiencesConfigs.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationExperienceConfig.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/resources/putPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigCollectionRepresentation.d.ts +12 -4
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/PersonalizationPaginatedResponseBaseRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +170 -145
- package/src/raml/api.raml +45 -3
- package/src/raml/luvio.raml +1 -0
package/dist/es/es2018/types/src/generated/adapters/createPersonalizationExperiencesConfig.d.ts
CHANGED
|
@@ -7,9 +7,10 @@ export declare const createPersonalizationExperiencesConfig_ConfigPropertyMetada
|
|
|
7
7
|
export declare const createPersonalizationExperiencesConfig_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface CreatePersonalizationExperiencesConfigConfig {
|
|
9
9
|
idOrAppSourceIdOrName: string;
|
|
10
|
+
disableRelatedExperiences?: boolean;
|
|
10
11
|
dataProvider: unknown;
|
|
11
12
|
description: string;
|
|
12
|
-
displayUrl
|
|
13
|
+
displayUrl?: string;
|
|
13
14
|
isEnabled: boolean;
|
|
14
15
|
label: string;
|
|
15
16
|
lastModifiedDate?: string;
|
|
@@ -8,6 +8,7 @@ export declare const getPersonalizationExperienceConfig_ConfigPropertyNames: ada
|
|
|
8
8
|
export interface GetPersonalizationExperienceConfigConfig {
|
|
9
9
|
idOrAppSourceIdOrName: string;
|
|
10
10
|
nameParam: string;
|
|
11
|
+
isWpmUrlRequired?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare const createResourceParams: (config: GetPersonalizationExperienceConfigConfig) => resources_getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam_ResourceRequestConfig;
|
|
13
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetPersonalizationExperienceConfigConfig): string;
|
package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperiencesConfigs.d.ts
CHANGED
|
@@ -7,8 +7,12 @@ export declare const getPersonalizationExperiencesConfigs_ConfigPropertyMetadata
|
|
|
7
7
|
export declare const getPersonalizationExperiencesConfigs_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetPersonalizationExperiencesConfigsConfig {
|
|
9
9
|
idOrAppSourceIdOrName: string;
|
|
10
|
+
dataSpaceIdOrName?: string;
|
|
11
|
+
isWpmUrlRequired?: boolean;
|
|
10
12
|
limit?: number;
|
|
11
13
|
offset?: number;
|
|
14
|
+
personalizationPointNameOrId?: string;
|
|
15
|
+
transformerNameOrId?: string;
|
|
12
16
|
}
|
|
13
17
|
export declare const createResourceParams: (config: GetPersonalizationExperiencesConfigsConfig) => resources_getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName_ResourceRequestConfig;
|
|
14
18
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetPersonalizationExperiencesConfigsConfig): string;
|
package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationExperienceConfig.d.ts
CHANGED
|
@@ -8,9 +8,10 @@ export declare const updatePersonalizationExperienceConfig_ConfigPropertyNames:
|
|
|
8
8
|
export interface UpdatePersonalizationExperienceConfigConfig {
|
|
9
9
|
idOrAppSourceIdOrName: string;
|
|
10
10
|
nameParam: string;
|
|
11
|
+
disableRelatedExperiences?: boolean;
|
|
11
12
|
dataProvider: unknown;
|
|
12
13
|
description: string;
|
|
13
|
-
displayUrl
|
|
14
|
+
displayUrl?: string;
|
|
14
15
|
isEnabled: boolean;
|
|
15
16
|
label: string;
|
|
16
17
|
lastModifiedDate?: string;
|
|
@@ -5,8 +5,12 @@ export interface ResourceRequestConfig {
|
|
|
5
5
|
idOrAppSourceIdOrName: string;
|
|
6
6
|
};
|
|
7
7
|
queryParams: {
|
|
8
|
+
dataSpaceIdOrName?: string;
|
|
9
|
+
isWpmUrlRequired?: boolean;
|
|
8
10
|
limit?: number;
|
|
9
11
|
offset?: number;
|
|
12
|
+
personalizationPointNameOrId?: string;
|
|
13
|
+
transformerNameOrId?: string;
|
|
10
14
|
};
|
|
11
15
|
}
|
|
12
16
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -5,6 +5,9 @@ export interface ResourceRequestConfig {
|
|
|
5
5
|
idOrAppSourceIdOrName: string;
|
|
6
6
|
nameParam: string;
|
|
7
7
|
};
|
|
8
|
+
queryParams: {
|
|
9
|
+
isWpmUrlRequired?: boolean;
|
|
10
|
+
};
|
|
8
11
|
}
|
|
9
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
@@ -4,10 +4,13 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
idOrAppSourceIdOrName: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
disableRelatedExperiences?: boolean;
|
|
9
|
+
};
|
|
7
10
|
body: {
|
|
8
11
|
dataProvider: unknown;
|
|
9
12
|
description: string;
|
|
10
|
-
displayUrl
|
|
13
|
+
displayUrl?: string;
|
|
11
14
|
isEnabled: boolean;
|
|
12
15
|
label: string;
|
|
13
16
|
lastModifiedDate?: string;
|
|
@@ -5,10 +5,13 @@ export interface ResourceRequestConfig {
|
|
|
5
5
|
idOrAppSourceIdOrName: string;
|
|
6
6
|
nameParam: string;
|
|
7
7
|
};
|
|
8
|
+
queryParams: {
|
|
9
|
+
disableRelatedExperiences?: boolean;
|
|
10
|
+
};
|
|
8
11
|
body: {
|
|
9
12
|
dataProvider: unknown;
|
|
10
13
|
description: string;
|
|
11
|
-
displayUrl
|
|
14
|
+
displayUrl?: string;
|
|
12
15
|
isEnabled: boolean;
|
|
13
16
|
label: string;
|
|
14
17
|
lastModifiedDate?: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PersonalizationPaginatedResponseBaseRepresentation as PersonalizationPaginatedResponseBaseRepresentation_PersonalizationPaginatedResponseBaseRepresentation } from './PersonalizationPaginatedResponseBaseRepresentation';
|
|
2
1
|
import { PersonalizationExperienceConfigRepresentation as PersonalizationExperienceConfigRepresentation_PersonalizationExperienceConfigRepresentation } from './PersonalizationExperienceConfigRepresentation';
|
|
3
2
|
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
3
|
export declare const TTL = 600;
|
|
5
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "6528ad865555561e680369408fb4f4c2";
|
|
6
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
6
|
export declare const RepresentationType: string;
|
|
8
7
|
export declare function normalize(input: PersonalizationExperienceConfigCollectionRepresentation, existing: PersonalizationExperienceConfigCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationExperienceConfigCollectionRepresentationNormalized;
|
|
@@ -16,9 +15,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
15
|
* Keys:
|
|
17
16
|
* (none)
|
|
18
17
|
*/
|
|
19
|
-
export interface PersonalizationExperienceConfigCollectionRepresentationNormalized
|
|
18
|
+
export interface PersonalizationExperienceConfigCollectionRepresentationNormalized {
|
|
19
|
+
/** Current page url */
|
|
20
|
+
currentPageUrl: string;
|
|
21
|
+
/** Next page url if it exists */
|
|
22
|
+
nextPageUrl?: string | null;
|
|
20
23
|
/** List of Personalization Experience Configs */
|
|
21
24
|
personalizationExperienceConfigs: Array<$64$luvio_engine_StoreLink>;
|
|
25
|
+
/** Total size of collection */
|
|
26
|
+
totalSize: number;
|
|
22
27
|
}
|
|
23
28
|
/**
|
|
24
29
|
* Personalization Experience Config Collection Output Representation
|
|
@@ -26,6 +31,9 @@ export interface PersonalizationExperienceConfigCollectionRepresentationNormaliz
|
|
|
26
31
|
* Keys:
|
|
27
32
|
* (none)
|
|
28
33
|
*/
|
|
29
|
-
export interface PersonalizationExperienceConfigCollectionRepresentation
|
|
34
|
+
export interface PersonalizationExperienceConfigCollectionRepresentation {
|
|
35
|
+
currentPageUrl: string;
|
|
36
|
+
nextPageUrl?: string | null;
|
|
30
37
|
personalizationExperienceConfigs: Array<PersonalizationExperienceConfigRepresentation_PersonalizationExperienceConfigRepresentation>;
|
|
38
|
+
totalSize: number;
|
|
31
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
export declare const TTL = 600;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "aacf009d6dea462f65007f4c4b8e3d9a";
|
|
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: PersonalizationExperienceConfigInputRepresentation, existing: PersonalizationExperienceConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationExperienceConfigInputRepresentationNormalized;
|
|
@@ -20,7 +20,7 @@ export interface PersonalizationExperienceConfigInputRepresentationNormalized {
|
|
|
20
20
|
/** Description of the Personalization Experience Config */
|
|
21
21
|
description: string;
|
|
22
22
|
/** When editing this configuration on the Website which page of the website should this configuration be displayed on if not the current page. */
|
|
23
|
-
displayUrl
|
|
23
|
+
displayUrl?: string;
|
|
24
24
|
/** Whether or not this particular configuration is enabled. */
|
|
25
25
|
isEnabled: boolean;
|
|
26
26
|
/** Label of the Personalization Experience Config */
|
|
@@ -45,7 +45,7 @@ export interface PersonalizationExperienceConfigInputRepresentationNormalized {
|
|
|
45
45
|
export interface PersonalizationExperienceConfigInputRepresentation {
|
|
46
46
|
dataProvider: unknown;
|
|
47
47
|
description: string;
|
|
48
|
-
displayUrl
|
|
48
|
+
displayUrl?: string;
|
|
49
49
|
isEnabled: boolean;
|
|
50
50
|
label: string;
|
|
51
51
|
lastModifiedDate?: string;
|
package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 600;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "cfc058516a8d7a119e9f369aa6088064";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -33,7 +33,7 @@ export interface PersonalizationExperienceConfigRepresentationNormalized {
|
|
|
33
33
|
/** Description of the Personalization Experience Config */
|
|
34
34
|
description?: string;
|
|
35
35
|
/** When editing this configuration on the Website which page of the website should this configuration be displayed on if not the current page. */
|
|
36
|
-
displayUrl
|
|
36
|
+
displayUrl?: string;
|
|
37
37
|
/** Id of the Personalization Experience Config */
|
|
38
38
|
id?: string;
|
|
39
39
|
/** Whether or not this particular configuration is enabled. */
|
|
@@ -52,6 +52,8 @@ export interface PersonalizationExperienceConfigRepresentationNormalized {
|
|
|
52
52
|
sourceMatchers: Array<unknown>;
|
|
53
53
|
/** How will the data provided by the Data Provider be transformed? */
|
|
54
54
|
transformationConfig: unknown;
|
|
55
|
+
/** Customer website URL with authURL and wpm parameter as query param */
|
|
56
|
+
wpmUrl?: string;
|
|
55
57
|
}
|
|
56
58
|
/**
|
|
57
59
|
* Personalization Experience Config Output Representation
|
|
@@ -64,7 +66,7 @@ export interface PersonalizationExperienceConfigRepresentation {
|
|
|
64
66
|
createdDate?: string;
|
|
65
67
|
dataProvider: unknown;
|
|
66
68
|
description?: string;
|
|
67
|
-
displayUrl
|
|
69
|
+
displayUrl?: string;
|
|
68
70
|
id?: string;
|
|
69
71
|
isEnabled: boolean;
|
|
70
72
|
label?: string;
|
|
@@ -74,4 +76,5 @@ export interface PersonalizationExperienceConfigRepresentation {
|
|
|
74
76
|
publishedDate?: string;
|
|
75
77
|
sourceMatchers: Array<unknown>;
|
|
76
78
|
transformationConfig: unknown;
|
|
79
|
+
wpmUrl?: string;
|
|
77
80
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
export declare const TTL = 600;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "419fbcb684f3cfbba77b0c3495d50241";
|
|
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: PersonalizationPaginatedResponseBaseRepresentation, existing: PersonalizationPaginatedResponseBaseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationPaginatedResponseBaseRepresentationNormalized;
|
|
@@ -18,7 +18,7 @@ export interface PersonalizationPaginatedResponseBaseRepresentationNormalized {
|
|
|
18
18
|
/** Current page url */
|
|
19
19
|
currentPageUrl: string;
|
|
20
20
|
/** Next page url if it exists */
|
|
21
|
-
nextPageUrl
|
|
21
|
+
nextPageUrl?: string | null;
|
|
22
22
|
/** Total size of collection */
|
|
23
23
|
totalSize: number;
|
|
24
24
|
}
|
|
@@ -30,6 +30,6 @@ export interface PersonalizationPaginatedResponseBaseRepresentationNormalized {
|
|
|
30
30
|
*/
|
|
31
31
|
export interface PersonalizationPaginatedResponseBaseRepresentation {
|
|
32
32
|
currentPageUrl: string;
|
|
33
|
-
nextPageUrl
|
|
33
|
+
nextPageUrl?: string | null;
|
|
34
34
|
totalSize: number;
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-personalization-service",
|
|
3
|
-
"version": "1.404.0-
|
|
3
|
+
"version": "1.404.0-dev21",
|
|
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",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salesforce/lds-bindings": "^1.404.0-
|
|
45
|
+
"@salesforce/lds-bindings": "^1.404.0-dev21"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.404.0-
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.404.0-dev21"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|