@salesforce/lds-adapters-service-ecm 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/src/raml/api.raml CHANGED
@@ -1270,6 +1270,48 @@ 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
1273
1315
  ServiceProcessTemplateOutputRepresentation:
1274
1316
  description: Output Representation of Service Process Template
1275
1317
  type: object
@@ -1331,121 +1373,132 @@ types:
1331
1373
  type: object
1332
1374
  properties:
1333
1375
  dataType:
1334
- required: false
1335
1376
  description: Data type of the attribute
1336
- type: string | nil
1377
+ type: string
1337
1378
  description:
1338
- required: false
1339
1379
  description: Description of the Attribute
1340
- type: string | nil
1380
+ type: string
1341
1381
  developerName:
1342
- required: false
1343
1382
  description: Developer Name of the Atribute
1344
- type: string | nil
1383
+ type: string
1345
1384
  displayable:
1346
1385
  required: false
1347
1386
  description: Is displayable
1348
- type: boolean | nil
1387
+ type: boolean
1349
1388
  excludedFromPlanner:
1350
1389
  required: false
1351
1390
  description: Exclude from Planner
1352
- type: boolean | nil
1391
+ type: boolean
1353
1392
  isPersIdentInfo:
1354
1393
  required: false
1355
1394
  description: Is PII Information
1356
- type: boolean | nil
1395
+ type: boolean
1357
1396
  itemsDataType:
1358
1397
  required: false
1359
1398
  description: Data type of the items in the list
1360
- type: string | nil
1399
+ type: string
1361
1400
  label:
1362
- required: false
1363
1401
  description: Label of the Attribute
1364
- type: string | nil
1402
+ type: string
1365
1403
  mappingType:
1366
- required: false
1367
1404
  description: Mapping Type
1368
- type: string | nil
1405
+ type: string
1369
1406
  maxItems:
1370
1407
  required: false
1371
1408
  description: Max items
1372
- type: integer | nil
1409
+ type: integer
1373
1410
  required:
1374
1411
  required: false
1375
1412
  description: Is Required Attribute
1376
- type: boolean | nil
1413
+ type: boolean
1377
1414
  title:
1378
- required: false
1379
1415
  description: Title of the Attribute
1380
- type: string | nil
1416
+ type: string
1381
1417
  userInput:
1382
1418
  required: false
1383
1419
  description: Is user input
1384
- type: boolean | nil
1420
+ type: boolean
1385
1421
  EinsteinAgentActionOutputRepresentation:
1386
1422
  description: Output representation for an Agent Action
1387
1423
  type: object
1388
1424
  properties:
1389
1425
  attributes:
1390
- required: false
1391
1426
  description: Attributes of the Agent Action
1392
1427
  type: array
1393
1428
  items:
1394
1429
  type: AgentActionAttributeOutputRepresentation
1395
1430
  description:
1396
- required: false
1397
1431
  description: 'Description of the Agent Action '
1398
- type: string | nil
1432
+ type: string
1399
1433
  developerName:
1400
- required: false
1401
1434
  description: 'Developer Name of the Agent Action '
1402
- type: string | nil
1435
+ type: string
1403
1436
  id:
1404
- required: false
1405
1437
  description: 'Identifier of the Agent Action '
1406
- type: string | nil
1438
+ type: string
1407
1439
  includeInProgressIndicator:
1408
1440
  required: false
1409
1441
  description: Include progress indicator message
1410
- type: boolean | nil
1442
+ type: boolean
1411
1443
  invocationTarget:
1412
1444
  required: false
1413
1445
  description: Invocation Target of the Agent Action
1414
- type: string | nil
1446
+ type: string
1415
1447
  invocationTargetId:
1416
1448
  required: false
1417
1449
  description: Invocation Target ID of the Agent Action
1418
- type: string | nil
1450
+ type: string
1419
1451
  invocationTargetType:
1420
- required: false
1421
1452
  description: Invocation Target Type of the Agent Action
1422
- type: string | nil
1453
+ type: string
1423
1454
  label:
1424
- required: false
1425
1455
  description: 'Master Label of the Agent Action '
1426
- type: string | nil
1456
+ type: string
1427
1457
  namespace:
1428
1458
  required: false
1429
1459
  description: Namespace of the Agent Action
1430
- type: string | nil
1460
+ type: string
1431
1461
  progressIndicatorMessage:
1432
1462
  required: false
1433
1463
  description: Progress indicator message
1434
- type: string | nil
1464
+ type: string
1435
1465
  userConfirmationRequired:
1436
1466
  required: false
1437
1467
  description: Is user confirmation required for executing Action
1438
- type: boolean | nil
1468
+ type: boolean
1439
1469
  EinsteinAgentActionsOutputRepresentation:
1440
1470
  description: Output representation for Agent Actions
1441
1471
  type: object
1442
1472
  properties:
1443
1473
  actions:
1444
- required: false
1445
1474
  description: Agent Actions
1446
1475
  type: array
1447
1476
  items:
1448
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
1449
1502
  DeploymentOutputRepresentation:
1450
1503
  description: Template Deployment Output Representation
1451
1504
  type: object
@@ -1571,6 +1624,33 @@ types:
1571
1624
  resourceType:
1572
1625
  type: string
1573
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
1574
1654
  /intake-form:
1575
1655
  /generate-intake-form:
1576
1656
  post:
@@ -32,8 +32,16 @@ types:
32
32
  (luvio.ttl): 6000
33
33
  (luvio.opaque): true
34
34
  EinsteinAgentActionsOutputRepresentation:
35
- (luvio.ttl): 6000
35
+ (luvio.ttl): 600000
36
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
37
45
  DeploymentOutputRepresentation:
38
46
  (luvio.ttl): 6000
39
47
  (luvio.key):
@@ -80,6 +88,13 @@ types:
80
88
  get:
81
89
  (luvio.adapter):
82
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
83
98
  /connect/service-automation/template/deploy/{templateId}:
84
99
  post:
85
100
  (luvio.adapter):