@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.
@@ -287,6 +287,18 @@ export declare const state: {
287
287
  description: string;
288
288
  additionalProperties: false;
289
289
  };
290
+ conversationId: {
291
+ type: "string";
292
+ description: string;
293
+ };
294
+ userId: {
295
+ type: "string";
296
+ description: string;
297
+ };
298
+ messageId: {
299
+ type: "string";
300
+ description: string;
301
+ };
290
302
  };
291
303
  required: string[];
292
304
  title: string;
@@ -355,6 +367,21 @@ export declare const state: {
355
367
  type: "string";
356
368
  description: string;
357
369
  };
370
+ conversationId: {
371
+ in: "query";
372
+ type: "string";
373
+ description: string;
374
+ };
375
+ userId: {
376
+ in: "query";
377
+ type: "string";
378
+ description: string;
379
+ };
380
+ messageId: {
381
+ in: "query";
382
+ type: "string";
383
+ description: string;
384
+ };
358
385
  };
359
386
  response: {
360
387
  description: string;
@@ -5128,6 +5155,9 @@ export declare const state: {
5128
5155
  webhookId: {
5129
5156
  type: "string";
5130
5157
  };
5158
+ identifier: {
5159
+ type: "string";
5160
+ };
5131
5161
  configuration: {
5132
5162
  type: "object";
5133
5163
  additionalProperties: true;
@@ -6048,6 +6078,18 @@ export declare const state: {
6048
6078
  additionalProperties: true;
6049
6079
  description: string;
6050
6080
  };
6081
+ conversationId: {
6082
+ type: "string";
6083
+ description: string;
6084
+ };
6085
+ userId: {
6086
+ type: "string";
6087
+ description: string;
6088
+ };
6089
+ messageId: {
6090
+ type: "string";
6091
+ description: string;
6092
+ };
6051
6093
  };
6052
6094
  required: string[];
6053
6095
  description: string;
package/dist/index.js CHANGED
@@ -426170,6 +426170,18 @@ var state = {
426170
426170
  },
426171
426171
  description: "Schedule the Event to be sent at a specific time. Either dateTime or delay must be provided.",
426172
426172
  additionalProperties: false
426173
+ },
426174
+ conversationId: {
426175
+ type: "string",
426176
+ description: "ID of the [Conversation](#schema_conversation) to link the event to."
426177
+ },
426178
+ userId: {
426179
+ type: "string",
426180
+ description: "ID of the [User](#schema_user) to link the event to."
426181
+ },
426182
+ messageId: {
426183
+ type: "string",
426184
+ description: "ID of the [Message](#schema_message) to link the event to."
426173
426185
  }
426174
426186
  },
426175
426187
  required: ["type", "payload"],
@@ -426238,6 +426250,21 @@ var state = {
426238
426250
  in: "query",
426239
426251
  type: "string",
426240
426252
  description: "Filter by event type"
426253
+ },
426254
+ conversationId: {
426255
+ in: "query",
426256
+ type: "string",
426257
+ description: "Filter by conversation id"
426258
+ },
426259
+ userId: {
426260
+ in: "query",
426261
+ type: "string",
426262
+ description: "Filter by user id"
426263
+ },
426264
+ messageId: {
426265
+ in: "query",
426266
+ type: "string",
426267
+ description: "Filter by message id"
426241
426268
  }
426242
426269
  },
426243
426270
  response: {
@@ -431038,7 +431065,7 @@ var state = {
431038
431065
  title: "Botpress API",
431039
431066
  description: "API for Botpress Cloud",
431040
431067
  server: "https://api.botpress.cloud",
431041
- version: "0.12.3",
431068
+ version: "0.12.5",
431042
431069
  prefix: "v1"
431043
431070
  },
431044
431071
  errors: [
@@ -431325,6 +431352,9 @@ var state = {
431325
431352
  webhookId: {
431326
431353
  type: "string"
431327
431354
  },
431355
+ identifier: {
431356
+ type: "string"
431357
+ },
431328
431358
  configuration: {
431329
431359
  type: "object",
431330
431360
  additionalProperties: true
@@ -432348,6 +432378,18 @@ var state = {
432348
432378
  type: "object",
432349
432379
  additionalProperties: true,
432350
432380
  description: "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."
432381
+ },
432382
+ conversationId: {
432383
+ type: "string",
432384
+ description: "ID of the [Conversation](#schema_conversation) to link the event to."
432385
+ },
432386
+ userId: {
432387
+ type: "string",
432388
+ description: "ID of the [User](#schema_user) to link the event to."
432389
+ },
432390
+ messageId: {
432391
+ type: "string",
432392
+ description: "ID of the [Message](#schema_message) to link the event to."
432351
432393
  }
432352
432394
  },
432353
432395
  required: ["id", "createdAt", "type", "payload"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {