@salesforce/lds-adapters-service-ecm 1.388.0 → 1.389.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
@@ -1343,6 +1343,19 @@ types:
1343
1343
  type: array
1344
1344
  items:
1345
1345
  type: ServiceProcessTemplateOutputRepresentation
1346
+ ServiceProcessTemplateDownloadOutputRepresentation:
1347
+ description: Output Representation of Service Process Template Download
1348
+ type: object
1349
+ properties:
1350
+ contentDocId:
1351
+ description: Content Document ID for the downloaded file
1352
+ type: string
1353
+ downloadUrl:
1354
+ description: Download URL for the file
1355
+ type: string
1356
+ fileName:
1357
+ description: File name of the downloaded template
1358
+ type: string
1346
1359
  ServiceRequestGetOutputRepresentation:
1347
1360
  description: Service Request Get Output Representation
1348
1361
  type: object
@@ -1607,6 +1620,21 @@ types:
1607
1620
  body:
1608
1621
  application/json:
1609
1622
  type: ServiceProcessTemplatesOutputRepresentation
1623
+ /service-process/download/{productId}:
1624
+ uriParameters:
1625
+ productId:
1626
+ description: Product ID for which template should be downloaded as file
1627
+ type: string
1628
+ required: true
1629
+ get:
1630
+ displayName: downloadServiceProcessTemplate
1631
+ description: API to download service process template as a file based on product id
1632
+ responses:
1633
+ '200':
1634
+ description: Success
1635
+ body:
1636
+ application/json:
1637
+ type: ServiceProcessTemplateDownloadOutputRepresentation
1610
1638
  /gen-ai/actions:
1611
1639
  get:
1612
1640
  displayName: getAgentAction
@@ -42,6 +42,9 @@ types:
42
42
  (luvio.ttl): 500
43
43
  (luvio.key):
44
44
  id: flowDefinitionId
45
+ ServiceProcessTemplateDownloadOutputRepresentation:
46
+ (luvio.ttl): 6000
47
+ (luvio.opaque): true
45
48
  DeploymentOutputRepresentation:
46
49
  (luvio.ttl): 6000
47
50
  (luvio.key):
@@ -95,6 +98,10 @@ types:
95
98
  post:
96
99
  (luvio.adapter):
97
100
  name: createAgentFlow
101
+ /connect/service-automation/service-process/download/{productId}:
102
+ get:
103
+ (luvio.adapter):
104
+ name: downloadServiceProcessTemplate
98
105
  /connect/service-automation/template/deploy/{templateId}:
99
106
  post:
100
107
  (luvio.adapter):