@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/src/gen/state.ts CHANGED
@@ -10599,7 +10599,7 @@ export const state = {
10599
10599
  },
10600
10600
  "listIntegrations": {
10601
10601
  "name": "listIntegrations",
10602
- "description": "List integrations",
10602
+ "description": "List integrations, supports filtering and sorting capabilities",
10603
10603
  "method": "get",
10604
10604
  "section": "integration",
10605
10605
  "path": "/v1/admin/integrations",
@@ -10609,6 +10609,12 @@ export const state = {
10609
10609
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
10610
10610
  "type": "string"
10611
10611
  },
10612
+ "limit": {
10613
+ "in": "query",
10614
+ "description": "Maximum number of results to return per page",
10615
+ "type": "number",
10616
+ "required": false
10617
+ },
10612
10618
  "name": {
10613
10619
  "type": "string",
10614
10620
  "description": "Integration Name",
@@ -10619,6 +10625,63 @@ export const state = {
10619
10625
  "description": "Integration version. Either a semver version or tag \"latest\"",
10620
10626
  "in": "query"
10621
10627
  },
10628
+ "interfaceId": {
10629
+ "type": "string",
10630
+ "description": "Filter integrations by implemented interface ID",
10631
+ "in": "query"
10632
+ },
10633
+ "interfaceName": {
10634
+ "type": "string",
10635
+ "description": "Filter integrations by implemented interface name (strict match)",
10636
+ "in": "query"
10637
+ },
10638
+ "visibility": {
10639
+ "type": "string",
10640
+ "description": "Filter integrations by visibility (public, private, installed)",
10641
+ "in": "query",
10642
+ "enum": [
10643
+ "public",
10644
+ "private",
10645
+ "installed"
10646
+ ]
10647
+ },
10648
+ "verificationStatus": {
10649
+ "type": "string",
10650
+ "description": "Filter integrations by verification status",
10651
+ "in": "query",
10652
+ "enum": [
10653
+ "unapproved",
10654
+ "pending",
10655
+ "approved",
10656
+ "rejected"
10657
+ ]
10658
+ },
10659
+ "search": {
10660
+ "type": "string",
10661
+ "description": "Search integrations by name, description, actions, and interfaces. Responses include a matchedOn field indicating which fields matched the search.",
10662
+ "in": "query"
10663
+ },
10664
+ "sortBy": {
10665
+ "type": "string",
10666
+ "description": "Sort integrations by field",
10667
+ "in": "query",
10668
+ "enum": [
10669
+ "popularity",
10670
+ "name",
10671
+ "createdAt",
10672
+ "updatedAt",
10673
+ "installCount"
10674
+ ]
10675
+ },
10676
+ "direction": {
10677
+ "type": "string",
10678
+ "description": "Sort direction (asc or desc)",
10679
+ "in": "query",
10680
+ "enum": [
10681
+ "asc",
10682
+ "desc"
10683
+ ]
10684
+ },
10622
10685
  "dev": {
10623
10686
  "in": "query",
10624
10687
  "description": "If true, only dev integrations are returned. Otherwise, only production integrations are returned.",
@@ -10690,6 +10753,58 @@ export const state = {
10690
10753
  "rejected"
10691
10754
  ],
10692
10755
  "description": "Status of the integration version verification"
10756
+ },
10757
+ "matchedOn": {
10758
+ "type": "object",
10759
+ "properties": {
10760
+ "name": {
10761
+ "type": "boolean",
10762
+ "description": "Whether the integration name matched the search term"
10763
+ },
10764
+ "title": {
10765
+ "type": "boolean",
10766
+ "description": "Whether the integration title matched the search term"
10767
+ },
10768
+ "description": {
10769
+ "type": "boolean",
10770
+ "description": "Whether the integration description matched the search term"
10771
+ },
10772
+ "actions": {
10773
+ "type": "array",
10774
+ "items": {
10775
+ "type": "string"
10776
+ },
10777
+ "description": "Action names that matched the search term"
10778
+ },
10779
+ "interfaces": {
10780
+ "type": "array",
10781
+ "items": {
10782
+ "type": "string"
10783
+ },
10784
+ "description": "Interface names that matched the search term"
10785
+ }
10786
+ },
10787
+ "description": "Metadata about which fields matched the search criteria"
10788
+ },
10789
+ "ownerWorkspace": {
10790
+ "type": "object",
10791
+ "properties": {
10792
+ "id": {
10793
+ "type": "string"
10794
+ },
10795
+ "handle": {
10796
+ "type": "string",
10797
+ "nullable": true
10798
+ },
10799
+ "name": {
10800
+ "type": "string"
10801
+ }
10802
+ },
10803
+ "required": [
10804
+ "id",
10805
+ "handle",
10806
+ "name"
10807
+ ]
10693
10808
  }
10694
10809
  },
10695
10810
  "required": [
@@ -15414,7 +15529,7 @@ export const state = {
15414
15529
  "title": "Botpress API",
15415
15530
  "description": "API for Botpress Cloud",
15416
15531
  "server": "https://api.botpress.cloud",
15417
- "version": "0.79.0",
15532
+ "version": "0.80.0",
15418
15533
  "prefix": "v1"
15419
15534
  },
15420
15535
  "errors": [