@coveo/relay-event-types 7.8.1 → 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.8.1",
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",
@@ -125,19 +125,6 @@ interface QnaCitation {
125
125
  id: string;
126
126
  }
127
127
 
128
- /**
129
- * Represents the Coveo Analytics Search Event. Send this schema exclusively when conducting A/B tests against a competitor's search solution.
130
- */
131
- export interface Search extends Base {
132
- /**
133
- * A unique identifier identifying the query made to a search system.
134
- */
135
- searchUid: string;
136
- queryText: string;
137
- numberOfResults?: number;
138
- responseTimeInMs?: number;
139
- }
140
-
141
128
  /**
142
129
  * A support ticket.
143
130
  */
@@ -166,12 +153,12 @@ interface Ticket {
166
153
 
167
154
  export namespace CaseAssist {
168
155
  /**
169
- * 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.
170
157
  */
171
158
  export type Start = Base;
172
159
 
173
160
  /**
174
- * 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.
175
162
  */
176
163
  export interface Cancel extends Base {
177
164
  /**
@@ -181,21 +168,21 @@ export namespace CaseAssist {
181
168
  }
182
169
 
183
170
  /**
184
- * 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.
185
172
  */
186
173
  export interface CreateTicket extends Base {
187
174
  ticket: Ticket;
188
175
  }
189
176
 
190
177
  /**
191
- * 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.
192
179
  */
193
180
  export interface DocumentSuggestionClick extends Base {
194
181
  documentSuggestion: DocumentSuggestion;
195
182
  }
196
183
 
197
184
  /**
198
- * 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.
199
186
  */
200
187
  export interface DocumentSuggestionFeedback extends Base {
201
188
  documentSuggestion: DocumentSuggestion;
@@ -206,7 +193,7 @@ export namespace CaseAssist {
206
193
  }
207
194
 
208
195
  /**
209
- * 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.
210
197
  */
211
198
  export interface SelectFieldClassification extends Base {
212
199
  fieldClassification: {
@@ -226,7 +213,7 @@ export namespace CaseAssist {
226
213
  }
227
214
 
228
215
  /**
229
- * 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.
230
217
  */
231
218
  export interface UpdateField extends Base {
232
219
  /**
@@ -282,7 +269,7 @@ export namespace Ec {
282
269
  }
283
270
 
284
271
  /**
285
- * 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.
286
273
  */
287
274
  export interface Purchase extends Base {
288
275
  currency: CurrencyCodeISO4217;
@@ -302,7 +289,7 @@ export namespace Ec {
302
289
 
303
290
  export namespace InsightPanel {
304
291
  /**
305
- * 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.
306
293
  */
307
294
  interface Context {
308
295
  /**
@@ -316,11 +303,11 @@ export namespace InsightPanel {
316
303
  }
317
304
 
318
305
  /**
319
- * 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.
320
307
  */
321
308
  export interface CreateArticle extends Base {
322
309
  /**
323
- * The context in which the insight panel is used.
310
+ * The context in which Insight Panel is used.
324
311
  */
325
312
  context: Context;
326
313
  /**
@@ -330,28 +317,28 @@ export namespace InsightPanel {
330
317
  }
331
318
 
332
319
  /**
333
- * 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.
334
321
  */
335
322
  export interface DetachItem extends Base {
336
323
  /**
337
- * The context in which the insight panel is used.
324
+ * The context in which Insight Panel is used.
338
325
  */
339
326
  context: Context;
340
327
  itemMetadata: ItemMetaData;
341
328
  }
342
329
 
343
330
  /**
344
- * 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.
345
332
  */
346
333
  export interface ExpandToFullUI extends Base {
347
334
  /**
348
- * The context in which the insight panel is used.
335
+ * The context in which Insight Panel is used.
349
336
  */
350
337
  context: Context;
351
338
  }
352
339
 
353
340
  /**
354
- * Interaction on a search item inside an insight panel.
341
+ * The insightPanel.itemAction event is emited when the agent interacts with a search item.
355
342
  */
356
343
  export interface ItemAction extends BaseItemClick {
357
344
  /**
@@ -359,7 +346,7 @@ export namespace InsightPanel {
359
346
  */
360
347
  action: "attach" | "open" | "copyToClipboard" | "sendEmail" | "postToFeed";
361
348
  /**
362
- * The context in which the insight panel is used.
349
+ * The context in which Insight Panel is used.
363
350
  */
364
351
  context: Context;
365
352
  /**