@salesforce/lds-adapters-cdp-personalization-service 1.380.0-dev4 → 1.380.0-dev6
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 +1636 -547
- 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/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/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/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 +3672 -2506
- package/src/raml/api.raml +214 -0
- package/src/raml/luvio.raml +35 -0
package/src/raml/api.raml
CHANGED
|
@@ -1232,6 +1232,147 @@ types:
|
|
|
1232
1232
|
- Deleting
|
|
1233
1233
|
- EditError
|
|
1234
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
|
|
1257
|
+
type: object
|
|
1258
|
+
properties:
|
|
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
|
|
1264
|
+
type: string
|
|
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.
|
|
1269
|
+
type: string
|
|
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.
|
|
1292
|
+
type: array
|
|
1293
|
+
items:
|
|
1294
|
+
type: any
|
|
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
|
|
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
|
|
1375
|
+
|
|
1235
1376
|
/personalization:
|
|
1236
1377
|
/personalization-points:
|
|
1237
1378
|
post:
|
|
@@ -1394,3 +1535,76 @@ types:
|
|
|
1394
1535
|
- Deleting
|
|
1395
1536
|
- EditError
|
|
1396
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:
|
|
@@ -81,3 +93,26 @@ types:
|
|
|
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
|