@botpress/api 0.12.3 → 0.12.5

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/gen/state.ts CHANGED
@@ -312,6 +312,21 @@ export const state = {
312
312
  "Schedule the Event to be sent at a specific time. Either dateTime or delay must be provided.",
313
313
  additionalProperties: false,
314
314
  },
315
+ conversationId: {
316
+ type: "string",
317
+ description:
318
+ "ID of the [Conversation](#schema_conversation) to link the event to.",
319
+ },
320
+ userId: {
321
+ type: "string",
322
+ description:
323
+ "ID of the [User](#schema_user) to link the event to.",
324
+ },
325
+ messageId: {
326
+ type: "string",
327
+ description:
328
+ "ID of the [Message](#schema_message) to link the event to.",
329
+ },
315
330
  },
316
331
  required: ["type", "payload"],
317
332
  title: "createEventBody",
@@ -385,6 +400,21 @@ export const state = {
385
400
  type: "string",
386
401
  description: "Filter by event type",
387
402
  },
403
+ conversationId: {
404
+ in: "query",
405
+ type: "string",
406
+ description: "Filter by conversation id",
407
+ },
408
+ userId: {
409
+ in: "query",
410
+ type: "string",
411
+ description: "Filter by user id",
412
+ },
413
+ messageId: {
414
+ in: "query",
415
+ type: "string",
416
+ description: "Filter by message id",
417
+ },
388
418
  },
389
419
  response: {
390
420
  description: "Returns a list of [Event](#schema_event) objects",
@@ -5337,7 +5367,7 @@ export const state = {
5337
5367
  title: "Botpress API",
5338
5368
  description: "API for Botpress Cloud",
5339
5369
  server: "https://api.botpress.cloud",
5340
- version: "0.12.3",
5370
+ version: "0.12.5",
5341
5371
  prefix: "v1",
5342
5372
  },
5343
5373
  errors: [
@@ -5636,6 +5666,9 @@ export const state = {
5636
5666
  webhookId: {
5637
5667
  type: "string",
5638
5668
  },
5669
+ identifier: {
5670
+ type: "string",
5671
+ },
5639
5672
  configuration: {
5640
5673
  type: "object",
5641
5674
  additionalProperties: true,
@@ -6708,6 +6741,20 @@ export const state = {
6708
6741
  description:
6709
6742
  "Payload is the content of the event defined by the integration installed on your bot or one of the default events created by our api.",
6710
6743
  },
6744
+ conversationId: {
6745
+ type: "string",
6746
+ description:
6747
+ "ID of the [Conversation](#schema_conversation) to link the event to.",
6748
+ },
6749
+ userId: {
6750
+ type: "string",
6751
+ description: "ID of the [User](#schema_user) to link the event to.",
6752
+ },
6753
+ messageId: {
6754
+ type: "string",
6755
+ description:
6756
+ "ID of the [Message](#schema_message) to link the event to.",
6757
+ },
6711
6758
  },
6712
6759
  required: ["id", "createdAt", "type", "payload"],
6713
6760
  description: "The event object represents an action or an occurrence.",