@coveo/relay-event-types 7.9.0 → 7.9.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/relay-event-types",
3
- "version": "7.9.0",
3
+ "version": "7.9.1",
4
4
  "description": "Typescript types for Coveo Events, intended to be used with the Relay package.",
5
5
  "types": "./relay-event-types.d.ts",
6
6
  "author": "Coveo",
@@ -153,12 +153,12 @@ interface Ticket {
153
153
 
154
154
  export namespace CaseAssist {
155
155
  /**
156
- * The CaseAssist.Start event is emitted when Coveo Case Assist support ticket creation flow is initiated.
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 CaseAssist.Cancel event is emitted when Coveo Case Assist support ticket creation flow is canceled by the user.
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 CaseAssist.CreateTicket event is emitted when a support ticket is created in Coveo Case Assist.
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 CaseAssist.DocumentSuggestionClick event is emitted when a Coveo Case Assist document suggestion is clicked.
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 CaseAssist.DocumentSuggestionFeedback event is emitted when feedback is given on a Coveo Case Assist document suggestion.
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 CaseAssist.selectFieldClassification event is emitted when a support ticket field recommendation is selected in Coveo Case Assist.
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 CaseAssist.UpdateField event is emitted when an end-user edits a Coveo Case Assist form field.
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 the user completes a purchase.
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 the insight panel is used. Generally, this will be a support case.
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
- * Insight Panel event signaling that the agent created an article from a case.
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 the insight panel is used.
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
- * Insight Panel event signaling that an item was detached from a record
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 the insight panel is used.
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
- * Insight Panel event signaling that the agent expanded the panel.
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 the insight panel is used.
335
+ * The context in which Insight Panel is used.
336
336
  */
337
337
  context: Context;
338
338
  }
339
339
 
340
340
  /**
341
- * Interaction on a search item inside an insight panel.
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 the insight panel is used.
349
+ * The context in which Insight Panel is used.
350
350
  */
351
351
  context: Context;
352
352
  /**