@coveo/relay-event-types 7.9.0 → 7.9.2
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/package.json +1 -1
- package/relay-event-types.d.ts +17 -17
package/package.json
CHANGED
package/relay-event-types.d.ts
CHANGED
|
@@ -153,12 +153,12 @@ interface Ticket {
|
|
|
153
153
|
|
|
154
154
|
export namespace CaseAssist {
|
|
155
155
|
/**
|
|
156
|
-
* The
|
|
156
|
+
* The caseAssist.start event is emitted when a user initiates a Case Assist flow.
|
|
157
157
|
*/
|
|
158
158
|
export type Start = Base;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* The
|
|
161
|
+
* The caseAssist.cancel event is emitted when a user cancels the Case Assist flow.
|
|
162
162
|
*/
|
|
163
163
|
export interface Cancel extends Base {
|
|
164
164
|
/**
|
|
@@ -168,21 +168,21 @@ export namespace CaseAssist {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* The
|
|
171
|
+
* The caseAssist.createTicket event is emitted when a user creates support ticket is created with Case Assist.
|
|
172
172
|
*/
|
|
173
173
|
export interface CreateTicket extends Base {
|
|
174
174
|
ticket: Ticket;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
* The
|
|
178
|
+
* The caseAssist.documentSuggestionClick event is emitted when a user clicks on a Case Assist document suggestion.
|
|
179
179
|
*/
|
|
180
180
|
export interface DocumentSuggestionClick extends Base {
|
|
181
181
|
documentSuggestion: DocumentSuggestion;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* The
|
|
185
|
+
* The caseAssist.documentSuggestionFeedback event is emitted when a user gives feedback on a Case Assist document suggestion.
|
|
186
186
|
*/
|
|
187
187
|
export interface DocumentSuggestionFeedback extends Base {
|
|
188
188
|
documentSuggestion: DocumentSuggestion;
|
|
@@ -193,7 +193,7 @@ export namespace CaseAssist {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
* The
|
|
196
|
+
* The caseAssist.selectFieldClassification event is emitted when a user selects a Case Assist field recommendation.
|
|
197
197
|
*/
|
|
198
198
|
export interface SelectFieldClassification extends Base {
|
|
199
199
|
fieldClassification: {
|
|
@@ -213,7 +213,7 @@ export namespace CaseAssist {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
* The
|
|
216
|
+
* The caseAssist.updateField event is emitted when a user edits a Case Assist form field.
|
|
217
217
|
*/
|
|
218
218
|
export interface UpdateField extends Base {
|
|
219
219
|
/**
|
|
@@ -269,7 +269,7 @@ export namespace Ec {
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
|
-
* The ec.purchase event is emitted when
|
|
272
|
+
* The ec.purchase event is emitted when a user completes a purchase.
|
|
273
273
|
*/
|
|
274
274
|
export interface Purchase extends Base {
|
|
275
275
|
currency: CurrencyCodeISO4217;
|
|
@@ -289,7 +289,7 @@ export namespace Ec {
|
|
|
289
289
|
|
|
290
290
|
export namespace InsightPanel {
|
|
291
291
|
/**
|
|
292
|
-
* The context in which
|
|
292
|
+
* The context in which Insight Panel is used. Generally, this will be a support case.
|
|
293
293
|
*/
|
|
294
294
|
interface Context {
|
|
295
295
|
/**
|
|
@@ -303,11 +303,11 @@ export namespace InsightPanel {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
|
-
*
|
|
306
|
+
* The insightPanel.createArticle event is emitted when the agent creates an article from a support case.
|
|
307
307
|
*/
|
|
308
308
|
export interface CreateArticle extends Base {
|
|
309
309
|
/**
|
|
310
|
-
* The context in which
|
|
310
|
+
* The context in which Insight Panel is used.
|
|
311
311
|
*/
|
|
312
312
|
context: Context;
|
|
313
313
|
/**
|
|
@@ -317,28 +317,28 @@ export namespace InsightPanel {
|
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
|
-
*
|
|
320
|
+
* The insightPanel.detachItem event is emitted when the agent detaches an item from a record.
|
|
321
321
|
*/
|
|
322
322
|
export interface DetachItem extends Base {
|
|
323
323
|
/**
|
|
324
|
-
* The context in which
|
|
324
|
+
* The context in which Insight Panel is used.
|
|
325
325
|
*/
|
|
326
326
|
context: Context;
|
|
327
327
|
itemMetadata: ItemMetaData;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
|
-
*
|
|
331
|
+
* The insightPanel.expandToFullUI event is emitted when the agent expands an Insight Panel view to full UI.
|
|
332
332
|
*/
|
|
333
333
|
export interface ExpandToFullUI extends Base {
|
|
334
334
|
/**
|
|
335
|
-
* The context in which
|
|
335
|
+
* The context in which Insight Panel is used.
|
|
336
336
|
*/
|
|
337
337
|
context: Context;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* The insightPanel.itemAction event is emited when the agent interacts with a search item.
|
|
342
342
|
*/
|
|
343
343
|
export interface ItemAction extends BaseItemClick {
|
|
344
344
|
/**
|
|
@@ -346,7 +346,7 @@ export namespace InsightPanel {
|
|
|
346
346
|
*/
|
|
347
347
|
action: "attach" | "open" | "copyToClipboard" | "sendEmail" | "postToFeed";
|
|
348
348
|
/**
|
|
349
|
-
* The context in which
|
|
349
|
+
* The context in which Insight Panel is used.
|
|
350
350
|
*/
|
|
351
351
|
context: Context;
|
|
352
352
|
/**
|