@salesforce/lds-adapters-cdp-personalization-service 1.354.0-dev2 → 1.354.0-dev20
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 +1795 -575
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationExperiencesConfig.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/deletePersonalizationExperienceConfig.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationEsModelMapping.d.ts +8 -6
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperienceConfig.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationExperiencesConfigs.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationExperienceConfig.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/resources/deletePersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/{getPersonalizationEinsteinStudioModelMapping.d.ts → getPersonalizationDataMlModels.d.ts} +4 -2
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrName.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/putPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelInputFeatureRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelRepresentation.d.ts +28 -15
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigCollectionRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationExperienceConfigRepresentation.d.ts +77 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationPaginatedResponseBaseRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/deletePersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam/createResourceRequest.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam/createResourceRequest.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/putPersonalizationExternalAppsPersonalizationExperienceConfigsByIdOrAppSourceIdOrNameAndNameParam/createResourceRequest.d.ts +3 -0
- package/package.json +15 -4
- package/sfdc/index.js +3650 -2353
- package/src/raml/api.raml +277 -13
- package/src/raml/luvio.raml +36 -1
package/src/raml/api.raml
CHANGED
|
@@ -1167,6 +1167,25 @@ types:
|
|
|
1167
1167
|
description: Error message
|
|
1168
1168
|
type: string
|
|
1169
1169
|
required: false
|
|
1170
|
+
PersonalizationDataMlModelInputFeatureRepresentation:
|
|
1171
|
+
description: Represents Personalization Data Ml Model Input
|
|
1172
|
+
type: object
|
|
1173
|
+
properties:
|
|
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
|
|
1182
|
+
type: string
|
|
1183
|
+
enum:
|
|
1184
|
+
- CalculatedInsights
|
|
1185
|
+
- Contextual
|
|
1186
|
+
- Direct
|
|
1187
|
+
- Related
|
|
1188
|
+
- Segment
|
|
1170
1189
|
PersonalizationDataMlModelCollectionRepresentation:
|
|
1171
1190
|
description: Represent Personalization Data Ml Model Collection
|
|
1172
1191
|
type: object
|
|
@@ -1177,23 +1196,182 @@ types:
|
|
|
1177
1196
|
items:
|
|
1178
1197
|
type: PersonalizationDataMlModelRepresentation
|
|
1179
1198
|
PersonalizationDataMlModelRepresentation:
|
|
1180
|
-
description: Personalization Data Ml Model
|
|
1199
|
+
description: Represent Personalization Data Ml Model
|
|
1200
|
+
type: object
|
|
1201
|
+
properties:
|
|
1202
|
+
id:
|
|
1203
|
+
description: The 18 character ID of the record
|
|
1204
|
+
type: string
|
|
1205
|
+
label:
|
|
1206
|
+
description: label of the model mapping
|
|
1207
|
+
type: string
|
|
1208
|
+
name:
|
|
1209
|
+
description: Name of the model mapping
|
|
1210
|
+
type: string
|
|
1211
|
+
dataMlModelInputs:
|
|
1212
|
+
description: Personalization Input mappings to ES model
|
|
1213
|
+
type: array
|
|
1214
|
+
items:
|
|
1215
|
+
type: PersonalizationDataMlModelInputFeatureRepresentation
|
|
1216
|
+
dataSpaceName:
|
|
1217
|
+
description: DataSpace Name
|
|
1218
|
+
type: string
|
|
1219
|
+
mlConfiguredModel:
|
|
1220
|
+
description: Einstein Studio Configured Model
|
|
1221
|
+
type: any
|
|
1222
|
+
profileDataGraphInfo:
|
|
1223
|
+
description: Profile Data Graph Info
|
|
1224
|
+
type: any
|
|
1225
|
+
status:
|
|
1226
|
+
description: status of the model mapping
|
|
1227
|
+
type: string
|
|
1228
|
+
enum:
|
|
1229
|
+
- Active
|
|
1230
|
+
- CreateError
|
|
1231
|
+
- DeleteError
|
|
1232
|
+
- Deleting
|
|
1233
|
+
- EditError
|
|
1234
|
+
- Processing
|
|
1235
|
+
PersonalizationExperienceConfigCollectionInputRepresentation:
|
|
1236
|
+
description: Personalization Experience Config Collection Input Representation
|
|
1237
|
+
type: object
|
|
1238
|
+
properties:
|
|
1239
|
+
personalizationExperienceConfigs:
|
|
1240
|
+
description: List of Personalization Experience Configs
|
|
1241
|
+
type: array
|
|
1242
|
+
items:
|
|
1243
|
+
type: array
|
|
1244
|
+
items:
|
|
1245
|
+
type: object
|
|
1246
|
+
PersonalizationExperienceConfigCollectionRepresentation:
|
|
1247
|
+
description: Personalization Experience Config Collection Output Representation
|
|
1248
|
+
type: PersonalizationPaginatedResponseBaseRepresentation
|
|
1249
|
+
properties:
|
|
1250
|
+
personalizationExperienceConfigs:
|
|
1251
|
+
description: List of Personalization Experience Configs
|
|
1252
|
+
type: array
|
|
1253
|
+
items:
|
|
1254
|
+
type: PersonalizationExperienceConfigRepresentation
|
|
1255
|
+
PersonalizationExperienceConfigInputRepresentation:
|
|
1256
|
+
description: Personalization Experience Config Input Representation
|
|
1181
1257
|
type: object
|
|
1182
1258
|
properties:
|
|
1183
|
-
|
|
1184
|
-
description:
|
|
1259
|
+
dataProvider:
|
|
1260
|
+
description: What is supplying the data for this Personalization Experience?
|
|
1261
|
+
type: any
|
|
1262
|
+
description:
|
|
1263
|
+
description: Description of the Personalization Experience Config
|
|
1185
1264
|
type: string
|
|
1186
|
-
|
|
1187
|
-
description:
|
|
1265
|
+
displayUrl:
|
|
1266
|
+
description: When editing this configuration on the Website which page of
|
|
1267
|
+
the website should this configuration be displayed on if not the current
|
|
1268
|
+
page.
|
|
1188
1269
|
type: string
|
|
1189
|
-
|
|
1190
|
-
description:
|
|
1270
|
+
isEnabled:
|
|
1271
|
+
description: Whether or not this particular configuration is enabled.
|
|
1272
|
+
type: boolean
|
|
1273
|
+
label:
|
|
1274
|
+
description: Label of the Personalization Experience Config
|
|
1275
|
+
type: string
|
|
1276
|
+
lastModifiedDate:
|
|
1277
|
+
description: The datetime when this Personalization Experience Config was
|
|
1278
|
+
last modified.
|
|
1279
|
+
type: string
|
|
1280
|
+
required: false
|
|
1281
|
+
name:
|
|
1282
|
+
description: Name of the Personalization Experience Config
|
|
1283
|
+
type: string
|
|
1284
|
+
publishedDate:
|
|
1285
|
+
description: The datetime when this Personalization Experience Config was
|
|
1286
|
+
last published.
|
|
1287
|
+
type: string
|
|
1288
|
+
required: false
|
|
1289
|
+
sourceMatchers:
|
|
1290
|
+
description: How to find the source where this personalization will occur
|
|
1291
|
+
which for web is which web pages.
|
|
1191
1292
|
type: array
|
|
1192
1293
|
items:
|
|
1193
1294
|
type: any
|
|
1194
|
-
|
|
1195
|
-
description:
|
|
1295
|
+
transformationConfig:
|
|
1296
|
+
description: How will the data provided by the Data Provider be transformed?
|
|
1297
|
+
type: any
|
|
1298
|
+
PersonalizationPaginatedResponseBaseRepresentation:
|
|
1299
|
+
description: Base paginated response representation
|
|
1300
|
+
type: object
|
|
1301
|
+
discriminator: nextPageUrl
|
|
1302
|
+
properties:
|
|
1303
|
+
currentPageUrl:
|
|
1304
|
+
description: Current page url
|
|
1305
|
+
type: string
|
|
1306
|
+
nextPageUrl:
|
|
1307
|
+
description: Next page url if it exists
|
|
1308
|
+
type: string
|
|
1309
|
+
totalSize:
|
|
1310
|
+
description: Total size of collection
|
|
1311
|
+
type: integer
|
|
1312
|
+
PersonalizationExperienceConfigRepresentation:
|
|
1313
|
+
description: Personalization Experience Config Output Representation
|
|
1314
|
+
type: object
|
|
1315
|
+
properties:
|
|
1316
|
+
createdById:
|
|
1317
|
+
description: Id of the user who created this Personalization Experience Config
|
|
1318
|
+
type: string
|
|
1319
|
+
required: false
|
|
1320
|
+
createdDate:
|
|
1321
|
+
description: The datetime when this Personalization Experience Config was
|
|
1322
|
+
created.
|
|
1323
|
+
type: string
|
|
1324
|
+
required: false
|
|
1325
|
+
dataProvider:
|
|
1326
|
+
description: What is supplying the data for this Personalization Experience?
|
|
1327
|
+
type: any
|
|
1328
|
+
description:
|
|
1329
|
+
description: Description of the Personalization Experience Config
|
|
1330
|
+
type: string
|
|
1331
|
+
required: false
|
|
1332
|
+
displayUrl:
|
|
1333
|
+
description: When editing this configuration on the Website which page of
|
|
1334
|
+
the website should this configuration be displayed on if not the current
|
|
1335
|
+
page.
|
|
1336
|
+
type: string
|
|
1337
|
+
id:
|
|
1338
|
+
description: Id of the Personalization Experience Config
|
|
1196
1339
|
type: string
|
|
1340
|
+
required: false
|
|
1341
|
+
isEnabled:
|
|
1342
|
+
description: Whether or not this particular configuration is enabled.
|
|
1343
|
+
type: boolean
|
|
1344
|
+
label:
|
|
1345
|
+
description: Label of the Personalization Experience Config
|
|
1346
|
+
type: string
|
|
1347
|
+
required: false
|
|
1348
|
+
lastModifiedById:
|
|
1349
|
+
description: Id of the user who last modified this Personalization Experience
|
|
1350
|
+
Config
|
|
1351
|
+
type: string
|
|
1352
|
+
required: false
|
|
1353
|
+
lastModifiedDate:
|
|
1354
|
+
description: The datetime when this Personalization Experience Config was
|
|
1355
|
+
last modified.
|
|
1356
|
+
type: string
|
|
1357
|
+
required: false
|
|
1358
|
+
name:
|
|
1359
|
+
description: Name of the Personalization Experience Config
|
|
1360
|
+
type: string
|
|
1361
|
+
publishedDate:
|
|
1362
|
+
description: The datetime when this Personalization Experience Config was
|
|
1363
|
+
last published.
|
|
1364
|
+
type: string
|
|
1365
|
+
required: false
|
|
1366
|
+
sourceMatchers:
|
|
1367
|
+
description: How to find the source where this personalization will occur
|
|
1368
|
+
which for web is which web pages.
|
|
1369
|
+
type: array
|
|
1370
|
+
items:
|
|
1371
|
+
type: any
|
|
1372
|
+
transformationConfig:
|
|
1373
|
+
description: How will the data provided by the Data Provider be transformed?
|
|
1374
|
+
type: any
|
|
1197
1375
|
|
|
1198
1376
|
/personalization:
|
|
1199
1377
|
/personalization-points:
|
|
@@ -1321,10 +1499,10 @@ types:
|
|
|
1321
1499
|
idOrName:
|
|
1322
1500
|
type: string
|
|
1323
1501
|
required: true
|
|
1324
|
-
/
|
|
1502
|
+
/data-ml-models:
|
|
1325
1503
|
get:
|
|
1326
1504
|
displayName: getP13nEsMlModelCollection
|
|
1327
|
-
description: Get Es model mappings in
|
|
1505
|
+
description: Get Es model mappings in Personalization
|
|
1328
1506
|
responses:
|
|
1329
1507
|
'200':
|
|
1330
1508
|
description: Success
|
|
@@ -1332,15 +1510,101 @@ types:
|
|
|
1332
1510
|
application/json:
|
|
1333
1511
|
type: PersonalizationDataMlModelCollectionRepresentation
|
|
1334
1512
|
queryParameters:
|
|
1335
|
-
|
|
1513
|
+
dataSpaceName:
|
|
1336
1514
|
type: string
|
|
1337
1515
|
required: false
|
|
1338
1516
|
limit:
|
|
1339
1517
|
type: integer
|
|
1340
1518
|
required: false
|
|
1519
|
+
mlConfiguredModelName:
|
|
1520
|
+
type: string
|
|
1521
|
+
required: false
|
|
1341
1522
|
offset:
|
|
1342
1523
|
type: integer
|
|
1343
1524
|
required: false
|
|
1344
|
-
|
|
1525
|
+
profileDataGraphName:
|
|
1345
1526
|
type: string
|
|
1346
1527
|
required: false
|
|
1528
|
+
status:
|
|
1529
|
+
type: string
|
|
1530
|
+
required: false
|
|
1531
|
+
enum:
|
|
1532
|
+
- Active
|
|
1533
|
+
- CreateError
|
|
1534
|
+
- DeleteError
|
|
1535
|
+
- Deleting
|
|
1536
|
+
- EditError
|
|
1537
|
+
- Processing
|
|
1538
|
+
|
|
1539
|
+
/external-apps/{idOrAppSourceIdOrName}/personalization-experience-configs:
|
|
1540
|
+
get:
|
|
1541
|
+
displayName: getPersonalizationExperienceConfigCollection
|
|
1542
|
+
description: Gets a list of Personalization Experience Configs
|
|
1543
|
+
responses:
|
|
1544
|
+
'200':
|
|
1545
|
+
description: Success
|
|
1546
|
+
body:
|
|
1547
|
+
application/json:
|
|
1548
|
+
type: PersonalizationExperienceConfigCollectionRepresentation
|
|
1549
|
+
queryParameters:
|
|
1550
|
+
limit:
|
|
1551
|
+
type: integer
|
|
1552
|
+
required: false
|
|
1553
|
+
offset:
|
|
1554
|
+
type: integer
|
|
1555
|
+
required: false
|
|
1556
|
+
post:
|
|
1557
|
+
displayName: postPersonalizationExperienceConfigCollection
|
|
1558
|
+
description: Create a Personalization Experience Config
|
|
1559
|
+
responses:
|
|
1560
|
+
'200':
|
|
1561
|
+
description: Success
|
|
1562
|
+
body:
|
|
1563
|
+
application/json:
|
|
1564
|
+
type: PersonalizationExperienceConfigRepresentation
|
|
1565
|
+
body:
|
|
1566
|
+
application/json:
|
|
1567
|
+
type: PersonalizationExperienceConfigInputRepresentation
|
|
1568
|
+
# required: false #Hand-rolled issue #22 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
1569
|
+
(oas-body-name): input
|
|
1570
|
+
uriParameters:
|
|
1571
|
+
idOrAppSourceIdOrName:
|
|
1572
|
+
type: string
|
|
1573
|
+
required: true
|
|
1574
|
+
/external-apps/{idOrAppSourceIdOrName}/personalization-experience-configs/{nameParam}:
|
|
1575
|
+
delete:
|
|
1576
|
+
displayName: deletePersonalizationExperienceConfig
|
|
1577
|
+
description: Delete a Personalization Experience Config
|
|
1578
|
+
responses:
|
|
1579
|
+
'200':
|
|
1580
|
+
description: Success
|
|
1581
|
+
get:
|
|
1582
|
+
displayName: getPersonalizationExperienceConfig
|
|
1583
|
+
description: Get a Personalization Experience Config
|
|
1584
|
+
responses:
|
|
1585
|
+
'200':
|
|
1586
|
+
description: Success
|
|
1587
|
+
body:
|
|
1588
|
+
application/json:
|
|
1589
|
+
type: PersonalizationExperienceConfigRepresentation
|
|
1590
|
+
put:
|
|
1591
|
+
displayName: putPersonalizationExperienceConfig
|
|
1592
|
+
description: Updates a Personalization Experience Config
|
|
1593
|
+
responses:
|
|
1594
|
+
'200':
|
|
1595
|
+
description: Success
|
|
1596
|
+
body:
|
|
1597
|
+
application/json:
|
|
1598
|
+
type: PersonalizationExperienceConfigRepresentation
|
|
1599
|
+
body:
|
|
1600
|
+
application/json:
|
|
1601
|
+
type: PersonalizationExperienceConfigInputRepresentation
|
|
1602
|
+
# required: false #Hand-rolled issue #22 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
1603
|
+
(oas-body-name): input
|
|
1604
|
+
uriParameters:
|
|
1605
|
+
idOrAppSourceIdOrName:
|
|
1606
|
+
type: string
|
|
1607
|
+
required: true
|
|
1608
|
+
nameParam:
|
|
1609
|
+
type: string
|
|
1610
|
+
required: true
|
package/src/raml/luvio.raml
CHANGED
|
@@ -28,6 +28,18 @@ types:
|
|
|
28
28
|
PersonalizationDataMlModelCollectionRepresentation:
|
|
29
29
|
type: object
|
|
30
30
|
(luvio.ttl): 600
|
|
31
|
+
PersonalizationExperienceConfigCollectionRepresentation:
|
|
32
|
+
(luvio.opaque): true
|
|
33
|
+
PersonalizationExperienceConfigRepresentation:
|
|
34
|
+
(luvio.key):
|
|
35
|
+
id: name
|
|
36
|
+
type: object
|
|
37
|
+
(luvio.ttl): 600
|
|
38
|
+
PersonalizationExperienceConfigInputRepresentation:
|
|
39
|
+
type: object
|
|
40
|
+
(luvio.ttl): 600
|
|
41
|
+
PersonalizationPaginatedResponseBaseRepresentation:
|
|
42
|
+
(luvio.ttl): 600
|
|
31
43
|
|
|
32
44
|
/personalization/personalization-points:
|
|
33
45
|
post:
|
|
@@ -77,7 +89,30 @@ types:
|
|
|
77
89
|
name: postPersonalizationRecommenderSimulateAction
|
|
78
90
|
(luvio.method): get
|
|
79
91
|
|
|
80
|
-
/personalization/
|
|
92
|
+
/personalization/data-ml-models:
|
|
81
93
|
get:
|
|
82
94
|
(luvio.adapter):
|
|
83
95
|
name: getPersonalizationEsModelMapping
|
|
96
|
+
|
|
97
|
+
/personalization/external-apps/{idOrAppSourceIdOrName}/personalization-experience-configs:
|
|
98
|
+
get:
|
|
99
|
+
(luvio.adapter):
|
|
100
|
+
name: getPersonalizationExperiencesConfigs
|
|
101
|
+
post:
|
|
102
|
+
(luvio.adapter):
|
|
103
|
+
name: createPersonalizationExperiencesConfig
|
|
104
|
+
|
|
105
|
+
/personalization/external-apps/{idOrAppSourceIdOrName}/personalization-experience-configs/{nameParam}:
|
|
106
|
+
delete:
|
|
107
|
+
(luvio.adapter):
|
|
108
|
+
name: deletePersonalizationExperienceConfig
|
|
109
|
+
(luvio.key):
|
|
110
|
+
id: urlParams.nameParam
|
|
111
|
+
get:
|
|
112
|
+
(luvio.adapter):
|
|
113
|
+
name: getPersonalizationExperienceConfig
|
|
114
|
+
(luvio.key):
|
|
115
|
+
id: urlParams.nameParam
|
|
116
|
+
put:
|
|
117
|
+
(luvio.adapter):
|
|
118
|
+
name: updatePersonalizationExperienceConfig
|