@botpress/api 0.78.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 CHANGED
@@ -291436,7 +291436,8 @@ var state = {
291436
291436
  "type": "object",
291437
291437
  "additionalProperties": {
291438
291438
  "type": "string",
291439
- "maxLength": 2e4
291439
+ "maxLength": 2e4,
291440
+ "nullable": true
291440
291441
  },
291441
291442
  "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
291442
291443
  },
@@ -292001,7 +292002,8 @@ var state = {
292001
292002
  "type": "object",
292002
292003
  "additionalProperties": {
292003
292004
  "type": "string",
292004
- "maxLength": 2e4
292005
+ "maxLength": 2e4,
292006
+ "nullable": true
292005
292007
  },
292006
292008
  "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
292007
292009
  },
@@ -293193,7 +293195,7 @@ var state = {
293193
293195
  },
293194
293196
  "listIntegrations": {
293195
293197
  "name": "listIntegrations",
293196
- "description": "List integrations",
293198
+ "description": "List integrations, supports filtering and sorting capabilities",
293197
293199
  "method": "get",
293198
293200
  "section": "integration",
293199
293201
  "path": "/v1/admin/integrations",
@@ -293203,6 +293205,12 @@ var state = {
293203
293205
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
293204
293206
  "type": "string"
293205
293207
  },
293208
+ "limit": {
293209
+ "in": "query",
293210
+ "description": "Maximum number of results to return per page",
293211
+ "type": "number",
293212
+ "required": false
293213
+ },
293206
293214
  "name": {
293207
293215
  "type": "string",
293208
293216
  "description": "Integration Name",
@@ -293213,6 +293221,63 @@ var state = {
293213
293221
  "description": 'Integration version. Either a semver version or tag "latest"',
293214
293222
  "in": "query"
293215
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
+ },
293216
293281
  "dev": {
293217
293282
  "in": "query",
293218
293283
  "description": "If true, only dev integrations are returned. Otherwise, only production integrations are returned.",
@@ -293284,6 +293349,58 @@ var state = {
293284
293349
  "rejected"
293285
293350
  ],
293286
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
+ ]
293287
293404
  }
293288
293405
  },
293289
293406
  "required": [
@@ -298008,7 +298125,7 @@ var state = {
298008
298125
  "title": "Botpress API",
298009
298126
  "description": "API for Botpress Cloud",
298010
298127
  "server": "https://api.botpress.cloud",
298011
- "version": "0.78.0",
298128
+ "version": "0.80.0",
298012
298129
  "prefix": "v1"
298013
298130
  },
298014
298131
  "errors": [
@@ -7718,6 +7718,7 @@ export declare const state: {
7718
7718
  additionalProperties: {
7719
7719
  type: "string";
7720
7720
  maxLength: number;
7721
+ nullable: true;
7721
7722
  };
7722
7723
  description: string;
7723
7724
  };
@@ -8240,6 +8241,7 @@ export declare const state: {
8240
8241
  additionalProperties: {
8241
8242
  type: "string";
8242
8243
  maxLength: number;
8244
+ nullable: true;
8243
8245
  };
8244
8246
  description: string;
8245
8247
  };
@@ -9364,6 +9366,12 @@ export declare const state: {
9364
9366
  description: string;
9365
9367
  type: "string";
9366
9368
  };
9369
+ limit: {
9370
+ in: "query";
9371
+ description: string;
9372
+ type: "number";
9373
+ required: false;
9374
+ };
9367
9375
  name: {
9368
9376
  type: "string";
9369
9377
  description: string;
@@ -9374,6 +9382,45 @@ export declare const state: {
9374
9382
  description: string;
9375
9383
  in: "query";
9376
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
+ };
9377
9424
  dev: {
9378
9425
  in: "query";
9379
9426
  description: string;
@@ -9441,6 +9488,54 @@ export declare const state: {
9441
9488
  enum: string[];
9442
9489
  description: string;
9443
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
+ };
9444
9539
  };
9445
9540
  required: string[];
9446
9541
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.78.0",
3
+ "version": "0.80.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {