@salesforce/lds-adapters-service-ecm 1.365.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/service-ecm.js +1900 -1235
- package/dist/es/es2018/types/src/generated/adapters/createAgentAction.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/createAgentFlow.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/deployTemplate.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getAllServiceProcessTemplate.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationServiceProcessGetAllTemplates.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationAgentFlowAutolaunched.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationGenAiActions.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationTemplateDeployByTemplateId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionAttributeOutputRepresentation.d.ts +27 -27
- package/dist/es/es2018/types/src/generated/types/AgentFlowInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AgentFlowOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/AgentFlowStatusOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DeploymentOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionOutputRepresentation.d.ts +38 -28
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionsOutputRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ServiceProcessTemplateOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessTemplatesOutputRepresentation.d.ts +30 -0
- package/package.json +3 -3
- package/sfdc/index.js +2112 -1426
- package/src/raml/api.raml +190 -37
- package/src/raml/luvio.raml +31 -1
package/src/raml/api.raml
CHANGED
|
@@ -1270,6 +1270,79 @@ types:
|
|
|
1270
1270
|
- Active
|
|
1271
1271
|
- Draft
|
|
1272
1272
|
- Inactive
|
|
1273
|
+
AgentFlowInputRepresentation:
|
|
1274
|
+
description: Input Representation for Agent Action
|
|
1275
|
+
type: object
|
|
1276
|
+
properties:
|
|
1277
|
+
description:
|
|
1278
|
+
description: The description of the flow
|
|
1279
|
+
type: string
|
|
1280
|
+
developerName:
|
|
1281
|
+
description: The Api Name of the flow
|
|
1282
|
+
type: string
|
|
1283
|
+
label:
|
|
1284
|
+
description: The label of the Flow
|
|
1285
|
+
type: string
|
|
1286
|
+
serviceProcessId:
|
|
1287
|
+
description: The ID of product2 record corresponding to a service process
|
|
1288
|
+
type: string
|
|
1289
|
+
AgentFlowOutputRepresentation:
|
|
1290
|
+
description: Output Representation for Flow corresponding to Agent Action
|
|
1291
|
+
type: object
|
|
1292
|
+
properties:
|
|
1293
|
+
flowDefinitionId:
|
|
1294
|
+
description: Agent Flow Definition Id
|
|
1295
|
+
type: string
|
|
1296
|
+
flowLatestVersionId:
|
|
1297
|
+
description: Latest Version Id of the Agent Flow
|
|
1298
|
+
type: string
|
|
1299
|
+
isActive:
|
|
1300
|
+
description: is the flow active or not
|
|
1301
|
+
type: boolean
|
|
1302
|
+
status:
|
|
1303
|
+
description: status of api for agent flow generation
|
|
1304
|
+
type: AgentFlowStatusOutputRepresentation
|
|
1305
|
+
AgentFlowStatusOutputRepresentation:
|
|
1306
|
+
description: Output representation to show status and message for the api call
|
|
1307
|
+
type: object
|
|
1308
|
+
properties:
|
|
1309
|
+
code:
|
|
1310
|
+
description: get status code
|
|
1311
|
+
type: integer
|
|
1312
|
+
message:
|
|
1313
|
+
description: get status message
|
|
1314
|
+
type: string
|
|
1315
|
+
ServiceProcessTemplateOutputRepresentation:
|
|
1316
|
+
description: Output Representation of Service Process Template
|
|
1317
|
+
type: object
|
|
1318
|
+
properties:
|
|
1319
|
+
createdDate:
|
|
1320
|
+
description: Template created date
|
|
1321
|
+
type: string
|
|
1322
|
+
description:
|
|
1323
|
+
description: Template description
|
|
1324
|
+
type: string
|
|
1325
|
+
id:
|
|
1326
|
+
description: Template Id
|
|
1327
|
+
type: string
|
|
1328
|
+
imageUrl:
|
|
1329
|
+
description: Template image url
|
|
1330
|
+
type: string
|
|
1331
|
+
name:
|
|
1332
|
+
description: Template name
|
|
1333
|
+
type: string
|
|
1334
|
+
type:
|
|
1335
|
+
description: Template type
|
|
1336
|
+
type: string
|
|
1337
|
+
ServiceProcessTemplatesOutputRepresentation:
|
|
1338
|
+
description: Output Representation of Service Process Templates
|
|
1339
|
+
type: object
|
|
1340
|
+
properties:
|
|
1341
|
+
serviceProcessTemplateOutputRepresentation:
|
|
1342
|
+
description: Service Process Template List
|
|
1343
|
+
type: array
|
|
1344
|
+
items:
|
|
1345
|
+
type: ServiceProcessTemplateOutputRepresentation
|
|
1273
1346
|
ServiceRequestGetOutputRepresentation:
|
|
1274
1347
|
description: Service Request Get Output Representation
|
|
1275
1348
|
type: object
|
|
@@ -1300,121 +1373,148 @@ types:
|
|
|
1300
1373
|
type: object
|
|
1301
1374
|
properties:
|
|
1302
1375
|
dataType:
|
|
1303
|
-
required: false
|
|
1304
1376
|
description: Data type of the attribute
|
|
1305
|
-
type: string
|
|
1377
|
+
type: string
|
|
1306
1378
|
description:
|
|
1307
|
-
required: false
|
|
1308
1379
|
description: Description of the Attribute
|
|
1309
|
-
type: string
|
|
1380
|
+
type: string
|
|
1310
1381
|
developerName:
|
|
1311
|
-
required: false
|
|
1312
1382
|
description: Developer Name of the Atribute
|
|
1313
|
-
type: string
|
|
1383
|
+
type: string
|
|
1314
1384
|
displayable:
|
|
1315
1385
|
required: false
|
|
1316
1386
|
description: Is displayable
|
|
1317
|
-
type: boolean
|
|
1387
|
+
type: boolean
|
|
1318
1388
|
excludedFromPlanner:
|
|
1319
1389
|
required: false
|
|
1320
1390
|
description: Exclude from Planner
|
|
1321
|
-
type: boolean
|
|
1391
|
+
type: boolean
|
|
1322
1392
|
isPersIdentInfo:
|
|
1323
1393
|
required: false
|
|
1324
1394
|
description: Is PII Information
|
|
1325
|
-
type: boolean
|
|
1395
|
+
type: boolean
|
|
1326
1396
|
itemsDataType:
|
|
1327
1397
|
required: false
|
|
1328
1398
|
description: Data type of the items in the list
|
|
1329
|
-
type: string
|
|
1399
|
+
type: string
|
|
1330
1400
|
label:
|
|
1331
|
-
required: false
|
|
1332
1401
|
description: Label of the Attribute
|
|
1333
|
-
type: string
|
|
1402
|
+
type: string
|
|
1334
1403
|
mappingType:
|
|
1335
|
-
required: false
|
|
1336
1404
|
description: Mapping Type
|
|
1337
|
-
type: string
|
|
1405
|
+
type: string
|
|
1338
1406
|
maxItems:
|
|
1339
1407
|
required: false
|
|
1340
1408
|
description: Max items
|
|
1341
|
-
type: integer
|
|
1409
|
+
type: integer
|
|
1342
1410
|
required:
|
|
1343
1411
|
required: false
|
|
1344
1412
|
description: Is Required Attribute
|
|
1345
|
-
type: boolean
|
|
1413
|
+
type: boolean
|
|
1346
1414
|
title:
|
|
1347
|
-
required: false
|
|
1348
1415
|
description: Title of the Attribute
|
|
1349
|
-
type: string
|
|
1416
|
+
type: string
|
|
1350
1417
|
userInput:
|
|
1351
1418
|
required: false
|
|
1352
1419
|
description: Is user input
|
|
1353
|
-
type: boolean
|
|
1420
|
+
type: boolean
|
|
1354
1421
|
EinsteinAgentActionOutputRepresentation:
|
|
1355
1422
|
description: Output representation for an Agent Action
|
|
1356
1423
|
type: object
|
|
1357
1424
|
properties:
|
|
1358
1425
|
attributes:
|
|
1359
|
-
required: false
|
|
1360
1426
|
description: Attributes of the Agent Action
|
|
1361
1427
|
type: array
|
|
1362
1428
|
items:
|
|
1363
1429
|
type: AgentActionAttributeOutputRepresentation
|
|
1364
1430
|
description:
|
|
1365
|
-
required: false
|
|
1366
1431
|
description: 'Description of the Agent Action '
|
|
1367
|
-
type: string
|
|
1432
|
+
type: string
|
|
1368
1433
|
developerName:
|
|
1369
|
-
required: false
|
|
1370
1434
|
description: 'Developer Name of the Agent Action '
|
|
1371
|
-
type: string
|
|
1435
|
+
type: string
|
|
1372
1436
|
id:
|
|
1373
|
-
required: false
|
|
1374
1437
|
description: 'Identifier of the Agent Action '
|
|
1375
|
-
type: string
|
|
1438
|
+
type: string
|
|
1376
1439
|
includeInProgressIndicator:
|
|
1377
1440
|
required: false
|
|
1378
1441
|
description: Include progress indicator message
|
|
1379
|
-
type: boolean
|
|
1442
|
+
type: boolean
|
|
1380
1443
|
invocationTarget:
|
|
1381
1444
|
required: false
|
|
1382
1445
|
description: Invocation Target of the Agent Action
|
|
1383
|
-
type: string
|
|
1446
|
+
type: string
|
|
1384
1447
|
invocationTargetId:
|
|
1385
1448
|
required: false
|
|
1386
1449
|
description: Invocation Target ID of the Agent Action
|
|
1387
|
-
type: string
|
|
1450
|
+
type: string
|
|
1388
1451
|
invocationTargetType:
|
|
1389
|
-
required: false
|
|
1390
1452
|
description: Invocation Target Type of the Agent Action
|
|
1391
|
-
type: string
|
|
1453
|
+
type: string
|
|
1392
1454
|
label:
|
|
1393
|
-
required: false
|
|
1394
1455
|
description: 'Master Label of the Agent Action '
|
|
1395
|
-
type: string
|
|
1456
|
+
type: string
|
|
1396
1457
|
namespace:
|
|
1397
1458
|
required: false
|
|
1398
1459
|
description: Namespace of the Agent Action
|
|
1399
|
-
type: string
|
|
1460
|
+
type: string
|
|
1400
1461
|
progressIndicatorMessage:
|
|
1401
1462
|
required: false
|
|
1402
1463
|
description: Progress indicator message
|
|
1403
|
-
type: string
|
|
1464
|
+
type: string
|
|
1404
1465
|
userConfirmationRequired:
|
|
1405
1466
|
required: false
|
|
1406
1467
|
description: Is user confirmation required for executing Action
|
|
1407
|
-
type: boolean
|
|
1468
|
+
type: boolean
|
|
1408
1469
|
EinsteinAgentActionsOutputRepresentation:
|
|
1409
1470
|
description: Output representation for Agent Actions
|
|
1410
1471
|
type: object
|
|
1411
1472
|
properties:
|
|
1412
1473
|
actions:
|
|
1413
|
-
required: false
|
|
1414
1474
|
description: Agent Actions
|
|
1415
1475
|
type: array
|
|
1416
1476
|
items:
|
|
1417
1477
|
type: EinsteinAgentActionOutputRepresentation
|
|
1478
|
+
EinsteinAgentActionInputRepresentation:
|
|
1479
|
+
description: Input representation for an Agent Action
|
|
1480
|
+
type: object
|
|
1481
|
+
properties:
|
|
1482
|
+
description:
|
|
1483
|
+
description: Description of the agent action
|
|
1484
|
+
type: string
|
|
1485
|
+
developerName:
|
|
1486
|
+
description: Developer name of the agent action
|
|
1487
|
+
type: string
|
|
1488
|
+
invocationTargetIdentifier:
|
|
1489
|
+
description: Invocation Target Identifier of the agent action
|
|
1490
|
+
type: string
|
|
1491
|
+
invocationTargetType:
|
|
1492
|
+
description: Invocation Target Type of the agent action
|
|
1493
|
+
type: string
|
|
1494
|
+
enum:
|
|
1495
|
+
- Flow
|
|
1496
|
+
label:
|
|
1497
|
+
description: Master Label of the agent action
|
|
1498
|
+
type: string
|
|
1499
|
+
serviceProcessId:
|
|
1500
|
+
description: Service Process Identifier
|
|
1501
|
+
type: string
|
|
1502
|
+
DeploymentOutputRepresentation:
|
|
1503
|
+
description: Template Deployment Output Representation
|
|
1504
|
+
type: object
|
|
1505
|
+
properties:
|
|
1506
|
+
deploymentResult:
|
|
1507
|
+
required: true
|
|
1508
|
+
description: Result of the template deployment
|
|
1509
|
+
type: string
|
|
1510
|
+
templateId:
|
|
1511
|
+
required: true
|
|
1512
|
+
description: Template ID that was deployed
|
|
1513
|
+
type: string
|
|
1514
|
+
status:
|
|
1515
|
+
required: true
|
|
1516
|
+
description: Status of the deployment (SUCCESS or FAILURE)
|
|
1517
|
+
type: string
|
|
1418
1518
|
/connect/service-automation:
|
|
1419
1519
|
/catalog:
|
|
1420
1520
|
/catalog-item:
|
|
@@ -1496,6 +1596,17 @@ types:
|
|
|
1496
1596
|
application/json:
|
|
1497
1597
|
type: ServiceAutomationDepReadInputRepresentation
|
|
1498
1598
|
(oas-body-name): ServiceAutomationDepInput
|
|
1599
|
+
/service-process:
|
|
1600
|
+
/get-all-templates:
|
|
1601
|
+
get:
|
|
1602
|
+
displayName: getServiceProcessGetAllTemplates
|
|
1603
|
+
description: API to retrieve the list of service process templates
|
|
1604
|
+
responses:
|
|
1605
|
+
'200':
|
|
1606
|
+
description: Success
|
|
1607
|
+
body:
|
|
1608
|
+
application/json:
|
|
1609
|
+
type: ServiceProcessTemplatesOutputRepresentation
|
|
1499
1610
|
/gen-ai/actions:
|
|
1500
1611
|
get:
|
|
1501
1612
|
displayName: getAgentAction
|
|
@@ -1513,6 +1624,33 @@ types:
|
|
|
1513
1624
|
resourceType:
|
|
1514
1625
|
type: string
|
|
1515
1626
|
required: false
|
|
1627
|
+
post:
|
|
1628
|
+
displayName: createAgentAction
|
|
1629
|
+
description: Create an Agent Action
|
|
1630
|
+
responses:
|
|
1631
|
+
'200':
|
|
1632
|
+
description: Success
|
|
1633
|
+
body:
|
|
1634
|
+
application/json:
|
|
1635
|
+
type: EinsteinAgentActionOutputRepresentation
|
|
1636
|
+
body:
|
|
1637
|
+
application/json:
|
|
1638
|
+
type: EinsteinAgentActionInputRepresentation
|
|
1639
|
+
(oas-body-name): AgentActionInput
|
|
1640
|
+
/agent/flow/autolaunched:
|
|
1641
|
+
post:
|
|
1642
|
+
displayName: postAgentFlowGeneration
|
|
1643
|
+
description: API to create a flow for the new agent action
|
|
1644
|
+
responses:
|
|
1645
|
+
'200':
|
|
1646
|
+
description: Success
|
|
1647
|
+
body:
|
|
1648
|
+
application/json:
|
|
1649
|
+
type: AgentFlowOutputRepresentation
|
|
1650
|
+
body:
|
|
1651
|
+
application/json:
|
|
1652
|
+
type: AgentFlowInputRepresentation
|
|
1653
|
+
(oas-body-name): AgentFlowGenerationInput
|
|
1516
1654
|
/intake-form:
|
|
1517
1655
|
/generate-intake-form:
|
|
1518
1656
|
post:
|
|
@@ -1557,3 +1695,18 @@ types:
|
|
|
1557
1695
|
description: serviceRequestId for which Service Request details have to be fetched.
|
|
1558
1696
|
type: string
|
|
1559
1697
|
required: true
|
|
1698
|
+
/template/deploy/{templateId}:
|
|
1699
|
+
uriParameters:
|
|
1700
|
+
templateId:
|
|
1701
|
+
description: Template ID to deploy
|
|
1702
|
+
type: string
|
|
1703
|
+
required: true
|
|
1704
|
+
post:
|
|
1705
|
+
displayName: postTemplateDeployment
|
|
1706
|
+
description: API to deploy a template by template ID
|
|
1707
|
+
responses:
|
|
1708
|
+
'200':
|
|
1709
|
+
description: Success
|
|
1710
|
+
body:
|
|
1711
|
+
application/json:
|
|
1712
|
+
type: DeploymentOutputRepresentation
|
package/src/raml/luvio.raml
CHANGED
|
@@ -28,9 +28,24 @@ types:
|
|
|
28
28
|
(luvio.ttl): 6000
|
|
29
29
|
(luvio.key):
|
|
30
30
|
id: id
|
|
31
|
-
|
|
31
|
+
ServiceProcessTemplatesOutputRepresentation:
|
|
32
32
|
(luvio.ttl): 6000
|
|
33
33
|
(luvio.opaque): true
|
|
34
|
+
EinsteinAgentActionsOutputRepresentation:
|
|
35
|
+
(luvio.ttl): 600000
|
|
36
|
+
(luvio.opaque): true
|
|
37
|
+
EinsteinAgentActionOutputRepresentation:
|
|
38
|
+
(luvio.ttl): 500
|
|
39
|
+
(luvio.key):
|
|
40
|
+
id: id
|
|
41
|
+
AgentFlowOutputRepresentation:
|
|
42
|
+
(luvio.ttl): 500
|
|
43
|
+
(luvio.key):
|
|
44
|
+
id: flowDefinitionId
|
|
45
|
+
DeploymentOutputRepresentation:
|
|
46
|
+
(luvio.ttl): 6000
|
|
47
|
+
(luvio.key):
|
|
48
|
+
templateId: templateId
|
|
34
49
|
/connect/service-automation/query:
|
|
35
50
|
post:
|
|
36
51
|
(luvio.method): get
|
|
@@ -65,7 +80,22 @@ types:
|
|
|
65
80
|
get:
|
|
66
81
|
(luvio.adapter):
|
|
67
82
|
name: getServiceRequest
|
|
83
|
+
/connect/service-automation/service-process/get-all-templates:
|
|
84
|
+
get:
|
|
85
|
+
(luvio.adapter):
|
|
86
|
+
name: getAllServiceProcessTemplate
|
|
68
87
|
/connect/service-automation/gen-ai/actions:
|
|
69
88
|
get:
|
|
70
89
|
(luvio.adapter):
|
|
71
90
|
name: getAgentActions
|
|
91
|
+
post:
|
|
92
|
+
(luvio.adapter):
|
|
93
|
+
name: createAgentAction
|
|
94
|
+
/connect/service-automation/agent/flow/autolaunched:
|
|
95
|
+
post:
|
|
96
|
+
(luvio.adapter):
|
|
97
|
+
name: createAgentFlow
|
|
98
|
+
/connect/service-automation/template/deploy/{templateId}:
|
|
99
|
+
post:
|
|
100
|
+
(luvio.adapter):
|
|
101
|
+
name: deployTemplate
|