@salesforce/lds-adapters-cdp-personalization-service 1.332.0-dev3 → 1.332.0-dev5
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 +428 -133
- package/dist/es/es2018/types/src/generated/types/EsModelArtifactBaseFieldRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/EsModelArtifactRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelRepresentation.d.ts +21 -10
- package/package.json +3 -3
- package/sfdc/index.js +402 -107
- package/src/raml/api.raml +63 -7
|
@@ -0,0 +1,34 @@
|
|
|
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 = "d9f3a15c5177c3eb95787555a862549b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EsModelArtifactBaseFieldRepresentation, existing: EsModelArtifactBaseFieldRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EsModelArtifactBaseFieldRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EsModelArtifactBaseFieldRepresentationNormalized, incoming: EsModelArtifactBaseFieldRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EsModelArtifactBaseFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Es Model Artifact Base Field
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EsModelArtifactBaseFieldRepresentationNormalized {
|
|
17
|
+
/** Field data type */
|
|
18
|
+
dataType: string;
|
|
19
|
+
/** label */
|
|
20
|
+
label: string;
|
|
21
|
+
/** name */
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Es Model Artifact Base Field
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface EsModelArtifactBaseFieldRepresentation {
|
|
31
|
+
dataType: string;
|
|
32
|
+
label: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EsModelArtifactBaseFieldRepresentation as EsModelArtifactBaseFieldRepresentation_EsModelArtifactBaseFieldRepresentation } from './EsModelArtifactBaseFieldRepresentation';
|
|
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 = "79dd6162ffc2c359016bab1d3ceeffab";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: EsModelArtifactRepresentation, existing: EsModelArtifactRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EsModelArtifactRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: EsModelArtifactRepresentationNormalized, incoming: EsModelArtifactRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EsModelArtifactRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* ES Model Artifact
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface EsModelArtifactRepresentationNormalized {
|
|
18
|
+
/** ID */
|
|
19
|
+
id: string;
|
|
20
|
+
/** label */
|
|
21
|
+
label: string;
|
|
22
|
+
/** name */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Field data type */
|
|
25
|
+
outputFields: Array<EsModelArtifactBaseFieldRepresentation_EsModelArtifactBaseFieldRepresentation>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* ES Model Artifact
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface EsModelArtifactRepresentation {
|
|
34
|
+
id: string;
|
|
35
|
+
label: string;
|
|
36
|
+
name: string;
|
|
37
|
+
outputFields: Array<EsModelArtifactBaseFieldRepresentation_EsModelArtifactBaseFieldRepresentation>;
|
|
38
|
+
}
|
package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EsModelArtifactBaseFieldRepresentation as EsModelArtifactBaseFieldRepresentation_EsModelArtifactBaseFieldRepresentation } from './EsModelArtifactBaseFieldRepresentation';
|
|
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 = "99ea196b2ab9f99656157ebd55e6cc5f";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: PersonalizationDataMlModelInputRepresentation, existing: PersonalizationDataMlModelInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationDataMlModelInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: PersonalizationDataMlModelInputRepresentationNormalized, incoming: PersonalizationDataMlModelInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PersonalizationDataMlModelInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents Personalization Data Ml Model Input
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface PersonalizationDataMlModelInputRepresentationNormalized {
|
|
18
|
+
/** ID of the ML data model input feature */
|
|
19
|
+
esModelInputFeatureId: string;
|
|
20
|
+
/** ID of the personalization ML data model input feature */
|
|
21
|
+
id: string;
|
|
22
|
+
/** CDP ES model Input Feature */
|
|
23
|
+
inputField: EsModelArtifactBaseFieldRepresentation_EsModelArtifactBaseFieldRepresentation;
|
|
24
|
+
/** Path or Name to the personalization field */
|
|
25
|
+
personalisationField: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Represents Personalization Data Ml Model Input
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface PersonalizationDataMlModelInputRepresentation {
|
|
34
|
+
esModelInputFeatureId: string;
|
|
35
|
+
id: string;
|
|
36
|
+
inputField: EsModelArtifactBaseFieldRepresentation_EsModelArtifactBaseFieldRepresentation;
|
|
37
|
+
personalisationField: string;
|
|
38
|
+
}
|
package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { EsModelArtifactRepresentation as EsModelArtifactRepresentation_EsModelArtifactRepresentation } from './EsModelArtifactRepresentation';
|
|
2
|
+
import { PersonalizationDataMlModelInputRepresentation as PersonalizationDataMlModelInputRepresentation_PersonalizationDataMlModelInputRepresentation } from './PersonalizationDataMlModelInputRepresentation';
|
|
1
3
|
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 = "
|
|
4
|
+
export declare const VERSION = "cb759c82eb75de0d3fc203fc331385ce";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
5
7
|
export declare function normalize(input: PersonalizationDataMlModelRepresentation, existing: PersonalizationDataMlModelRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationDataMlModelRepresentationNormalized;
|
|
@@ -8,30 +10,39 @@ export declare function equals(existing: PersonalizationDataMlModelRepresentatio
|
|
|
8
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
11
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PersonalizationDataMlModelRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
12
|
/**
|
|
11
|
-
* Personalization Data Ml Model
|
|
13
|
+
* Represent Personalization Data Ml Model
|
|
12
14
|
*
|
|
13
15
|
* Keys:
|
|
14
16
|
* (none)
|
|
15
17
|
*/
|
|
16
18
|
export interface PersonalizationDataMlModelRepresentationNormalized {
|
|
17
|
-
/**
|
|
19
|
+
/** DataSpace Id */
|
|
18
20
|
dataSpaceId: string;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
|
|
21
|
+
/** ES model artifact definition */
|
|
22
|
+
esModelDefinition: EsModelArtifactRepresentation_EsModelArtifactRepresentation;
|
|
23
|
+
/** The 18 character ID of the record */
|
|
24
|
+
id: string;
|
|
25
|
+
/** label of the model mapping */
|
|
26
|
+
label: string;
|
|
27
|
+
/** Name of the model mapping */
|
|
28
|
+
name: string;
|
|
29
|
+
/** Personalization Input mappings to ES model */
|
|
30
|
+
personalizationInputs: Array<PersonalizationDataMlModelInputRepresentation_PersonalizationDataMlModelInputRepresentation>;
|
|
23
31
|
/** Profile Data Graph Id */
|
|
24
32
|
profileDataGraphId: string;
|
|
25
33
|
}
|
|
26
34
|
/**
|
|
27
|
-
* Personalization Data Ml Model
|
|
35
|
+
* Represent Personalization Data Ml Model
|
|
28
36
|
*
|
|
29
37
|
* Keys:
|
|
30
38
|
* (none)
|
|
31
39
|
*/
|
|
32
40
|
export interface PersonalizationDataMlModelRepresentation {
|
|
33
41
|
dataSpaceId: string;
|
|
34
|
-
|
|
35
|
-
|
|
42
|
+
esModelDefinition: EsModelArtifactRepresentation_EsModelArtifactRepresentation;
|
|
43
|
+
id: string;
|
|
44
|
+
label: string;
|
|
45
|
+
name: string;
|
|
46
|
+
personalizationInputs: Array<PersonalizationDataMlModelInputRepresentation_PersonalizationDataMlModelInputRepresentation>;
|
|
36
47
|
profileDataGraphId: string;
|
|
37
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-personalization-service",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev5",
|
|
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.332.0-
|
|
45
|
+
"@salesforce/lds-bindings": "^1.332.0-dev5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev5"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|