@salesforce/lds-adapters-sales-eci 1.280.0 → 1.282.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
@@ -25,6 +25,40 @@ annotationTypes:
25
25
  type: string
26
26
  allowedTargets: TypeDeclaration
27
27
  types:
28
+ ConversationGenInsightListRepresentation:
29
+ description: List of GenerativeInsightRepresentation records
30
+ type: object
31
+ properties:
32
+ error:
33
+ description: Generative Insight Error
34
+ type: object
35
+ properties:
36
+ //:
37
+ type: string
38
+ generativeInsights:
39
+ description: List of Generative Insight records
40
+ type: array
41
+ items:
42
+ type: ConversationGenerativeInsightRepresentation
43
+ recordId:
44
+ description: ID for the VoiceCall or VideoCall
45
+ type: string
46
+ ConversationGenerativeInsightRepresentation:
47
+ description: Represents a generative insight for a voice/video call
48
+ type: object
49
+ properties:
50
+ generatedText:
51
+ description: Generative insight generated text
52
+ type: string
53
+ insightName:
54
+ description: Insight Type Name
55
+ type: string
56
+ insightTypeId:
57
+ description: Insight Type Id
58
+ type: string
59
+ modifiedBy:
60
+ description: Generative insight created/modified by
61
+ type: string
28
62
  ConversationSummaryListRepresentation:
29
63
  description: Represents a list of GenAIConversationSummary records
30
64
  type: object
@@ -81,6 +115,20 @@ types:
81
115
  //:
82
116
  type: string
83
117
  /conversation:
118
+ /generative/insight/{id}:
119
+ get:
120
+ displayName: getConversationGenerativeInsight
121
+ description: Returns list of GenerativeInsight records
122
+ responses:
123
+ '200':
124
+ description: Success
125
+ body:
126
+ application/json:
127
+ type: ConversationGenInsightListRepresentation
128
+ uriParameters:
129
+ id:
130
+ type: string
131
+ required: true
84
132
  /summary:
85
133
  /ai/generate/{conversationId}:
86
134
  post:
@@ -9,6 +9,12 @@ uses:
9
9
  (luvio.ttl): 2592000000
10
10
 
11
11
  types:
12
+ ConversationGenerativeInsightRepresentation:
13
+ (luvio.ttl): 60000 # 60 seconds
14
+ ConversationGenInsightListRepresentation:
15
+ (luvio.ttl): 60000 # 60 seconds
16
+ (luvio.key):
17
+ id: recordId
12
18
  ConversationSummaryRepresentation:
13
19
  (luvio.ttl): 60000 # 60 seconds
14
20
  (luvio.key):
@@ -21,6 +27,12 @@ types:
21
27
  (luvio.ttl): 2592000000
22
28
 
23
29
  /conversation:
30
+ /generative/insight/{id}:
31
+ get:
32
+ (luvio.adapter):
33
+ name: getConversationGenerativeInsight
34
+ (luvio.key):
35
+ id: urlParams.id
24
36
  /summary:
25
37
  /ai/generate/{conversationId}:
26
38
  post: