@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/dist/es/es2018/sales-eci.js +376 -78
- package/dist/es/es2018/types/src/generated/adapters/getTranscript.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConversationTranscriptBySfdcCallIdOrRecordingId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/ConversationSummaryListRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ConversationTranscriptRepresentation.d.ts +36 -0
- package/package.json +1 -1
- package/sfdc/index.js +428 -122
- package/src/raml/api.raml +58 -20
- package/src/raml/luvio.raml +16 -9
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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:
|
|
83
|
-
description: Returns
|
|
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:
|
|
123
|
+
type: ConversationTranscriptRepresentation
|
|
124
|
+
queryParameters:
|
|
125
|
+
includeData:
|
|
126
|
+
type: boolean
|
|
127
|
+
required: false
|
|
90
128
|
uriParameters:
|
|
91
|
-
|
|
129
|
+
sfdcCallIdOrRecordingId:
|
|
92
130
|
type: string
|
|
93
131
|
required: true
|
package/src/raml/luvio.raml
CHANGED
|
@@ -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
|
|
22
|
-
/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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:
|
|
30
|
-
(luvio.key):
|
|
31
|
-
id: urlParams.id
|
|
38
|
+
name: getTranscript
|