@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
package/src/raml/api.raml
CHANGED
|
@@ -1034,7 +1034,7 @@ types:
|
|
|
1034
1034
|
description: The filter conditions of the recommender.
|
|
1035
1035
|
type: array
|
|
1036
1036
|
items:
|
|
1037
|
-
type:
|
|
1037
|
+
type: object
|
|
1038
1038
|
RuleGroupInputRepresentation2: #Hand-rolled - Identical to RuleGroupInputRepresentation object, both these objects need to stay in sync
|
|
1039
1039
|
description: Rule Group Representation
|
|
1040
1040
|
type: object
|
|
@@ -1050,7 +1050,7 @@ types:
|
|
|
1050
1050
|
description: The filter conditions of the recommender.
|
|
1051
1051
|
type: array
|
|
1052
1052
|
items:
|
|
1053
|
-
type:
|
|
1053
|
+
type: object
|
|
1054
1054
|
SegmentMembershipPredicateInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
1055
1055
|
description: Segment Membership Predicate Input Representation
|
|
1056
1056
|
type: object
|
|
@@ -1167,6 +1167,37 @@ types:
|
|
|
1167
1167
|
description: Error message
|
|
1168
1168
|
type: string
|
|
1169
1169
|
required: false
|
|
1170
|
+
EsModelArtifactBaseFieldRepresentation:
|
|
1171
|
+
description: Es Model Artifact Base Field
|
|
1172
|
+
type: object
|
|
1173
|
+
properties:
|
|
1174
|
+
dataType:
|
|
1175
|
+
description: Field data type
|
|
1176
|
+
type: string
|
|
1177
|
+
label:
|
|
1178
|
+
description: label
|
|
1179
|
+
type: string
|
|
1180
|
+
name:
|
|
1181
|
+
description: name
|
|
1182
|
+
type: string
|
|
1183
|
+
EsModelArtifactRepresentation:
|
|
1184
|
+
description: ES Model Artifact
|
|
1185
|
+
type: object
|
|
1186
|
+
properties:
|
|
1187
|
+
id:
|
|
1188
|
+
description: ID
|
|
1189
|
+
type: string
|
|
1190
|
+
label:
|
|
1191
|
+
description: label
|
|
1192
|
+
type: string
|
|
1193
|
+
name:
|
|
1194
|
+
description: name
|
|
1195
|
+
type: string
|
|
1196
|
+
outputFields:
|
|
1197
|
+
description: Field data type
|
|
1198
|
+
type: array
|
|
1199
|
+
items:
|
|
1200
|
+
type: EsModelArtifactBaseFieldRepresentation
|
|
1170
1201
|
PersonalizationDataMlModelCollectionRepresentation:
|
|
1171
1202
|
description: Represent Personalization Data Ml Model Collection
|
|
1172
1203
|
type: object
|
|
@@ -1177,24 +1208,48 @@ types:
|
|
|
1177
1208
|
items:
|
|
1178
1209
|
type: PersonalizationDataMlModelRepresentation
|
|
1179
1210
|
PersonalizationDataMlModelRepresentation:
|
|
1180
|
-
description: Personalization Data Ml Model
|
|
1211
|
+
description: Represent Personalization Data Ml Model
|
|
1181
1212
|
type: object
|
|
1182
1213
|
properties:
|
|
1183
1214
|
dataSpaceId:
|
|
1184
|
-
description:
|
|
1215
|
+
description: DataSpace Id
|
|
1216
|
+
type: string
|
|
1217
|
+
esModelDefinition:
|
|
1218
|
+
description: ES model artifact definition
|
|
1219
|
+
type: EsModelArtifactRepresentation
|
|
1220
|
+
id:
|
|
1221
|
+
description: The 18 character ID of the record
|
|
1222
|
+
type: string
|
|
1223
|
+
label:
|
|
1224
|
+
description: label of the model mapping
|
|
1185
1225
|
type: string
|
|
1186
|
-
|
|
1187
|
-
description:
|
|
1226
|
+
name:
|
|
1227
|
+
description: Name of the model mapping
|
|
1188
1228
|
type: string
|
|
1189
|
-
|
|
1190
|
-
description: Personalization
|
|
1229
|
+
personalizationInputs:
|
|
1230
|
+
description: Personalization Input mappings to ES model
|
|
1191
1231
|
type: array
|
|
1192
1232
|
items:
|
|
1193
|
-
type:
|
|
1233
|
+
type: PersonalizationDataMlModelInputRepresentation
|
|
1194
1234
|
profileDataGraphId:
|
|
1195
1235
|
description: Profile Data Graph Id
|
|
1196
1236
|
type: string
|
|
1197
|
-
|
|
1237
|
+
PersonalizationDataMlModelInputRepresentation:
|
|
1238
|
+
description: 'Represents Personalization Data Ml Model Input '
|
|
1239
|
+
type: object
|
|
1240
|
+
properties:
|
|
1241
|
+
esModelInputFeatureId:
|
|
1242
|
+
description: ID of the ML data model input feature
|
|
1243
|
+
type: string
|
|
1244
|
+
id:
|
|
1245
|
+
description: ID of the personalization ML data model input feature
|
|
1246
|
+
type: string
|
|
1247
|
+
inputField:
|
|
1248
|
+
description: CDP ES model Input Feature
|
|
1249
|
+
type: EsModelArtifactBaseFieldRepresentation
|
|
1250
|
+
personalisationField:
|
|
1251
|
+
description: Path or Name to the personalization field
|
|
1252
|
+
type: string
|
|
1198
1253
|
/personalization:
|
|
1199
1254
|
/personalization-points:
|
|
1200
1255
|
post:
|
|
@@ -1,31 +0,0 @@
|
|
|
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 = "1ed74e1979dd182eb8aaf7e7a381bfae";
|
|
3
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
-
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input: RuleGroupInputRepresentation2, existing: RuleGroupInputRepresentation2Normalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RuleGroupInputRepresentation2Normalized;
|
|
6
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing: RuleGroupInputRepresentation2Normalized, incoming: RuleGroupInputRepresentation2Normalized): 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: RuleGroupInputRepresentation2, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
-
/**
|
|
11
|
-
* Rule Group Representation
|
|
12
|
-
*
|
|
13
|
-
* Keys:
|
|
14
|
-
* (none)
|
|
15
|
-
*/
|
|
16
|
-
export interface RuleGroupInputRepresentation2Normalized {
|
|
17
|
-
/** The field which gives the information whether to include/exclude all the filter conditions or any one of them. */
|
|
18
|
-
operator: string;
|
|
19
|
-
/** The filter conditions of the recommender. */
|
|
20
|
-
rules: Array<unknown>;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Rule Group Representation
|
|
24
|
-
*
|
|
25
|
-
* Keys:
|
|
26
|
-
* (none)
|
|
27
|
-
*/
|
|
28
|
-
export interface RuleGroupInputRepresentation2 {
|
|
29
|
-
operator: string;
|
|
30
|
-
rules: Array<unknown>;
|
|
31
|
-
}
|