@salesforce/lds-adapters-cdp-personalization-service 1.366.0 → 1.367.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 +228 -393
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationEsModelMapping.d.ts +8 -6
- package/dist/es/es2018/types/src/generated/resources/{getPersonalizationEinsteinStudioModelMapping.d.ts → getPersonalizationDataMlModels.d.ts} +4 -2
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputFeatureRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelRepresentation.d.ts +17 -15
- package/package.json +3 -3
- package/sfdc/index.js +184 -349
- package/src/raml/api.raml +48 -56
- package/src/raml/luvio.raml +1 -1
- package/dist/es/es2018/types/src/generated/types/EsModelArtifactBaseFieldRepresentation.d.ts +0 -34
- package/dist/es/es2018/types/src/generated/types/EsModelArtifactRepresentation.d.ts +0 -38
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputRepresentation.d.ts +0 -38
package/src/raml/api.raml
CHANGED
|
@@ -1167,37 +1167,22 @@ types:
|
|
|
1167
1167
|
description: Error message
|
|
1168
1168
|
type: string
|
|
1169
1169
|
required: false
|
|
1170
|
-
|
|
1171
|
-
description:
|
|
1170
|
+
PersonalizationDataMlModelInputFeatureRepresentation:
|
|
1171
|
+
description: Represents Personalization Data Ml Model Input
|
|
1172
1172
|
type: object
|
|
1173
1173
|
properties:
|
|
1174
|
-
|
|
1175
|
-
description:
|
|
1176
|
-
type:
|
|
1177
|
-
|
|
1178
|
-
description:
|
|
1179
|
-
type:
|
|
1180
|
-
|
|
1181
|
-
description:
|
|
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
|
|
1174
|
+
inputField:
|
|
1175
|
+
description: CDP ES model Input Feature
|
|
1176
|
+
type: any
|
|
1177
|
+
personalizationField:
|
|
1178
|
+
description: Path or Name to the personalization field
|
|
1179
|
+
type: any
|
|
1180
|
+
type:
|
|
1181
|
+
description: Personalization Field Type
|
|
1195
1182
|
type: string
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
items:
|
|
1200
|
-
type: EsModelArtifactBaseFieldRepresentation
|
|
1183
|
+
enum:
|
|
1184
|
+
- CalculatedInsights
|
|
1185
|
+
- Direct
|
|
1201
1186
|
PersonalizationDataMlModelCollectionRepresentation:
|
|
1202
1187
|
description: Represent Personalization Data Ml Model Collection
|
|
1203
1188
|
type: object
|
|
@@ -1211,12 +1196,6 @@ types:
|
|
|
1211
1196
|
description: Represent Personalization Data Ml Model
|
|
1212
1197
|
type: object
|
|
1213
1198
|
properties:
|
|
1214
|
-
dataSpaceId:
|
|
1215
|
-
description: DataSpace Id
|
|
1216
|
-
type: string
|
|
1217
|
-
esModelDefinition:
|
|
1218
|
-
description: ES model artifact definition
|
|
1219
|
-
type: EsModelArtifactRepresentation
|
|
1220
1199
|
id:
|
|
1221
1200
|
description: The 18 character ID of the record
|
|
1222
1201
|
type: string
|
|
@@ -1226,30 +1205,30 @@ types:
|
|
|
1226
1205
|
name:
|
|
1227
1206
|
description: Name of the model mapping
|
|
1228
1207
|
type: string
|
|
1229
|
-
|
|
1208
|
+
dataMlModelInputs:
|
|
1230
1209
|
description: Personalization Input mappings to ES model
|
|
1231
1210
|
type: array
|
|
1232
1211
|
items:
|
|
1233
|
-
type:
|
|
1234
|
-
|
|
1235
|
-
description:
|
|
1236
|
-
type: string
|
|
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
|
|
1212
|
+
type: PersonalizationDataMlModelInputFeatureRepresentation
|
|
1213
|
+
dataSpaceName:
|
|
1214
|
+
description: DataSpace Name
|
|
1243
1215
|
type: string
|
|
1244
|
-
|
|
1245
|
-
description:
|
|
1216
|
+
mlConfiguredModel:
|
|
1217
|
+
description: Einstein Studio Configured Model
|
|
1218
|
+
type: any
|
|
1219
|
+
profileDataGraphName:
|
|
1220
|
+
description: Profile Data Graph Name
|
|
1246
1221
|
type: string
|
|
1247
|
-
|
|
1248
|
-
description:
|
|
1249
|
-
type: EsModelArtifactBaseFieldRepresentation
|
|
1250
|
-
personalisationField:
|
|
1251
|
-
description: Path or Name to the personalization field
|
|
1222
|
+
status:
|
|
1223
|
+
description: status of the model mapping
|
|
1252
1224
|
type: string
|
|
1225
|
+
enum:
|
|
1226
|
+
- Active
|
|
1227
|
+
- CreateError
|
|
1228
|
+
- DeleteError
|
|
1229
|
+
- Deleting
|
|
1230
|
+
- EditError
|
|
1231
|
+
- Processing
|
|
1253
1232
|
/personalization:
|
|
1254
1233
|
/personalization-points:
|
|
1255
1234
|
post:
|
|
@@ -1376,10 +1355,10 @@ types:
|
|
|
1376
1355
|
idOrName:
|
|
1377
1356
|
type: string
|
|
1378
1357
|
required: true
|
|
1379
|
-
/
|
|
1358
|
+
/data-ml-models:
|
|
1380
1359
|
get:
|
|
1381
1360
|
displayName: getP13nEsMlModelCollection
|
|
1382
|
-
description: Get Es model mappings in
|
|
1361
|
+
description: Get Es model mappings in Personalization
|
|
1383
1362
|
responses:
|
|
1384
1363
|
'200':
|
|
1385
1364
|
description: Success
|
|
@@ -1387,15 +1366,28 @@ types:
|
|
|
1387
1366
|
application/json:
|
|
1388
1367
|
type: PersonalizationDataMlModelCollectionRepresentation
|
|
1389
1368
|
queryParameters:
|
|
1390
|
-
|
|
1369
|
+
dataSpaceName:
|
|
1391
1370
|
type: string
|
|
1392
1371
|
required: false
|
|
1393
1372
|
limit:
|
|
1394
1373
|
type: integer
|
|
1395
1374
|
required: false
|
|
1375
|
+
mlConfiguredModelName:
|
|
1376
|
+
type: string
|
|
1377
|
+
required: false
|
|
1396
1378
|
offset:
|
|
1397
1379
|
type: integer
|
|
1398
1380
|
required: false
|
|
1399
|
-
|
|
1381
|
+
profileDataGraphName:
|
|
1382
|
+
type: string
|
|
1383
|
+
required: false
|
|
1384
|
+
status:
|
|
1400
1385
|
type: string
|
|
1401
1386
|
required: false
|
|
1387
|
+
enum:
|
|
1388
|
+
- Active
|
|
1389
|
+
- CreateError
|
|
1390
|
+
- DeleteError
|
|
1391
|
+
- Deleting
|
|
1392
|
+
- EditError
|
|
1393
|
+
- Processing
|
package/src/raml/luvio.raml
CHANGED
package/dist/es/es2018/types/src/generated/types/EsModelArtifactBaseFieldRepresentation.d.ts
DELETED
|
@@ -1,34 +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 = "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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
}
|