@salesforce/lds-adapters-cdp-personalization-service 1.354.0-dev1 → 1.355.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 +524 -186
- package/dist/es/es2018/types/src/generated/adapters/postPersonalizationRecommenderSimulateAction.d.ts +2 -3
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName.d.ts +2 -3
- package/dist/es/es2018/types/src/generated/types/BasePredicateInputRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/generated/types/BaseRuleInputRepresentation.d.ts +1 -4
- 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/dist/es/es2018/types/src/generated/types/PersonalizationRecommenderSimulateActionInputRepresentation.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/types/RuleGroupInputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +493 -154
- package/src/raml/api.raml +65 -10
- package/dist/es/es2018/types/src/generated/types/RuleGroupInputRepresentation2.d.ts +0 -31
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
3
|
import { AnchorReferenceRepresentation as types_AnchorReferenceRepresentation_AnchorReferenceRepresentation } from '../types/AnchorReferenceRepresentation';
|
|
4
|
-
import { RuleGroupInputRepresentation2 as types_RuleGroupInputRepresentation2_RuleGroupInputRepresentation2 } from '../types/RuleGroupInputRepresentation2';
|
|
5
4
|
import { RuleGroupInputRepresentation as types_RuleGroupInputRepresentation_RuleGroupInputRepresentation } from '../types/RuleGroupInputRepresentation';
|
|
6
5
|
import { ResourceRequestConfig as resources_postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName_ResourceRequestConfig } from '../resources/postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName';
|
|
7
6
|
import { PersonalizationRecommenderSimulateActionRepresentation as types_PersonalizationRecommenderSimulateActionRepresentation_PersonalizationRecommenderSimulateActionRepresentation } from '../types/PersonalizationRecommenderSimulateActionRepresentation';
|
|
@@ -11,8 +10,8 @@ export declare const postPersonalizationRecommenderSimulateAction_ConfigProperty
|
|
|
11
10
|
export interface PostPersonalizationRecommenderSimulateActionConfig {
|
|
12
11
|
idOrName: string;
|
|
13
12
|
anchors?: Array<types_AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
|
|
14
|
-
excludeFilters?:
|
|
15
|
-
includeFilters?: types_RuleGroupInputRepresentation_RuleGroupInputRepresentation
|
|
13
|
+
excludeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
14
|
+
includeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
16
15
|
individualId?: string | null;
|
|
17
16
|
}
|
|
18
17
|
export declare const createResourceParams: (config: PostPersonalizationRecommenderSimulateActionConfig) => resources_postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName_ResourceRequestConfig;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AnchorReferenceRepresentation as types_AnchorReferenceRepresentation_AnchorReferenceRepresentation } from '../types/AnchorReferenceRepresentation';
|
|
2
|
-
import { RuleGroupInputRepresentation2 as types_RuleGroupInputRepresentation2_RuleGroupInputRepresentation2 } from '../types/RuleGroupInputRepresentation2';
|
|
3
2
|
import { RuleGroupInputRepresentation as types_RuleGroupInputRepresentation_RuleGroupInputRepresentation } from '../types/RuleGroupInputRepresentation';
|
|
4
3
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
5
4
|
import { PersonalizationRecommenderSimulateActionRepresentation as types_PersonalizationRecommenderSimulateActionRepresentation_PersonalizationRecommenderSimulateActionRepresentation } from '../types/PersonalizationRecommenderSimulateActionRepresentation';
|
|
@@ -9,8 +8,8 @@ export interface ResourceRequestConfig {
|
|
|
9
8
|
};
|
|
10
9
|
body: {
|
|
11
10
|
anchors?: Array<types_AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
|
|
12
|
-
excludeFilters?:
|
|
13
|
-
includeFilters?: types_RuleGroupInputRepresentation_RuleGroupInputRepresentation
|
|
11
|
+
excludeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
12
|
+
includeFilters?: Array<types_RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
14
13
|
individualId?: string | null;
|
|
15
14
|
};
|
|
16
15
|
}
|
|
@@ -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 = "eaa01ee4af0b3bfecd174843fa7cd6d7";
|
|
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: BasePredicateInputRepresentation, existing: BasePredicateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BasePredicateInputRepresentationNormalized;
|
|
@@ -14,8 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface BasePredicateInputRepresentationNormalized {
|
|
17
|
-
/** The type of Predicate object. */
|
|
18
|
-
type: string;
|
|
19
17
|
}
|
|
20
18
|
/**
|
|
21
19
|
* The right hand side against which the filter condition is checked.
|
|
@@ -24,5 +22,4 @@ export interface BasePredicateInputRepresentationNormalized {
|
|
|
24
22
|
* (none)
|
|
25
23
|
*/
|
|
26
24
|
export interface BasePredicateInputRepresentation {
|
|
27
|
-
type: string;
|
|
28
25
|
}
|
|
@@ -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 = "d4440010130353297a7d838ad3043a68";
|
|
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: BaseRuleInputRepresentation, existing: BaseRuleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BaseRuleInputRepresentationNormalized;
|
|
@@ -14,8 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface BaseRuleInputRepresentationNormalized {
|
|
17
|
-
/** The type of Rule object. */
|
|
18
|
-
type: string;
|
|
19
17
|
}
|
|
20
18
|
/**
|
|
21
19
|
* Base Rule Input Representation
|
|
@@ -24,5 +22,4 @@ export interface BaseRuleInputRepresentationNormalized {
|
|
|
24
22
|
* (none)
|
|
25
23
|
*/
|
|
26
24
|
export interface BaseRuleInputRepresentation {
|
|
27
|
-
type: string;
|
|
28
25
|
}
|
|
@@ -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
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AnchorReferenceRepresentation as AnchorReferenceRepresentation_AnchorReferenceRepresentation } from './AnchorReferenceRepresentation';
|
|
2
|
-
import { RuleGroupInputRepresentation2 as RuleGroupInputRepresentation2_RuleGroupInputRepresentation2 } from './RuleGroupInputRepresentation2';
|
|
3
2
|
import { RuleGroupInputRepresentation as RuleGroupInputRepresentation_RuleGroupInputRepresentation } from './RuleGroupInputRepresentation';
|
|
4
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';
|
|
5
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "51b9683df9f47131bf60c5c3b354051c";
|
|
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: PersonalizationRecommenderSimulateActionInputRepresentation, existing: PersonalizationRecommenderSimulateActionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationRecommenderSimulateActionInputRepresentationNormalized;
|
|
@@ -19,8 +18,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
19
18
|
export interface PersonalizationRecommenderSimulateActionInputRepresentationNormalized {
|
|
20
19
|
/** The list of anchors for which recommendations are needed if provided. */
|
|
21
20
|
anchors?: Array<AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
/** The filters being applied before rendering the recommendations. */
|
|
22
|
+
excludeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
23
|
+
/** The filters being applied before rendering the recommendations. */
|
|
24
|
+
includeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
24
25
|
/** The individual id associated to a Data Cloud profile. */
|
|
25
26
|
individualId?: string | null;
|
|
26
27
|
}
|
|
@@ -32,7 +33,7 @@ export interface PersonalizationRecommenderSimulateActionInputRepresentationNorm
|
|
|
32
33
|
*/
|
|
33
34
|
export interface PersonalizationRecommenderSimulateActionInputRepresentation {
|
|
34
35
|
anchors?: Array<AnchorReferenceRepresentation_AnchorReferenceRepresentation>;
|
|
35
|
-
excludeFilters?:
|
|
36
|
-
includeFilters?: RuleGroupInputRepresentation_RuleGroupInputRepresentation
|
|
36
|
+
excludeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
37
|
+
includeFilters?: Array<RuleGroupInputRepresentation_RuleGroupInputRepresentation>;
|
|
37
38
|
individualId?: string | null;
|
|
38
39
|
}
|
|
@@ -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 = "30a092ebb29a4806b750559687ce1a49";
|
|
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: RuleGroupInputRepresentation, existing: RuleGroupInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RuleGroupInputRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export interface RuleGroupInputRepresentationNormalized {
|
|
|
17
17
|
/** The field which gives the information whether to include/exclude all the filter conditions or any one of them. */
|
|
18
18
|
operator: string;
|
|
19
19
|
/** The filter conditions of the recommender. */
|
|
20
|
-
rules: Array<
|
|
20
|
+
rules: Array<{}>;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Rule Group Representation
|
|
@@ -27,5 +27,5 @@ export interface RuleGroupInputRepresentationNormalized {
|
|
|
27
27
|
*/
|
|
28
28
|
export interface RuleGroupInputRepresentation {
|
|
29
29
|
operator: string;
|
|
30
|
-
rules: Array<
|
|
30
|
+
rules: Array<{}>;
|
|
31
31
|
}
|
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.355.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",
|
|
@@ -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.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.355.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.355.0"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|