@salesforce/lds-adapters-sales-eci 1.227.1 → 1.228.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
@@ -29,6 +29,11 @@ types:
29
29
  description: Represents a list of GenAIConversationSummary records
30
30
  type: object
31
31
  properties:
32
+ conversationIds:
33
+ description: List of IDs for the VoiceCall, VideoCall.
34
+ type: array
35
+ items:
36
+ type: string
32
37
  conversationSummaryList:
33
38
  description: List of GenAIConversationSummary records
34
39
  type: array
@@ -62,32 +67,65 @@ types:
62
67
  summary:
63
68
  description: The generated or edited summary of the referenced record
64
69
  type: string | nil
65
- /conversation/summary:
66
- /ai/generate/{conversationId}:
67
- post:
68
- displayName: postConversationSummaryGenerate
69
- description: Generates summary for a VideoCall, VoiceCall recording
70
- responses:
71
- '200':
72
- description: Success
73
- body:
74
- application/json:
75
- type: ConversationSummaryRepresentation
76
- uriParameters:
77
- conversationId:
78
- type: string
79
- required: true
80
- /related/{id}:
70
+ ConversationTranscriptRepresentation:
71
+ description: Represents the transcript structure from SIQ
72
+ type: object
73
+ properties:
74
+ transcriptData:
75
+ description: Transcript Data as JSON
76
+ type: string | nil
77
+ error:
78
+ description: Transcript Error Message
79
+ type: object
80
+ properties:
81
+ //:
82
+ type: string
83
+ /conversation:
84
+ /summary:
85
+ /ai/generate/{conversationId}:
86
+ post:
87
+ displayName: postConversationSummaryGenerate
88
+ description: Generates summary for a VideoCall, VoiceCall recording
89
+ responses:
90
+ '200':
91
+ description: Success
92
+ body:
93
+ application/json:
94
+ type: ConversationSummaryRepresentation
95
+ uriParameters:
96
+ conversationId:
97
+ type: string
98
+ required: true
99
+ /related/{id}:
100
+ get:
101
+ displayName: getConversationSummaryRelatedList
102
+ description: Returns a list of GenAIConversationSummary records
103
+ responses:
104
+ '200':
105
+ description: Success
106
+ body:
107
+ application/json:
108
+ type: ConversationSummaryListRepresentation
109
+ uriParameters:
110
+ id:
111
+ type: string
112
+ required: true
113
+ /transcript/{sfdcCallIdOrRecordingId}:
81
114
  get:
82
- displayName: getConversationSummaryRelatedList
83
- description: Returns a list of GenAIConversationSummary records
115
+ displayName: getConversationTranscript
116
+ description: Returns preseigned URL for the Transcript content (as avro file)
117
+ for a given video call recording id or voice call id.
84
118
  responses:
85
119
  '200':
86
120
  description: Success
87
121
  body:
88
122
  application/json:
89
- type: ConversationSummaryListRepresentation
123
+ type: ConversationTranscriptRepresentation
124
+ queryParameters:
125
+ includeData:
126
+ type: boolean
127
+ required: false
90
128
  uriParameters:
91
- id:
129
+ sfdcCallIdOrRecordingId:
92
130
  type: string
93
131
  required: true
@@ -17,15 +17,22 @@ types:
17
17
  (luvio.ttl): 60000 # 60 seconds
18
18
  (luvio.key):
19
19
  id: id
20
+ ConversationTranscriptRepresentation:
21
+ (luvio.ttl): 2592000000
20
22
 
21
- /conversation/summary:
22
- /ai/generate/{conversationId}:
23
- post:
24
- (luvio.adapter):
25
- name: generateConversationSummary
26
- /related/{id}:
23
+ /conversation:
24
+ /summary:
25
+ /ai/generate/{conversationId}:
26
+ post:
27
+ (luvio.adapter):
28
+ name: generateConversationSummary
29
+ /related/{id}:
30
+ get:
31
+ (luvio.adapter):
32
+ name: getConversationSummaryRelatedList
33
+ (luvio.key):
34
+ id: urlParams.id
35
+ /transcript/{sfdcCallIdOrRecordingId}:
27
36
  get:
28
37
  (luvio.adapter):
29
- name: getConversationSummaryRelatedList
30
- (luvio.key):
31
- id: urlParams.id
38
+ name: getTranscript