@botpress/api 1.38.0 → 1.40.0

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.
@@ -528,6 +528,12 @@ export const state = {
528
528
  "maxLength": 36,
529
529
  "description": "ID of the [User](#schema_user) to link the event to."
530
530
  },
531
+ "workflowId": {
532
+ "type": "string",
533
+ "minLength": 28,
534
+ "maxLength": 36,
535
+ "description": "ID of the [Workflow](#schema_workflow) to link the event to."
536
+ },
531
537
  "messageId": {
532
538
  "type": "string",
533
539
  "minLength": 28,
@@ -624,6 +630,11 @@ export const state = {
624
630
  "type": "string",
625
631
  "description": "Filter by message id"
626
632
  },
633
+ "workflowId": {
634
+ "in": "query",
635
+ "type": "string",
636
+ "description": "Filter by workflow id"
637
+ },
627
638
  "status": {
628
639
  "in": "query",
629
640
  "type": "string",
@@ -2610,7 +2621,7 @@ export const state = {
2610
2621
  "title": "Botpress API",
2611
2622
  "description": "API for Botpress Cloud",
2612
2623
  "server": "https://api.botpress.cloud",
2613
- "version": "1.38.0",
2624
+ "version": "1.40.0",
2614
2625
  "prefix": "v1"
2615
2626
  },
2616
2627
  "errors": [
@@ -3004,7 +3015,7 @@ export const state = {
3004
3015
  ],
3005
3016
  "additionalProperties": false
3006
3017
  },
3007
- "description": "A mapping of integrations to their configuration"
3018
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
3008
3019
  },
3009
3020
  "plugins": {
3010
3021
  "type": "object",
@@ -6327,7 +6338,7 @@ export const state = {
6327
6338
  "v1",
6328
6339
  "v2"
6329
6340
  ],
6330
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
6341
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
6331
6342
  }
6332
6343
  },
6333
6344
  "required": [
package/src/gen/state.ts CHANGED
@@ -528,6 +528,12 @@ export const state = {
528
528
  "maxLength": 36,
529
529
  "description": "ID of the [User](#schema_user) to link the event to."
530
530
  },
531
+ "workflowId": {
532
+ "type": "string",
533
+ "minLength": 28,
534
+ "maxLength": 36,
535
+ "description": "ID of the [Workflow](#schema_workflow) to link the event to."
536
+ },
531
537
  "messageId": {
532
538
  "type": "string",
533
539
  "minLength": 28,
@@ -624,6 +630,11 @@ export const state = {
624
630
  "type": "string",
625
631
  "description": "Filter by message id"
626
632
  },
633
+ "workflowId": {
634
+ "in": "query",
635
+ "type": "string",
636
+ "description": "Filter by workflow id"
637
+ },
627
638
  "status": {
628
639
  "in": "query",
629
640
  "type": "string",
@@ -16891,7 +16902,7 @@ export const state = {
16891
16902
  "v1",
16892
16903
  "v2"
16893
16904
  ],
16894
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
16905
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
16895
16906
  },
16896
16907
  "uploadUrl": {
16897
16908
  "type": "string",
@@ -17124,7 +17135,7 @@ export const state = {
17124
17135
  "v1",
17125
17136
  "v2"
17126
17137
  ],
17127
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17138
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17128
17139
  }
17129
17140
  },
17130
17141
  "required": [
@@ -17300,7 +17311,7 @@ export const state = {
17300
17311
  "v1",
17301
17312
  "v2"
17302
17313
  ],
17303
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17314
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17304
17315
  }
17305
17316
  },
17306
17317
  "required": [
@@ -17504,7 +17515,7 @@ export const state = {
17504
17515
  "v1",
17505
17516
  "v2"
17506
17517
  ],
17507
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17518
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17508
17519
  }
17509
17520
  },
17510
17521
  "required": [
@@ -17693,7 +17704,7 @@ export const state = {
17693
17704
  "v1",
17694
17705
  "v2"
17695
17706
  ],
17696
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17707
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
17697
17708
  }
17698
17709
  },
17699
17710
  "required": [
@@ -19658,7 +19669,7 @@ export const state = {
19658
19669
  "title": "Botpress API",
19659
19670
  "description": "API for Botpress Cloud",
19660
19671
  "server": "https://api.botpress.cloud",
19661
- "version": "1.38.0",
19672
+ "version": "1.40.0",
19662
19673
  "prefix": "v1"
19663
19674
  },
19664
19675
  "errors": [
@@ -20242,7 +20253,7 @@ export const state = {
20242
20253
  ],
20243
20254
  "additionalProperties": false
20244
20255
  },
20245
- "description": "A mapping of integrations to their configuration"
20256
+ "description": "A mapping of integrations to their configuration. If the `x-multiple-integrations` header is present, this object is keyed by integration aliases. Otherwise, this object is keyed by integration ids."
20246
20257
  },
20247
20258
  "plugins": {
20248
20259
  "type": "object",
@@ -23567,7 +23578,7 @@ export const state = {
23567
23578
  "v1",
23568
23579
  "v2"
23569
23580
  ],
23570
- "description": "Indicates the indexing stack used to index this file. Present only when file was requested to be indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
23581
+ "description": "Indicates the indexing stack used to index this file. Present only when file has been successfully indexed. A value of \"v2\" denotes the latest stack, \"v1\" denotes the legacy stack."
23571
23582
  }
23572
23583
  },
23573
23584
  "required": [