@botpress/api 0.79.0 → 0.80.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/dist/index.js +117 -2
- package/dist/src/gen/state.d.ts +93 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +117 -2
package/dist/index.js
CHANGED
|
@@ -293195,7 +293195,7 @@ var state = {
|
|
|
293195
293195
|
},
|
|
293196
293196
|
"listIntegrations": {
|
|
293197
293197
|
"name": "listIntegrations",
|
|
293198
|
-
"description": "List integrations",
|
|
293198
|
+
"description": "List integrations, supports filtering and sorting capabilities",
|
|
293199
293199
|
"method": "get",
|
|
293200
293200
|
"section": "integration",
|
|
293201
293201
|
"path": "/v1/admin/integrations",
|
|
@@ -293205,6 +293205,12 @@ var state = {
|
|
|
293205
293205
|
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
293206
293206
|
"type": "string"
|
|
293207
293207
|
},
|
|
293208
|
+
"limit": {
|
|
293209
|
+
"in": "query",
|
|
293210
|
+
"description": "Maximum number of results to return per page",
|
|
293211
|
+
"type": "number",
|
|
293212
|
+
"required": false
|
|
293213
|
+
},
|
|
293208
293214
|
"name": {
|
|
293209
293215
|
"type": "string",
|
|
293210
293216
|
"description": "Integration Name",
|
|
@@ -293215,6 +293221,63 @@ var state = {
|
|
|
293215
293221
|
"description": 'Integration version. Either a semver version or tag "latest"',
|
|
293216
293222
|
"in": "query"
|
|
293217
293223
|
},
|
|
293224
|
+
"interfaceId": {
|
|
293225
|
+
"type": "string",
|
|
293226
|
+
"description": "Filter integrations by implemented interface ID",
|
|
293227
|
+
"in": "query"
|
|
293228
|
+
},
|
|
293229
|
+
"interfaceName": {
|
|
293230
|
+
"type": "string",
|
|
293231
|
+
"description": "Filter integrations by implemented interface name (strict match)",
|
|
293232
|
+
"in": "query"
|
|
293233
|
+
},
|
|
293234
|
+
"visibility": {
|
|
293235
|
+
"type": "string",
|
|
293236
|
+
"description": "Filter integrations by visibility (public, private, installed)",
|
|
293237
|
+
"in": "query",
|
|
293238
|
+
"enum": [
|
|
293239
|
+
"public",
|
|
293240
|
+
"private",
|
|
293241
|
+
"installed"
|
|
293242
|
+
]
|
|
293243
|
+
},
|
|
293244
|
+
"verificationStatus": {
|
|
293245
|
+
"type": "string",
|
|
293246
|
+
"description": "Filter integrations by verification status",
|
|
293247
|
+
"in": "query",
|
|
293248
|
+
"enum": [
|
|
293249
|
+
"unapproved",
|
|
293250
|
+
"pending",
|
|
293251
|
+
"approved",
|
|
293252
|
+
"rejected"
|
|
293253
|
+
]
|
|
293254
|
+
},
|
|
293255
|
+
"search": {
|
|
293256
|
+
"type": "string",
|
|
293257
|
+
"description": "Search integrations by name, description, actions, and interfaces. Responses include a matchedOn field indicating which fields matched the search.",
|
|
293258
|
+
"in": "query"
|
|
293259
|
+
},
|
|
293260
|
+
"sortBy": {
|
|
293261
|
+
"type": "string",
|
|
293262
|
+
"description": "Sort integrations by field",
|
|
293263
|
+
"in": "query",
|
|
293264
|
+
"enum": [
|
|
293265
|
+
"popularity",
|
|
293266
|
+
"name",
|
|
293267
|
+
"createdAt",
|
|
293268
|
+
"updatedAt",
|
|
293269
|
+
"installCount"
|
|
293270
|
+
]
|
|
293271
|
+
},
|
|
293272
|
+
"direction": {
|
|
293273
|
+
"type": "string",
|
|
293274
|
+
"description": "Sort direction (asc or desc)",
|
|
293275
|
+
"in": "query",
|
|
293276
|
+
"enum": [
|
|
293277
|
+
"asc",
|
|
293278
|
+
"desc"
|
|
293279
|
+
]
|
|
293280
|
+
},
|
|
293218
293281
|
"dev": {
|
|
293219
293282
|
"in": "query",
|
|
293220
293283
|
"description": "If true, only dev integrations are returned. Otherwise, only production integrations are returned.",
|
|
@@ -293286,6 +293349,58 @@ var state = {
|
|
|
293286
293349
|
"rejected"
|
|
293287
293350
|
],
|
|
293288
293351
|
"description": "Status of the integration version verification"
|
|
293352
|
+
},
|
|
293353
|
+
"matchedOn": {
|
|
293354
|
+
"type": "object",
|
|
293355
|
+
"properties": {
|
|
293356
|
+
"name": {
|
|
293357
|
+
"type": "boolean",
|
|
293358
|
+
"description": "Whether the integration name matched the search term"
|
|
293359
|
+
},
|
|
293360
|
+
"title": {
|
|
293361
|
+
"type": "boolean",
|
|
293362
|
+
"description": "Whether the integration title matched the search term"
|
|
293363
|
+
},
|
|
293364
|
+
"description": {
|
|
293365
|
+
"type": "boolean",
|
|
293366
|
+
"description": "Whether the integration description matched the search term"
|
|
293367
|
+
},
|
|
293368
|
+
"actions": {
|
|
293369
|
+
"type": "array",
|
|
293370
|
+
"items": {
|
|
293371
|
+
"type": "string"
|
|
293372
|
+
},
|
|
293373
|
+
"description": "Action names that matched the search term"
|
|
293374
|
+
},
|
|
293375
|
+
"interfaces": {
|
|
293376
|
+
"type": "array",
|
|
293377
|
+
"items": {
|
|
293378
|
+
"type": "string"
|
|
293379
|
+
},
|
|
293380
|
+
"description": "Interface names that matched the search term"
|
|
293381
|
+
}
|
|
293382
|
+
},
|
|
293383
|
+
"description": "Metadata about which fields matched the search criteria"
|
|
293384
|
+
},
|
|
293385
|
+
"ownerWorkspace": {
|
|
293386
|
+
"type": "object",
|
|
293387
|
+
"properties": {
|
|
293388
|
+
"id": {
|
|
293389
|
+
"type": "string"
|
|
293390
|
+
},
|
|
293391
|
+
"handle": {
|
|
293392
|
+
"type": "string",
|
|
293393
|
+
"nullable": true
|
|
293394
|
+
},
|
|
293395
|
+
"name": {
|
|
293396
|
+
"type": "string"
|
|
293397
|
+
}
|
|
293398
|
+
},
|
|
293399
|
+
"required": [
|
|
293400
|
+
"id",
|
|
293401
|
+
"handle",
|
|
293402
|
+
"name"
|
|
293403
|
+
]
|
|
293289
293404
|
}
|
|
293290
293405
|
},
|
|
293291
293406
|
"required": [
|
|
@@ -298010,7 +298125,7 @@ var state = {
|
|
|
298010
298125
|
"title": "Botpress API",
|
|
298011
298126
|
"description": "API for Botpress Cloud",
|
|
298012
298127
|
"server": "https://api.botpress.cloud",
|
|
298013
|
-
"version": "0.
|
|
298128
|
+
"version": "0.80.0",
|
|
298014
298129
|
"prefix": "v1"
|
|
298015
298130
|
},
|
|
298016
298131
|
"errors": [
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -9366,6 +9366,12 @@ export declare const state: {
|
|
|
9366
9366
|
description: string;
|
|
9367
9367
|
type: "string";
|
|
9368
9368
|
};
|
|
9369
|
+
limit: {
|
|
9370
|
+
in: "query";
|
|
9371
|
+
description: string;
|
|
9372
|
+
type: "number";
|
|
9373
|
+
required: false;
|
|
9374
|
+
};
|
|
9369
9375
|
name: {
|
|
9370
9376
|
type: "string";
|
|
9371
9377
|
description: string;
|
|
@@ -9376,6 +9382,45 @@ export declare const state: {
|
|
|
9376
9382
|
description: string;
|
|
9377
9383
|
in: "query";
|
|
9378
9384
|
};
|
|
9385
|
+
interfaceId: {
|
|
9386
|
+
type: "string";
|
|
9387
|
+
description: string;
|
|
9388
|
+
in: "query";
|
|
9389
|
+
};
|
|
9390
|
+
interfaceName: {
|
|
9391
|
+
type: "string";
|
|
9392
|
+
description: string;
|
|
9393
|
+
in: "query";
|
|
9394
|
+
};
|
|
9395
|
+
visibility: {
|
|
9396
|
+
type: "string";
|
|
9397
|
+
description: string;
|
|
9398
|
+
in: "query";
|
|
9399
|
+
enum: string[];
|
|
9400
|
+
};
|
|
9401
|
+
verificationStatus: {
|
|
9402
|
+
type: "string";
|
|
9403
|
+
description: string;
|
|
9404
|
+
in: "query";
|
|
9405
|
+
enum: string[];
|
|
9406
|
+
};
|
|
9407
|
+
search: {
|
|
9408
|
+
type: "string";
|
|
9409
|
+
description: string;
|
|
9410
|
+
in: "query";
|
|
9411
|
+
};
|
|
9412
|
+
sortBy: {
|
|
9413
|
+
type: "string";
|
|
9414
|
+
description: string;
|
|
9415
|
+
in: "query";
|
|
9416
|
+
enum: string[];
|
|
9417
|
+
};
|
|
9418
|
+
direction: {
|
|
9419
|
+
type: "string";
|
|
9420
|
+
description: string;
|
|
9421
|
+
in: "query";
|
|
9422
|
+
enum: string[];
|
|
9423
|
+
};
|
|
9379
9424
|
dev: {
|
|
9380
9425
|
in: "query";
|
|
9381
9426
|
description: string;
|
|
@@ -9443,6 +9488,54 @@ export declare const state: {
|
|
|
9443
9488
|
enum: string[];
|
|
9444
9489
|
description: string;
|
|
9445
9490
|
};
|
|
9491
|
+
matchedOn: {
|
|
9492
|
+
type: "object";
|
|
9493
|
+
properties: {
|
|
9494
|
+
name: {
|
|
9495
|
+
type: "boolean";
|
|
9496
|
+
description: string;
|
|
9497
|
+
};
|
|
9498
|
+
title: {
|
|
9499
|
+
type: "boolean";
|
|
9500
|
+
description: string;
|
|
9501
|
+
};
|
|
9502
|
+
description: {
|
|
9503
|
+
type: "boolean";
|
|
9504
|
+
description: string;
|
|
9505
|
+
};
|
|
9506
|
+
actions: {
|
|
9507
|
+
type: "array";
|
|
9508
|
+
items: {
|
|
9509
|
+
type: "string";
|
|
9510
|
+
};
|
|
9511
|
+
description: string;
|
|
9512
|
+
};
|
|
9513
|
+
interfaces: {
|
|
9514
|
+
type: "array";
|
|
9515
|
+
items: {
|
|
9516
|
+
type: "string";
|
|
9517
|
+
};
|
|
9518
|
+
description: string;
|
|
9519
|
+
};
|
|
9520
|
+
};
|
|
9521
|
+
description: string;
|
|
9522
|
+
};
|
|
9523
|
+
ownerWorkspace: {
|
|
9524
|
+
type: "object";
|
|
9525
|
+
properties: {
|
|
9526
|
+
id: {
|
|
9527
|
+
type: "string";
|
|
9528
|
+
};
|
|
9529
|
+
handle: {
|
|
9530
|
+
type: "string";
|
|
9531
|
+
nullable: true;
|
|
9532
|
+
};
|
|
9533
|
+
name: {
|
|
9534
|
+
type: "string";
|
|
9535
|
+
};
|
|
9536
|
+
};
|
|
9537
|
+
required: string[];
|
|
9538
|
+
};
|
|
9446
9539
|
};
|
|
9447
9540
|
required: string[];
|
|
9448
9541
|
};
|