@salesforce/lds-adapters-service-ecm 1.365.0 → 1.366.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,37 @@ types:
1270
1270
  - Active
1271
1271
  - Draft
1272
1272
  - Inactive
1273
+ ServiceProcessTemplateOutputRepresentation:
1274
+ description: Output Representation of Service Process Template
1275
+ type: object
1276
+ properties:
1277
+ createdDate:
1278
+ description: Template created date
1279
+ type: string
1280
+ description:
1281
+ description: Template description
1282
+ type: string
1283
+ id:
1284
+ description: Template Id
1285
+ type: string
1286
+ imageUrl:
1287
+ description: Template image url
1288
+ type: string
1289
+ name:
1290
+ description: Template name
1291
+ type: string
1292
+ type:
1293
+ description: Template type
1294
+ type: string
1295
+ ServiceProcessTemplatesOutputRepresentation:
1296
+ description: Output Representation of Service Process Templates
1297
+ type: object
1298
+ properties:
1299
+ serviceProcessTemplateOutputRepresentation:
1300
+ description: Service Process Template List
1301
+ type: array
1302
+ items:
1303
+ type: ServiceProcessTemplateOutputRepresentation
1273
1304
  ServiceRequestGetOutputRepresentation:
1274
1305
  description: Service Request Get Output Representation
1275
1306
  type: object
@@ -1415,6 +1446,22 @@ types:
1415
1446
  type: array
1416
1447
  items:
1417
1448
  type: EinsteinAgentActionOutputRepresentation
1449
+ DeploymentOutputRepresentation:
1450
+ description: Template Deployment Output Representation
1451
+ type: object
1452
+ properties:
1453
+ deploymentResult:
1454
+ required: true
1455
+ description: Result of the template deployment
1456
+ type: string
1457
+ templateId:
1458
+ required: true
1459
+ description: Template ID that was deployed
1460
+ type: string
1461
+ status:
1462
+ required: true
1463
+ description: Status of the deployment (SUCCESS or FAILURE)
1464
+ type: string
1418
1465
  /connect/service-automation:
1419
1466
  /catalog:
1420
1467
  /catalog-item:
@@ -1496,6 +1543,17 @@ types:
1496
1543
  application/json:
1497
1544
  type: ServiceAutomationDepReadInputRepresentation
1498
1545
  (oas-body-name): ServiceAutomationDepInput
1546
+ /service-process:
1547
+ /get-all-templates:
1548
+ get:
1549
+ displayName: getServiceProcessGetAllTemplates
1550
+ description: API to retrieve the list of service process templates
1551
+ responses:
1552
+ '200':
1553
+ description: Success
1554
+ body:
1555
+ application/json:
1556
+ type: ServiceProcessTemplatesOutputRepresentation
1499
1557
  /gen-ai/actions:
1500
1558
  get:
1501
1559
  displayName: getAgentAction
@@ -1557,3 +1615,18 @@ types:
1557
1615
  description: serviceRequestId for which Service Request details have to be fetched.
1558
1616
  type: string
1559
1617
  required: true
1618
+ /template/deploy/{templateId}:
1619
+ uriParameters:
1620
+ templateId:
1621
+ description: Template ID to deploy
1622
+ type: string
1623
+ required: true
1624
+ post:
1625
+ displayName: postTemplateDeployment
1626
+ description: API to deploy a template by template ID
1627
+ responses:
1628
+ '200':
1629
+ description: Success
1630
+ body:
1631
+ application/json:
1632
+ type: DeploymentOutputRepresentation
@@ -28,9 +28,16 @@ types:
28
28
  (luvio.ttl): 6000
29
29
  (luvio.key):
30
30
  id: id
31
+ ServiceProcessTemplatesOutputRepresentation:
32
+ (luvio.ttl): 6000
33
+ (luvio.opaque): true
31
34
  EinsteinAgentActionsOutputRepresentation:
32
35
  (luvio.ttl): 6000
33
36
  (luvio.opaque): true
37
+ DeploymentOutputRepresentation:
38
+ (luvio.ttl): 6000
39
+ (luvio.key):
40
+ templateId: templateId
34
41
  /connect/service-automation/query:
35
42
  post:
36
43
  (luvio.method): get
@@ -65,7 +72,15 @@ types:
65
72
  get:
66
73
  (luvio.adapter):
67
74
  name: getServiceRequest
75
+ /connect/service-automation/service-process/get-all-templates:
76
+ get:
77
+ (luvio.adapter):
78
+ name: getAllServiceProcessTemplate
68
79
  /connect/service-automation/gen-ai/actions:
69
80
  get:
70
81
  (luvio.adapter):
71
82
  name: getAgentActions
83
+ /connect/service-automation/template/deploy/{templateId}:
84
+ post:
85
+ (luvio.adapter):
86
+ name: deployTemplate