@botpress/api 0.31.0 → 0.32.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/dist/index.js +699 -41
- package/dist/src/gen/state.d.ts +671 -92
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +700 -42
package/dist/index.js
CHANGED
|
@@ -269286,6 +269286,24 @@ var state = {
|
|
|
269286
269286
|
"in": "query",
|
|
269287
269287
|
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
269288
269288
|
"type": "string"
|
|
269289
|
+
},
|
|
269290
|
+
"sortField": {
|
|
269291
|
+
"in": "query",
|
|
269292
|
+
"description": "Sort results by this field",
|
|
269293
|
+
"type": "string",
|
|
269294
|
+
"enum": [
|
|
269295
|
+
"createdAt",
|
|
269296
|
+
"updatedAt"
|
|
269297
|
+
]
|
|
269298
|
+
},
|
|
269299
|
+
"sortDirection": {
|
|
269300
|
+
"in": "query",
|
|
269301
|
+
"description": "Sort results in this direction",
|
|
269302
|
+
"type": "string",
|
|
269303
|
+
"enum": [
|
|
269304
|
+
"asc",
|
|
269305
|
+
"desc"
|
|
269306
|
+
]
|
|
269289
269307
|
}
|
|
269290
269308
|
},
|
|
269291
269309
|
"section": "bot",
|
|
@@ -273151,72 +273169,540 @@ var state = {
|
|
|
273151
273169
|
"message"
|
|
273152
273170
|
]
|
|
273153
273171
|
}
|
|
273154
|
-
},
|
|
273155
|
-
"nextToken": {
|
|
273156
|
-
"type": "string"
|
|
273172
|
+
},
|
|
273173
|
+
"nextToken": {
|
|
273174
|
+
"type": "string"
|
|
273175
|
+
}
|
|
273176
|
+
},
|
|
273177
|
+
"required": [
|
|
273178
|
+
"logs"
|
|
273179
|
+
],
|
|
273180
|
+
"title": "getIntegrationLogsResponse",
|
|
273181
|
+
"additionalProperties": false
|
|
273182
|
+
}
|
|
273183
|
+
}
|
|
273184
|
+
},
|
|
273185
|
+
"getIntegrationByName": {
|
|
273186
|
+
"name": "getIntegrationByName",
|
|
273187
|
+
"description": "Get integration",
|
|
273188
|
+
"method": "get",
|
|
273189
|
+
"section": "integration",
|
|
273190
|
+
"path": "/v1/admin/integrations/{name}/{version}",
|
|
273191
|
+
"parameters": {
|
|
273192
|
+
"name": {
|
|
273193
|
+
"type": "string",
|
|
273194
|
+
"description": "Integration Name",
|
|
273195
|
+
"in": "path"
|
|
273196
|
+
},
|
|
273197
|
+
"version": {
|
|
273198
|
+
"type": "string",
|
|
273199
|
+
"description": 'Integration version. Either a semver version or tag "latest"',
|
|
273200
|
+
"in": "path"
|
|
273201
|
+
}
|
|
273202
|
+
},
|
|
273203
|
+
"response": {
|
|
273204
|
+
"description": "Success",
|
|
273205
|
+
"schema": {
|
|
273206
|
+
"type": "object",
|
|
273207
|
+
"properties": {
|
|
273208
|
+
"integration": {
|
|
273209
|
+
"$ref": "#/components/schemas/Integration"
|
|
273210
|
+
}
|
|
273211
|
+
},
|
|
273212
|
+
"required": [
|
|
273213
|
+
"integration"
|
|
273214
|
+
],
|
|
273215
|
+
"title": "getIntegrationByNameResponse",
|
|
273216
|
+
"additionalProperties": false
|
|
273217
|
+
}
|
|
273218
|
+
}
|
|
273219
|
+
},
|
|
273220
|
+
"deleteIntegration": {
|
|
273221
|
+
"name": "deleteIntegration",
|
|
273222
|
+
"description": "Delete integration",
|
|
273223
|
+
"method": "delete",
|
|
273224
|
+
"section": "integration",
|
|
273225
|
+
"path": "/v1/admin/integrations/{id}",
|
|
273226
|
+
"parameters": {
|
|
273227
|
+
"id": {
|
|
273228
|
+
"type": "string",
|
|
273229
|
+
"description": "Integration ID",
|
|
273230
|
+
"in": "path"
|
|
273231
|
+
}
|
|
273232
|
+
},
|
|
273233
|
+
"response": {
|
|
273234
|
+
"description": "Success",
|
|
273235
|
+
"schema": {
|
|
273236
|
+
"type": "object",
|
|
273237
|
+
"title": "deleteIntegrationResponse",
|
|
273238
|
+
"additionalProperties": false
|
|
273239
|
+
}
|
|
273240
|
+
}
|
|
273241
|
+
},
|
|
273242
|
+
"createInterface": {
|
|
273243
|
+
"name": "createInterface",
|
|
273244
|
+
"description": "Create Interface",
|
|
273245
|
+
"method": "post",
|
|
273246
|
+
"path": "/v1/admin/interfaces",
|
|
273247
|
+
"parameters": {},
|
|
273248
|
+
"requestBody": {
|
|
273249
|
+
"description": "Interface to create",
|
|
273250
|
+
"schema": {
|
|
273251
|
+
"type": "object",
|
|
273252
|
+
"properties": {
|
|
273253
|
+
"name": {
|
|
273254
|
+
"type": "string",
|
|
273255
|
+
"maxLength": 200,
|
|
273256
|
+
"description": "Name of the [Interface](#schema_interface)"
|
|
273257
|
+
},
|
|
273258
|
+
"version": {
|
|
273259
|
+
"type": "string",
|
|
273260
|
+
"maxLength": 200,
|
|
273261
|
+
"description": "Version of the [Interface](#schema_interface)"
|
|
273262
|
+
},
|
|
273263
|
+
"events": {
|
|
273264
|
+
"type": "object",
|
|
273265
|
+
"additionalProperties": {
|
|
273266
|
+
"type": "object",
|
|
273267
|
+
"properties": {
|
|
273268
|
+
"title": {
|
|
273269
|
+
"type": "string",
|
|
273270
|
+
"maxLength": 64,
|
|
273271
|
+
"description": "Title of the event"
|
|
273272
|
+
},
|
|
273273
|
+
"description": {
|
|
273274
|
+
"type": "string",
|
|
273275
|
+
"maxLength": 256,
|
|
273276
|
+
"description": "Description of the event"
|
|
273277
|
+
},
|
|
273278
|
+
"schema": {
|
|
273279
|
+
"type": "object",
|
|
273280
|
+
"additionalProperties": true
|
|
273281
|
+
}
|
|
273282
|
+
},
|
|
273283
|
+
"required": [
|
|
273284
|
+
"schema"
|
|
273285
|
+
],
|
|
273286
|
+
"description": "Event Definition",
|
|
273287
|
+
"additionalProperties": false
|
|
273288
|
+
}
|
|
273289
|
+
},
|
|
273290
|
+
"actions": {
|
|
273291
|
+
"type": "object",
|
|
273292
|
+
"additionalProperties": {
|
|
273293
|
+
"type": "object",
|
|
273294
|
+
"properties": {
|
|
273295
|
+
"title": {
|
|
273296
|
+
"type": "string",
|
|
273297
|
+
"maxLength": 64,
|
|
273298
|
+
"description": "Title of the action"
|
|
273299
|
+
},
|
|
273300
|
+
"description": {
|
|
273301
|
+
"type": "string",
|
|
273302
|
+
"maxLength": 256,
|
|
273303
|
+
"description": "Description of the action"
|
|
273304
|
+
},
|
|
273305
|
+
"input": {
|
|
273306
|
+
"type": "object",
|
|
273307
|
+
"properties": {
|
|
273308
|
+
"schema": {
|
|
273309
|
+
"type": "object",
|
|
273310
|
+
"additionalProperties": true
|
|
273311
|
+
}
|
|
273312
|
+
},
|
|
273313
|
+
"required": [
|
|
273314
|
+
"schema"
|
|
273315
|
+
],
|
|
273316
|
+
"additionalProperties": false
|
|
273317
|
+
},
|
|
273318
|
+
"output": {
|
|
273319
|
+
"type": "object",
|
|
273320
|
+
"properties": {
|
|
273321
|
+
"schema": {
|
|
273322
|
+
"type": "object",
|
|
273323
|
+
"additionalProperties": true
|
|
273324
|
+
}
|
|
273325
|
+
},
|
|
273326
|
+
"required": [
|
|
273327
|
+
"schema"
|
|
273328
|
+
],
|
|
273329
|
+
"additionalProperties": false
|
|
273330
|
+
}
|
|
273331
|
+
},
|
|
273332
|
+
"required": [
|
|
273333
|
+
"input",
|
|
273334
|
+
"output"
|
|
273335
|
+
],
|
|
273336
|
+
"description": "Action definition",
|
|
273337
|
+
"additionalProperties": false
|
|
273338
|
+
}
|
|
273339
|
+
},
|
|
273340
|
+
"entities": {
|
|
273341
|
+
"type": "object",
|
|
273342
|
+
"additionalProperties": {
|
|
273343
|
+
"type": "object",
|
|
273344
|
+
"properties": {
|
|
273345
|
+
"title": {
|
|
273346
|
+
"type": "string",
|
|
273347
|
+
"maxLength": 64,
|
|
273348
|
+
"description": "Title of the entity"
|
|
273349
|
+
},
|
|
273350
|
+
"description": {
|
|
273351
|
+
"type": "string",
|
|
273352
|
+
"maxLength": 256,
|
|
273353
|
+
"description": "Description of the entity"
|
|
273354
|
+
},
|
|
273355
|
+
"schema": {
|
|
273356
|
+
"type": "object",
|
|
273357
|
+
"additionalProperties": true
|
|
273358
|
+
}
|
|
273359
|
+
},
|
|
273360
|
+
"required": [
|
|
273361
|
+
"schema"
|
|
273362
|
+
],
|
|
273363
|
+
"description": "Entity definition",
|
|
273364
|
+
"additionalProperties": false
|
|
273365
|
+
}
|
|
273366
|
+
}
|
|
273367
|
+
},
|
|
273368
|
+
"required": [
|
|
273369
|
+
"name",
|
|
273370
|
+
"version",
|
|
273371
|
+
"events",
|
|
273372
|
+
"actions",
|
|
273373
|
+
"entities"
|
|
273374
|
+
],
|
|
273375
|
+
"title": "createInterfaceBody",
|
|
273376
|
+
"additionalProperties": false
|
|
273377
|
+
}
|
|
273378
|
+
},
|
|
273379
|
+
"section": "interface",
|
|
273380
|
+
"response": {
|
|
273381
|
+
"description": "Get an interface",
|
|
273382
|
+
"schema": {
|
|
273383
|
+
"type": "object",
|
|
273384
|
+
"properties": {
|
|
273385
|
+
"interface": {
|
|
273386
|
+
"$ref": "#/components/schemas/Interface"
|
|
273387
|
+
}
|
|
273388
|
+
},
|
|
273389
|
+
"required": [
|
|
273390
|
+
"interface"
|
|
273391
|
+
],
|
|
273392
|
+
"title": "createInterfaceResponse",
|
|
273393
|
+
"additionalProperties": false
|
|
273394
|
+
}
|
|
273395
|
+
}
|
|
273396
|
+
},
|
|
273397
|
+
"getInterface": {
|
|
273398
|
+
"name": "getInterface",
|
|
273399
|
+
"description": "Get Interface",
|
|
273400
|
+
"method": "get",
|
|
273401
|
+
"path": "/v1/admin/interfaces/{id}",
|
|
273402
|
+
"parameters": {
|
|
273403
|
+
"id": {
|
|
273404
|
+
"in": "path",
|
|
273405
|
+
"type": "string",
|
|
273406
|
+
"description": "Interface id"
|
|
273407
|
+
}
|
|
273408
|
+
},
|
|
273409
|
+
"section": "interface",
|
|
273410
|
+
"response": {
|
|
273411
|
+
"description": "Get an interface",
|
|
273412
|
+
"schema": {
|
|
273413
|
+
"type": "object",
|
|
273414
|
+
"properties": {
|
|
273415
|
+
"interface": {
|
|
273416
|
+
"$ref": "#/components/schemas/Interface"
|
|
273417
|
+
}
|
|
273418
|
+
},
|
|
273419
|
+
"required": [
|
|
273420
|
+
"interface"
|
|
273421
|
+
],
|
|
273422
|
+
"title": "getInterfaceResponse",
|
|
273423
|
+
"additionalProperties": false
|
|
273424
|
+
}
|
|
273425
|
+
}
|
|
273426
|
+
},
|
|
273427
|
+
"getInterfaceByName": {
|
|
273428
|
+
"name": "getInterfaceByName",
|
|
273429
|
+
"description": "Get Interface by name and version",
|
|
273430
|
+
"method": "get",
|
|
273431
|
+
"path": "/v1/admin/interfaces/{name}/{version}",
|
|
273432
|
+
"parameters": {
|
|
273433
|
+
"name": {
|
|
273434
|
+
"in": "path",
|
|
273435
|
+
"type": "string",
|
|
273436
|
+
"description": "Interface name"
|
|
273437
|
+
},
|
|
273438
|
+
"version": {
|
|
273439
|
+
"in": "path",
|
|
273440
|
+
"type": "string",
|
|
273441
|
+
"description": "Interface version"
|
|
273442
|
+
}
|
|
273443
|
+
},
|
|
273444
|
+
"section": "interface",
|
|
273445
|
+
"response": {
|
|
273446
|
+
"description": "Get an interface",
|
|
273447
|
+
"schema": {
|
|
273448
|
+
"type": "object",
|
|
273449
|
+
"properties": {
|
|
273450
|
+
"interface": {
|
|
273451
|
+
"$ref": "#/components/schemas/Interface"
|
|
273452
|
+
}
|
|
273453
|
+
},
|
|
273454
|
+
"required": [
|
|
273455
|
+
"interface"
|
|
273456
|
+
],
|
|
273457
|
+
"title": "getInterfaceByNameResponse",
|
|
273458
|
+
"additionalProperties": false
|
|
273459
|
+
}
|
|
273460
|
+
}
|
|
273461
|
+
},
|
|
273462
|
+
"updateInterface": {
|
|
273463
|
+
"name": "updateInterface",
|
|
273464
|
+
"description": "Update Interface",
|
|
273465
|
+
"method": "put",
|
|
273466
|
+
"path": "/v1/admin/interfaces/{id}",
|
|
273467
|
+
"parameters": {
|
|
273468
|
+
"id": {
|
|
273469
|
+
"in": "path",
|
|
273470
|
+
"type": "string",
|
|
273471
|
+
"description": "Interface id"
|
|
273472
|
+
}
|
|
273473
|
+
},
|
|
273474
|
+
"requestBody": {
|
|
273475
|
+
"description": "Interface to update",
|
|
273476
|
+
"schema": {
|
|
273477
|
+
"type": "object",
|
|
273478
|
+
"properties": {
|
|
273479
|
+
"events": {
|
|
273480
|
+
"type": "object",
|
|
273481
|
+
"additionalProperties": {
|
|
273482
|
+
"type": "object",
|
|
273483
|
+
"properties": {
|
|
273484
|
+
"title": {
|
|
273485
|
+
"type": "string",
|
|
273486
|
+
"maxLength": 64,
|
|
273487
|
+
"description": "Title of the event"
|
|
273488
|
+
},
|
|
273489
|
+
"description": {
|
|
273490
|
+
"type": "string",
|
|
273491
|
+
"maxLength": 256,
|
|
273492
|
+
"description": "Description of the event"
|
|
273493
|
+
},
|
|
273494
|
+
"schema": {
|
|
273495
|
+
"type": "object",
|
|
273496
|
+
"additionalProperties": true
|
|
273497
|
+
}
|
|
273498
|
+
},
|
|
273499
|
+
"required": [
|
|
273500
|
+
"schema"
|
|
273501
|
+
],
|
|
273502
|
+
"description": "Event Definition",
|
|
273503
|
+
"nullable": true,
|
|
273504
|
+
"additionalProperties": false
|
|
273505
|
+
}
|
|
273506
|
+
},
|
|
273507
|
+
"actions": {
|
|
273508
|
+
"type": "object",
|
|
273509
|
+
"additionalProperties": {
|
|
273510
|
+
"type": "object",
|
|
273511
|
+
"properties": {
|
|
273512
|
+
"title": {
|
|
273513
|
+
"type": "string",
|
|
273514
|
+
"maxLength": 64,
|
|
273515
|
+
"description": "Title of the action"
|
|
273516
|
+
},
|
|
273517
|
+
"description": {
|
|
273518
|
+
"type": "string",
|
|
273519
|
+
"maxLength": 256,
|
|
273520
|
+
"description": "Description of the action"
|
|
273521
|
+
},
|
|
273522
|
+
"input": {
|
|
273523
|
+
"type": "object",
|
|
273524
|
+
"properties": {
|
|
273525
|
+
"schema": {
|
|
273526
|
+
"type": "object",
|
|
273527
|
+
"additionalProperties": true
|
|
273528
|
+
}
|
|
273529
|
+
},
|
|
273530
|
+
"required": [
|
|
273531
|
+
"schema"
|
|
273532
|
+
],
|
|
273533
|
+
"additionalProperties": false
|
|
273534
|
+
},
|
|
273535
|
+
"output": {
|
|
273536
|
+
"type": "object",
|
|
273537
|
+
"properties": {
|
|
273538
|
+
"schema": {
|
|
273539
|
+
"type": "object",
|
|
273540
|
+
"additionalProperties": true
|
|
273541
|
+
}
|
|
273542
|
+
},
|
|
273543
|
+
"required": [
|
|
273544
|
+
"schema"
|
|
273545
|
+
],
|
|
273546
|
+
"additionalProperties": false
|
|
273547
|
+
}
|
|
273548
|
+
},
|
|
273549
|
+
"required": [
|
|
273550
|
+
"input",
|
|
273551
|
+
"output"
|
|
273552
|
+
],
|
|
273553
|
+
"description": "Action definition",
|
|
273554
|
+
"nullable": true,
|
|
273555
|
+
"additionalProperties": false
|
|
273556
|
+
}
|
|
273557
|
+
},
|
|
273558
|
+
"entities": {
|
|
273559
|
+
"type": "object",
|
|
273560
|
+
"additionalProperties": {
|
|
273561
|
+
"type": "object",
|
|
273562
|
+
"properties": {
|
|
273563
|
+
"title": {
|
|
273564
|
+
"type": "string",
|
|
273565
|
+
"maxLength": 64,
|
|
273566
|
+
"description": "Title of the entity"
|
|
273567
|
+
},
|
|
273568
|
+
"description": {
|
|
273569
|
+
"type": "string",
|
|
273570
|
+
"maxLength": 256,
|
|
273571
|
+
"description": "Description of the entity"
|
|
273572
|
+
},
|
|
273573
|
+
"schema": {
|
|
273574
|
+
"type": "object",
|
|
273575
|
+
"additionalProperties": true
|
|
273576
|
+
}
|
|
273577
|
+
},
|
|
273578
|
+
"required": [
|
|
273579
|
+
"schema"
|
|
273580
|
+
],
|
|
273581
|
+
"description": "Entity definition",
|
|
273582
|
+
"nullable": true,
|
|
273583
|
+
"additionalProperties": false
|
|
273584
|
+
}
|
|
273157
273585
|
}
|
|
273158
273586
|
},
|
|
273159
|
-
"
|
|
273160
|
-
"logs"
|
|
273161
|
-
],
|
|
273162
|
-
"title": "getIntegrationLogsResponse",
|
|
273587
|
+
"title": "updateInterfaceBody",
|
|
273163
273588
|
"additionalProperties": false
|
|
273164
273589
|
}
|
|
273165
|
-
}
|
|
273166
|
-
},
|
|
273167
|
-
"getIntegrationByName": {
|
|
273168
|
-
"name": "getIntegrationByName",
|
|
273169
|
-
"description": "Get integration",
|
|
273170
|
-
"method": "get",
|
|
273171
|
-
"section": "integration",
|
|
273172
|
-
"path": "/v1/admin/integrations/{name}/{version}",
|
|
273173
|
-
"parameters": {
|
|
273174
|
-
"name": {
|
|
273175
|
-
"type": "string",
|
|
273176
|
-
"description": "Integration Name",
|
|
273177
|
-
"in": "path"
|
|
273178
|
-
},
|
|
273179
|
-
"version": {
|
|
273180
|
-
"type": "string",
|
|
273181
|
-
"description": 'Integration version. Either a semver version or tag "latest"',
|
|
273182
|
-
"in": "path"
|
|
273183
|
-
}
|
|
273184
273590
|
},
|
|
273591
|
+
"section": "interface",
|
|
273185
273592
|
"response": {
|
|
273186
|
-
"description": "
|
|
273593
|
+
"description": "Update an interface",
|
|
273187
273594
|
"schema": {
|
|
273188
273595
|
"type": "object",
|
|
273189
273596
|
"properties": {
|
|
273190
|
-
"
|
|
273191
|
-
"$ref": "#/components/schemas/
|
|
273597
|
+
"interface": {
|
|
273598
|
+
"$ref": "#/components/schemas/Interface"
|
|
273192
273599
|
}
|
|
273193
273600
|
},
|
|
273194
273601
|
"required": [
|
|
273195
|
-
"
|
|
273602
|
+
"interface"
|
|
273196
273603
|
],
|
|
273197
|
-
"title": "
|
|
273604
|
+
"title": "updateInterfaceResponse",
|
|
273198
273605
|
"additionalProperties": false
|
|
273199
273606
|
}
|
|
273200
273607
|
}
|
|
273201
273608
|
},
|
|
273202
|
-
"
|
|
273203
|
-
"name": "
|
|
273204
|
-
"description": "Delete
|
|
273609
|
+
"deleteInterface": {
|
|
273610
|
+
"name": "deleteInterface",
|
|
273611
|
+
"description": "Delete Interface",
|
|
273205
273612
|
"method": "delete",
|
|
273206
|
-
"
|
|
273207
|
-
"path": "/v1/admin/integrations/{id}",
|
|
273613
|
+
"path": "/v1/admin/interfaces/{id}",
|
|
273208
273614
|
"parameters": {
|
|
273209
273615
|
"id": {
|
|
273616
|
+
"in": "path",
|
|
273210
273617
|
"type": "string",
|
|
273211
|
-
"description": "
|
|
273212
|
-
"in": "path"
|
|
273618
|
+
"description": "Interface id"
|
|
273213
273619
|
}
|
|
273214
273620
|
},
|
|
273621
|
+
"section": "interface",
|
|
273215
273622
|
"response": {
|
|
273216
|
-
"description": "
|
|
273623
|
+
"description": "Delete an interface",
|
|
273217
273624
|
"schema": {
|
|
273218
273625
|
"type": "object",
|
|
273219
|
-
"title": "
|
|
273626
|
+
"title": "deleteInterfaceResponse",
|
|
273627
|
+
"additionalProperties": false
|
|
273628
|
+
}
|
|
273629
|
+
}
|
|
273630
|
+
},
|
|
273631
|
+
"listInterfaces": {
|
|
273632
|
+
"name": "listInterfaces",
|
|
273633
|
+
"description": "List Interfaces",
|
|
273634
|
+
"method": "get",
|
|
273635
|
+
"path": "/v1/admin/interfaces",
|
|
273636
|
+
"section": "interface",
|
|
273637
|
+
"parameters": {
|
|
273638
|
+
"nextToken": {
|
|
273639
|
+
"in": "query",
|
|
273640
|
+
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
273641
|
+
"type": "string"
|
|
273642
|
+
}
|
|
273643
|
+
},
|
|
273644
|
+
"response": {
|
|
273645
|
+
"description": "List interfaces",
|
|
273646
|
+
"schema": {
|
|
273647
|
+
"type": "object",
|
|
273648
|
+
"properties": {
|
|
273649
|
+
"interfaces": {
|
|
273650
|
+
"type": "array",
|
|
273651
|
+
"items": {
|
|
273652
|
+
"type": "object",
|
|
273653
|
+
"properties": {
|
|
273654
|
+
"id": {
|
|
273655
|
+
"type": "string",
|
|
273656
|
+
"minLength": 28,
|
|
273657
|
+
"maxLength": 36,
|
|
273658
|
+
"description": "ID of the [Interface](#schema_interface)"
|
|
273659
|
+
},
|
|
273660
|
+
"createdAt": {
|
|
273661
|
+
"type": "string",
|
|
273662
|
+
"format": "date-time",
|
|
273663
|
+
"description": "Creation date of the [Interface](#schema_interface) in ISO 8601 format"
|
|
273664
|
+
},
|
|
273665
|
+
"updatedAt": {
|
|
273666
|
+
"type": "string",
|
|
273667
|
+
"format": "date-time",
|
|
273668
|
+
"description": "Updating date of the [Interface](#schema_interface) in ISO 8601 format"
|
|
273669
|
+
},
|
|
273670
|
+
"name": {
|
|
273671
|
+
"type": "string",
|
|
273672
|
+
"maxLength": 200,
|
|
273673
|
+
"description": "Name of the [Interface](#schema_interface)"
|
|
273674
|
+
},
|
|
273675
|
+
"version": {
|
|
273676
|
+
"type": "string",
|
|
273677
|
+
"maxLength": 200,
|
|
273678
|
+
"description": "Version of the [Interface](#schema_interface)"
|
|
273679
|
+
}
|
|
273680
|
+
},
|
|
273681
|
+
"required": [
|
|
273682
|
+
"id",
|
|
273683
|
+
"createdAt",
|
|
273684
|
+
"updatedAt",
|
|
273685
|
+
"name",
|
|
273686
|
+
"version"
|
|
273687
|
+
]
|
|
273688
|
+
}
|
|
273689
|
+
},
|
|
273690
|
+
"meta": {
|
|
273691
|
+
"type": "object",
|
|
273692
|
+
"properties": {
|
|
273693
|
+
"nextToken": {
|
|
273694
|
+
"type": "string",
|
|
273695
|
+
"description": "The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint."
|
|
273696
|
+
}
|
|
273697
|
+
},
|
|
273698
|
+
"additionalProperties": false
|
|
273699
|
+
}
|
|
273700
|
+
},
|
|
273701
|
+
"required": [
|
|
273702
|
+
"interfaces",
|
|
273703
|
+
"meta"
|
|
273704
|
+
],
|
|
273705
|
+
"title": "listInterfacesResponse",
|
|
273220
273706
|
"additionalProperties": false
|
|
273221
273707
|
}
|
|
273222
273708
|
}
|
|
@@ -275123,7 +275609,7 @@ var state = {
|
|
|
275123
275609
|
"title": "Botpress API",
|
|
275124
275610
|
"description": "API for Botpress Cloud",
|
|
275125
275611
|
"server": "https://api.botpress.cloud",
|
|
275126
|
-
"version": "0.
|
|
275612
|
+
"version": "0.32.1",
|
|
275127
275613
|
"prefix": "v1"
|
|
275128
275614
|
},
|
|
275129
275615
|
"errors": [
|
|
@@ -275287,6 +275773,8 @@ var state = {
|
|
|
275287
275773
|
"createIntegrationApiKeyBody": true,
|
|
275288
275774
|
"createIntegrationBody": true,
|
|
275289
275775
|
"updateIntegrationBody": true,
|
|
275776
|
+
"createInterfaceBody": true,
|
|
275777
|
+
"updateInterfaceBody": true,
|
|
275290
275778
|
"changeAISpendQuotaBody": true,
|
|
275291
275779
|
"introspectBody": true,
|
|
275292
275780
|
"upsertFileBody": true,
|
|
@@ -275397,6 +275885,12 @@ var state = {
|
|
|
275397
275885
|
"getIntegrationLogsResponse": true,
|
|
275398
275886
|
"getIntegrationByNameResponse": true,
|
|
275399
275887
|
"deleteIntegrationResponse": true,
|
|
275888
|
+
"createInterfaceResponse": true,
|
|
275889
|
+
"getInterfaceResponse": true,
|
|
275890
|
+
"getInterfaceByNameResponse": true,
|
|
275891
|
+
"updateInterfaceResponse": true,
|
|
275892
|
+
"deleteInterfaceResponse": true,
|
|
275893
|
+
"listInterfacesResponse": true,
|
|
275400
275894
|
"getUsageResponse": true,
|
|
275401
275895
|
"getMultipleUsagesResponse": true,
|
|
275402
275896
|
"listUsageHistoryResponse": true,
|
|
@@ -275427,6 +275921,7 @@ var state = {
|
|
|
275427
275921
|
"schemas": {
|
|
275428
275922
|
"Bot": true,
|
|
275429
275923
|
"Integration": true,
|
|
275924
|
+
"Interface": true,
|
|
275430
275925
|
"Workspace": true,
|
|
275431
275926
|
"WorkspaceMember": true,
|
|
275432
275927
|
"Account": true,
|
|
@@ -276471,6 +276966,155 @@ var state = {
|
|
|
276471
276966
|
"additionalProperties": false
|
|
276472
276967
|
}
|
|
276473
276968
|
},
|
|
276969
|
+
"Interface": {
|
|
276970
|
+
"section": "interface",
|
|
276971
|
+
"schema": {
|
|
276972
|
+
"type": "object",
|
|
276973
|
+
"properties": {
|
|
276974
|
+
"id": {
|
|
276975
|
+
"type": "string",
|
|
276976
|
+
"minLength": 28,
|
|
276977
|
+
"maxLength": 36,
|
|
276978
|
+
"description": "ID of the [Interface](#schema_interface)"
|
|
276979
|
+
},
|
|
276980
|
+
"createdAt": {
|
|
276981
|
+
"type": "string",
|
|
276982
|
+
"format": "date-time",
|
|
276983
|
+
"description": "Creation date of the [Interface](#schema_interface) in ISO 8601 format"
|
|
276984
|
+
},
|
|
276985
|
+
"updatedAt": {
|
|
276986
|
+
"type": "string",
|
|
276987
|
+
"format": "date-time",
|
|
276988
|
+
"description": "Updating date of the [Interface](#schema_interface) in ISO 8601 format"
|
|
276989
|
+
},
|
|
276990
|
+
"name": {
|
|
276991
|
+
"type": "string",
|
|
276992
|
+
"maxLength": 200,
|
|
276993
|
+
"description": "Name of the [Interface](#schema_interface)"
|
|
276994
|
+
},
|
|
276995
|
+
"version": {
|
|
276996
|
+
"type": "string",
|
|
276997
|
+
"maxLength": 200,
|
|
276998
|
+
"description": "Version of the [Interface](#schema_interface)"
|
|
276999
|
+
},
|
|
277000
|
+
"events": {
|
|
277001
|
+
"type": "object",
|
|
277002
|
+
"additionalProperties": {
|
|
277003
|
+
"type": "object",
|
|
277004
|
+
"properties": {
|
|
277005
|
+
"title": {
|
|
277006
|
+
"type": "string",
|
|
277007
|
+
"maxLength": 64,
|
|
277008
|
+
"description": "Title of the event"
|
|
277009
|
+
},
|
|
277010
|
+
"description": {
|
|
277011
|
+
"type": "string",
|
|
277012
|
+
"maxLength": 256,
|
|
277013
|
+
"description": "Description of the event"
|
|
277014
|
+
},
|
|
277015
|
+
"schema": {
|
|
277016
|
+
"type": "object",
|
|
277017
|
+
"additionalProperties": true
|
|
277018
|
+
}
|
|
277019
|
+
},
|
|
277020
|
+
"required": [
|
|
277021
|
+
"schema"
|
|
277022
|
+
],
|
|
277023
|
+
"description": "Event Definition",
|
|
277024
|
+
"additionalProperties": false
|
|
277025
|
+
}
|
|
277026
|
+
},
|
|
277027
|
+
"actions": {
|
|
277028
|
+
"type": "object",
|
|
277029
|
+
"additionalProperties": {
|
|
277030
|
+
"type": "object",
|
|
277031
|
+
"properties": {
|
|
277032
|
+
"title": {
|
|
277033
|
+
"type": "string",
|
|
277034
|
+
"maxLength": 64,
|
|
277035
|
+
"description": "Title of the action"
|
|
277036
|
+
},
|
|
277037
|
+
"description": {
|
|
277038
|
+
"type": "string",
|
|
277039
|
+
"maxLength": 256,
|
|
277040
|
+
"description": "Description of the action"
|
|
277041
|
+
},
|
|
277042
|
+
"input": {
|
|
277043
|
+
"type": "object",
|
|
277044
|
+
"properties": {
|
|
277045
|
+
"schema": {
|
|
277046
|
+
"type": "object",
|
|
277047
|
+
"additionalProperties": true
|
|
277048
|
+
}
|
|
277049
|
+
},
|
|
277050
|
+
"required": [
|
|
277051
|
+
"schema"
|
|
277052
|
+
],
|
|
277053
|
+
"additionalProperties": false
|
|
277054
|
+
},
|
|
277055
|
+
"output": {
|
|
277056
|
+
"type": "object",
|
|
277057
|
+
"properties": {
|
|
277058
|
+
"schema": {
|
|
277059
|
+
"type": "object",
|
|
277060
|
+
"additionalProperties": true
|
|
277061
|
+
}
|
|
277062
|
+
},
|
|
277063
|
+
"required": [
|
|
277064
|
+
"schema"
|
|
277065
|
+
],
|
|
277066
|
+
"additionalProperties": false
|
|
277067
|
+
}
|
|
277068
|
+
},
|
|
277069
|
+
"required": [
|
|
277070
|
+
"input",
|
|
277071
|
+
"output"
|
|
277072
|
+
],
|
|
277073
|
+
"description": "Action definition",
|
|
277074
|
+
"additionalProperties": false
|
|
277075
|
+
}
|
|
277076
|
+
},
|
|
277077
|
+
"entities": {
|
|
277078
|
+
"type": "object",
|
|
277079
|
+
"additionalProperties": {
|
|
277080
|
+
"type": "object",
|
|
277081
|
+
"properties": {
|
|
277082
|
+
"title": {
|
|
277083
|
+
"type": "string",
|
|
277084
|
+
"maxLength": 64,
|
|
277085
|
+
"description": "Title of the entity"
|
|
277086
|
+
},
|
|
277087
|
+
"description": {
|
|
277088
|
+
"type": "string",
|
|
277089
|
+
"maxLength": 256,
|
|
277090
|
+
"description": "Description of the entity"
|
|
277091
|
+
},
|
|
277092
|
+
"schema": {
|
|
277093
|
+
"type": "object",
|
|
277094
|
+
"additionalProperties": true
|
|
277095
|
+
}
|
|
277096
|
+
},
|
|
277097
|
+
"required": [
|
|
277098
|
+
"schema"
|
|
277099
|
+
],
|
|
277100
|
+
"description": "Entity definition",
|
|
277101
|
+
"additionalProperties": false
|
|
277102
|
+
}
|
|
277103
|
+
}
|
|
277104
|
+
},
|
|
277105
|
+
"required": [
|
|
277106
|
+
"id",
|
|
277107
|
+
"createdAt",
|
|
277108
|
+
"updatedAt",
|
|
277109
|
+
"name",
|
|
277110
|
+
"version",
|
|
277111
|
+
"events",
|
|
277112
|
+
"actions",
|
|
277113
|
+
"entities"
|
|
277114
|
+
],
|
|
277115
|
+
"additionalProperties": false
|
|
277116
|
+
}
|
|
277117
|
+
},
|
|
276474
277118
|
"Workspace": {
|
|
276475
277119
|
"section": "workspace",
|
|
276476
277120
|
"schema": {
|
|
@@ -277900,6 +278544,20 @@ var state = {
|
|
|
277900
278544
|
],
|
|
277901
278545
|
"schema": "Integration"
|
|
277902
278546
|
},
|
|
278547
|
+
{
|
|
278548
|
+
"title": "Interface",
|
|
278549
|
+
"description": "",
|
|
278550
|
+
"name": "interface",
|
|
278551
|
+
"operations": [
|
|
278552
|
+
"createInterface",
|
|
278553
|
+
"getInterface",
|
|
278554
|
+
"getInterfaceByName",
|
|
278555
|
+
"updateInterface",
|
|
278556
|
+
"deleteInterface",
|
|
278557
|
+
"listInterfaces"
|
|
278558
|
+
],
|
|
278559
|
+
"schema": "Interface"
|
|
278560
|
+
},
|
|
277903
278561
|
{
|
|
277904
278562
|
"title": "Workspace",
|
|
277905
278563
|
"description": "",
|