@botpress/api 1.35.2 → 1.37.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.
- package/.turbo/turbo-openapi.log +5 -5
- package/dist/index.js +299 -159
- package/dist/src/gen/admin/state.d.ts +102 -66
- package/dist/src/gen/files/state.d.ts +39 -0
- package/dist/src/gen/state.d.ts +141 -66
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +103 -75
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +46 -4
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -1
- package/src/gen/state.ts +148 -78
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/src/gen/runtime/state.ts
CHANGED
package/src/gen/state.ts
CHANGED
|
@@ -15293,42 +15293,6 @@ export const state = {
|
|
|
15293
15293
|
"description": "Conversation object configuration",
|
|
15294
15294
|
"additionalProperties": false
|
|
15295
15295
|
},
|
|
15296
|
-
"dependencies": {
|
|
15297
|
-
"type": "object",
|
|
15298
|
-
"properties": {
|
|
15299
|
-
"interfaces": {
|
|
15300
|
-
"type": "object",
|
|
15301
|
-
"additionalProperties": {
|
|
15302
|
-
"type": "object",
|
|
15303
|
-
"properties": {
|
|
15304
|
-
"id": {
|
|
15305
|
-
"type": "string"
|
|
15306
|
-
}
|
|
15307
|
-
},
|
|
15308
|
-
"required": [
|
|
15309
|
-
"id"
|
|
15310
|
-
],
|
|
15311
|
-
"additionalProperties": false
|
|
15312
|
-
}
|
|
15313
|
-
},
|
|
15314
|
-
"integrations": {
|
|
15315
|
-
"type": "object",
|
|
15316
|
-
"additionalProperties": {
|
|
15317
|
-
"type": "object",
|
|
15318
|
-
"properties": {
|
|
15319
|
-
"id": {
|
|
15320
|
-
"type": "string"
|
|
15321
|
-
}
|
|
15322
|
-
},
|
|
15323
|
-
"required": [
|
|
15324
|
-
"id"
|
|
15325
|
-
],
|
|
15326
|
-
"additionalProperties": false
|
|
15327
|
-
}
|
|
15328
|
-
}
|
|
15329
|
-
},
|
|
15330
|
-
"additionalProperties": false
|
|
15331
|
-
},
|
|
15332
15296
|
"attributes": {
|
|
15333
15297
|
"type": "object",
|
|
15334
15298
|
"additionalProperties": {
|
|
@@ -15377,6 +15341,56 @@ export const state = {
|
|
|
15377
15341
|
"public": {
|
|
15378
15342
|
"type": "boolean",
|
|
15379
15343
|
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
15344
|
+
},
|
|
15345
|
+
"dependencies": {
|
|
15346
|
+
"type": "object",
|
|
15347
|
+
"properties": {
|
|
15348
|
+
"interfaces": {
|
|
15349
|
+
"type": "object",
|
|
15350
|
+
"additionalProperties": {
|
|
15351
|
+
"type": "object",
|
|
15352
|
+
"properties": {
|
|
15353
|
+
"id": {
|
|
15354
|
+
"type": "string",
|
|
15355
|
+
"description": "Id of the interface. If provided, \"name\" and \"version\" are ignored"
|
|
15356
|
+
},
|
|
15357
|
+
"name": {
|
|
15358
|
+
"type": "string",
|
|
15359
|
+
"description": "Name of the interface"
|
|
15360
|
+
},
|
|
15361
|
+
"version": {
|
|
15362
|
+
"type": "string",
|
|
15363
|
+
"description": "Version of the interface. Accepts semver versions and version ranges"
|
|
15364
|
+
}
|
|
15365
|
+
},
|
|
15366
|
+
"additionalProperties": false
|
|
15367
|
+
},
|
|
15368
|
+
"description": "Mapping of interface aliases to interface references"
|
|
15369
|
+
},
|
|
15370
|
+
"integrations": {
|
|
15371
|
+
"type": "object",
|
|
15372
|
+
"additionalProperties": {
|
|
15373
|
+
"type": "object",
|
|
15374
|
+
"properties": {
|
|
15375
|
+
"id": {
|
|
15376
|
+
"type": "string",
|
|
15377
|
+
"description": "Id of the integration. If provided, \"name\" and \"version\" are ignored"
|
|
15378
|
+
},
|
|
15379
|
+
"name": {
|
|
15380
|
+
"type": "string",
|
|
15381
|
+
"description": "Name of the integration"
|
|
15382
|
+
},
|
|
15383
|
+
"version": {
|
|
15384
|
+
"type": "string",
|
|
15385
|
+
"description": "Version of the integration. Accepts semver versions and version ranges"
|
|
15386
|
+
}
|
|
15387
|
+
},
|
|
15388
|
+
"additionalProperties": false
|
|
15389
|
+
},
|
|
15390
|
+
"description": "Mapping of integration aliases to integration references"
|
|
15391
|
+
}
|
|
15392
|
+
},
|
|
15393
|
+
"additionalProperties": false
|
|
15380
15394
|
}
|
|
15381
15395
|
},
|
|
15382
15396
|
"required": [
|
|
@@ -15753,44 +15767,6 @@ export const state = {
|
|
|
15753
15767
|
],
|
|
15754
15768
|
"additionalProperties": false
|
|
15755
15769
|
},
|
|
15756
|
-
"dependencies": {
|
|
15757
|
-
"type": "object",
|
|
15758
|
-
"properties": {
|
|
15759
|
-
"interfaces": {
|
|
15760
|
-
"type": "object",
|
|
15761
|
-
"additionalProperties": {
|
|
15762
|
-
"type": "object",
|
|
15763
|
-
"properties": {
|
|
15764
|
-
"id": {
|
|
15765
|
-
"type": "string"
|
|
15766
|
-
}
|
|
15767
|
-
},
|
|
15768
|
-
"required": [
|
|
15769
|
-
"id"
|
|
15770
|
-
],
|
|
15771
|
-
"nullable": true,
|
|
15772
|
-
"additionalProperties": false
|
|
15773
|
-
}
|
|
15774
|
-
},
|
|
15775
|
-
"integrations": {
|
|
15776
|
-
"type": "object",
|
|
15777
|
-
"additionalProperties": {
|
|
15778
|
-
"type": "object",
|
|
15779
|
-
"properties": {
|
|
15780
|
-
"id": {
|
|
15781
|
-
"type": "string"
|
|
15782
|
-
}
|
|
15783
|
-
},
|
|
15784
|
-
"required": [
|
|
15785
|
-
"id"
|
|
15786
|
-
],
|
|
15787
|
-
"nullable": true,
|
|
15788
|
-
"additionalProperties": false
|
|
15789
|
-
}
|
|
15790
|
-
}
|
|
15791
|
-
},
|
|
15792
|
-
"additionalProperties": false
|
|
15793
|
-
},
|
|
15794
15770
|
"attributes": {
|
|
15795
15771
|
"type": "object",
|
|
15796
15772
|
"additionalProperties": {
|
|
@@ -15836,6 +15812,58 @@ export const state = {
|
|
|
15836
15812
|
"public": {
|
|
15837
15813
|
"type": "boolean",
|
|
15838
15814
|
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
15815
|
+
},
|
|
15816
|
+
"dependencies": {
|
|
15817
|
+
"type": "object",
|
|
15818
|
+
"properties": {
|
|
15819
|
+
"interfaces": {
|
|
15820
|
+
"type": "object",
|
|
15821
|
+
"additionalProperties": {
|
|
15822
|
+
"type": "object",
|
|
15823
|
+
"properties": {
|
|
15824
|
+
"id": {
|
|
15825
|
+
"type": "string",
|
|
15826
|
+
"description": "Id of the interface. If provided, \"name\" and \"version\" are ignored"
|
|
15827
|
+
},
|
|
15828
|
+
"name": {
|
|
15829
|
+
"type": "string",
|
|
15830
|
+
"description": "Name of the interface"
|
|
15831
|
+
},
|
|
15832
|
+
"version": {
|
|
15833
|
+
"type": "string",
|
|
15834
|
+
"description": "Version of the interface. Accepts semver versions and version ranges"
|
|
15835
|
+
}
|
|
15836
|
+
},
|
|
15837
|
+
"nullable": true,
|
|
15838
|
+
"additionalProperties": false
|
|
15839
|
+
},
|
|
15840
|
+
"description": "Mapping of interface aliases to interface references"
|
|
15841
|
+
},
|
|
15842
|
+
"integrations": {
|
|
15843
|
+
"type": "object",
|
|
15844
|
+
"additionalProperties": {
|
|
15845
|
+
"type": "object",
|
|
15846
|
+
"properties": {
|
|
15847
|
+
"id": {
|
|
15848
|
+
"type": "string",
|
|
15849
|
+
"description": "Id of the integration. If provided, \"name\" and \"version\" are ignored"
|
|
15850
|
+
},
|
|
15851
|
+
"name": {
|
|
15852
|
+
"type": "string",
|
|
15853
|
+
"description": "Name of the integration"
|
|
15854
|
+
},
|
|
15855
|
+
"version": {
|
|
15856
|
+
"type": "string",
|
|
15857
|
+
"description": "Version of the integration. Accepts semver versions and version ranges"
|
|
15858
|
+
}
|
|
15859
|
+
},
|
|
15860
|
+
"nullable": true,
|
|
15861
|
+
"additionalProperties": false
|
|
15862
|
+
},
|
|
15863
|
+
"description": "Mapping of integration aliases to integration references"
|
|
15864
|
+
}
|
|
15865
|
+
},
|
|
15866
|
+
"additionalProperties": false
|
|
15839
15867
|
}
|
|
15840
15868
|
},
|
|
15841
15869
|
"title": "updatePluginBody",
|
|
@@ -18145,6 +18173,12 @@ export const state = {
|
|
|
18145
18173
|
"name": {
|
|
18146
18174
|
"type": "string",
|
|
18147
18175
|
"description": "Name of the knowledge base."
|
|
18176
|
+
},
|
|
18177
|
+
"tags": {
|
|
18178
|
+
"type": "object",
|
|
18179
|
+
"additionalProperties": {
|
|
18180
|
+
"type": "string"
|
|
18181
|
+
}
|
|
18148
18182
|
}
|
|
18149
18183
|
},
|
|
18150
18184
|
"required": [
|
|
@@ -18171,11 +18205,18 @@ export const state = {
|
|
|
18171
18205
|
"name": {
|
|
18172
18206
|
"type": "string",
|
|
18173
18207
|
"description": "Name of the knowledge base."
|
|
18208
|
+
},
|
|
18209
|
+
"tags": {
|
|
18210
|
+
"type": "object",
|
|
18211
|
+
"additionalProperties": {
|
|
18212
|
+
"type": "string"
|
|
18213
|
+
}
|
|
18174
18214
|
}
|
|
18175
18215
|
},
|
|
18176
18216
|
"required": [
|
|
18177
18217
|
"id",
|
|
18178
|
-
"name"
|
|
18218
|
+
"name",
|
|
18219
|
+
"tags"
|
|
18179
18220
|
],
|
|
18180
18221
|
"additionalProperties": false
|
|
18181
18222
|
}
|
|
@@ -18232,6 +18273,15 @@ export const state = {
|
|
|
18232
18273
|
"name": {
|
|
18233
18274
|
"type": "string",
|
|
18234
18275
|
"description": "New name of the knowledge base."
|
|
18276
|
+
},
|
|
18277
|
+
"tags": {
|
|
18278
|
+
"type": "object",
|
|
18279
|
+
"additionalProperties": {
|
|
18280
|
+
"type": "string",
|
|
18281
|
+
"maxLength": 1000,
|
|
18282
|
+
"nullable": true
|
|
18283
|
+
},
|
|
18284
|
+
"description": "The knowledge base tags to update as an object of key-value pairs with `string` (text) values. Omit to keep existing tags intact. Any existing tags not included will be preserved. New tags will be added. To delete a tag, set its value to `null`."
|
|
18235
18285
|
}
|
|
18236
18286
|
},
|
|
18237
18287
|
"required": [
|
|
@@ -18257,11 +18307,18 @@ export const state = {
|
|
|
18257
18307
|
"name": {
|
|
18258
18308
|
"type": "string",
|
|
18259
18309
|
"description": "Name of the knowledge base."
|
|
18310
|
+
},
|
|
18311
|
+
"tags": {
|
|
18312
|
+
"type": "object",
|
|
18313
|
+
"additionalProperties": {
|
|
18314
|
+
"type": "string"
|
|
18315
|
+
}
|
|
18260
18316
|
}
|
|
18261
18317
|
},
|
|
18262
18318
|
"required": [
|
|
18263
18319
|
"id",
|
|
18264
|
-
"name"
|
|
18320
|
+
"name",
|
|
18321
|
+
"tags"
|
|
18265
18322
|
],
|
|
18266
18323
|
"additionalProperties": false
|
|
18267
18324
|
}
|
|
@@ -18285,6 +18342,12 @@ export const state = {
|
|
|
18285
18342
|
"in": "query",
|
|
18286
18343
|
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
18287
18344
|
"type": "string"
|
|
18345
|
+
},
|
|
18346
|
+
"tags": {
|
|
18347
|
+
"in": "query",
|
|
18348
|
+
"description": "Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.",
|
|
18349
|
+
"type": "object",
|
|
18350
|
+
"schema": {}
|
|
18288
18351
|
}
|
|
18289
18352
|
},
|
|
18290
18353
|
"response": {
|
|
@@ -18308,12 +18371,19 @@ export const state = {
|
|
|
18308
18371
|
"createdAt": {
|
|
18309
18372
|
"type": "string",
|
|
18310
18373
|
"description": "Knowledge base creation timestamp in ISO 8601 format"
|
|
18374
|
+
},
|
|
18375
|
+
"tags": {
|
|
18376
|
+
"type": "object",
|
|
18377
|
+
"additionalProperties": {
|
|
18378
|
+
"type": "string"
|
|
18379
|
+
}
|
|
18311
18380
|
}
|
|
18312
18381
|
},
|
|
18313
18382
|
"required": [
|
|
18314
18383
|
"id",
|
|
18315
18384
|
"name",
|
|
18316
|
-
"createdAt"
|
|
18385
|
+
"createdAt",
|
|
18386
|
+
"tags"
|
|
18317
18387
|
]
|
|
18318
18388
|
}
|
|
18319
18389
|
},
|
|
@@ -19548,7 +19618,7 @@ export const state = {
|
|
|
19548
19618
|
"title": "Botpress API",
|
|
19549
19619
|
"description": "API for Botpress Cloud",
|
|
19550
19620
|
"server": "https://api.botpress.cloud",
|
|
19551
|
-
"version": "1.
|
|
19621
|
+
"version": "1.37.0",
|
|
19552
19622
|
"prefix": "v1"
|
|
19553
19623
|
},
|
|
19554
19624
|
"errors": [
|