@salesforce/lds-adapters-sales-eci 1.302.0 → 1.304.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
@@ -59,6 +59,13 @@ types:
59
59
  modifiedBy:
60
60
  description: Generative insight created/modified by
61
61
  type: string
62
+ ConversationRealtimeEndMeetingPayloadInputRepresentation:
63
+ type: object
64
+ description: Represents a conversations real-time end meeting payload
65
+ properties:
66
+ botId:
67
+ description: real-time meeting bot id
68
+ type: string
62
69
  ConversationRealtimeMeetingInitiationResponseRepresentation:
63
70
  description: Represents details to connect to the real-time insights service on
64
71
  meeting initiation.
@@ -81,12 +88,26 @@ types:
81
88
  description: WebSocket URL to connect to the real-time-processing-service
82
89
  for obtaining insights
83
90
  type: string
84
- ConversationRealtimeMeetingPayloadRepresentation:
91
+ ConversationRealtimeEndMeetingResponseRepresentation:
92
+ description: Represents empty response
93
+ type: object
94
+ properties:
95
+ fakeKey: string # TODO: Handrolled because luvio doesn't support mutation operations that don't return a key
96
+ ConversationRealtimeStartMeetingPayloadRepresentation:
85
97
  type: object
86
98
  properties:
87
99
  meetingUrl:
88
100
  type: string
89
101
  required: true
102
+ vendorName:
103
+ type: string
104
+ required: true
105
+ conversationRealtimeEndMeetingPayloadRepresentation:
106
+ type: object
107
+ properties:
108
+ botId:
109
+ type: string
110
+ required: true
90
111
  ConversationSummaryListRepresentation:
91
112
  description: Represents a list of GenAIConversationSummary records
92
113
  type: object
@@ -171,9 +192,21 @@ types:
171
192
  type: ConversationRealtimeMeetingInitiationResponseRepresentation
172
193
  body:
173
194
  application/json:
174
- type: ConversationRealtimeMeetingPayloadRepresentation
175
- (oas-body-name): conversationRealtimeMeetingPayload
176
-
195
+ type: ConversationRealtimeStartMeetingPayloadRepresentation
196
+ (oas-body-name): conversationRealtimeStartMeetingPayload
197
+ /terminate:
198
+ post:
199
+ description: Initiate the request to end the meeting and to remove the ECI Real-time bot from the meeting.
200
+ responses:
201
+ '200':
202
+ description: Success
203
+ body:
204
+ application/json:
205
+ type: ConversationRealtimeEndMeetingResponseRepresentation
206
+ body:
207
+ application/json:
208
+ type: conversationRealtimeEndMeetingPayloadRepresentation
209
+ (oas-body-name): conversationRealtimeEndMeetingPayload
177
210
  /summary:
178
211
  /ai/generate/{conversationId}:
179
212
  post:
@@ -29,6 +29,10 @@ types:
29
29
  (luvio.ttl): 60000 # 60 seconds
30
30
  (luvio.key):
31
31
  id: botId
32
+ ConversationRealtimeEndMeetingResponseRepresentation:
33
+ (luvio.ttl): 60000 # 60 seconds
34
+ (luvio.key):
35
+ fakeKey: fakeKey
32
36
 
33
37
  /conversation:
34
38
  /generative/insight/{id}:
@@ -42,6 +46,10 @@ types:
42
46
  post:
43
47
  (luvio.adapter):
44
48
  name: initiateMeeting
49
+ /terminate:
50
+ post:
51
+ (luvio.adapter):
52
+ name: terminateMeeting
45
53
  /summary:
46
54
  /ai/generate/{conversationId}:
47
55
  post:
@@ -1,27 +0,0 @@
1
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "c1f5bb4841762b5786a80d3ec87f56de";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: ConversationRealtimeMeetingPayloadRepresentation, existing: ConversationRealtimeMeetingPayloadRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConversationRealtimeMeetingPayloadRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: ConversationRealtimeMeetingPayloadRepresentationNormalized, incoming: ConversationRealtimeMeetingPayloadRepresentationNormalized): boolean;
8
- export declare const ingest: $64$luvio_engine_ResourceIngest;
9
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConversationRealtimeMeetingPayloadRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
- /**
11
- *
12
- *
13
- * Keys:
14
- * (none)
15
- */
16
- export interface ConversationRealtimeMeetingPayloadRepresentationNormalized {
17
- meetingUrl: string;
18
- }
19
- /**
20
- *
21
- *
22
- * Keys:
23
- * (none)
24
- */
25
- export interface ConversationRealtimeMeetingPayloadRepresentation {
26
- meetingUrl: string;
27
- }