@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/src/gen/state.ts CHANGED
@@ -8840,7 +8840,8 @@ export const state = {
8840
8840
  "type": "object",
8841
8841
  "additionalProperties": {
8842
8842
  "type": "string",
8843
- "maxLength": 20000
8843
+ "maxLength": 20000,
8844
+ "nullable": true
8844
8845
  },
8845
8846
  "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."
8846
8847
  },
@@ -9405,7 +9406,8 @@ export const state = {
9405
9406
  "type": "object",
9406
9407
  "additionalProperties": {
9407
9408
  "type": "string",
9408
- "maxLength": 20000
9409
+ "maxLength": 20000,
9410
+ "nullable": true
9409
9411
  },
9410
9412
  "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."
9411
9413
  },
@@ -10597,7 +10599,7 @@ export const state = {
10597
10599
  },
10598
10600
  "listIntegrations": {
10599
10601
  "name": "listIntegrations",
10600
- "description": "List integrations",
10602
+ "description": "List integrations, supports filtering and sorting capabilities",
10601
10603
  "method": "get",
10602
10604
  "section": "integration",
10603
10605
  "path": "/v1/admin/integrations",
@@ -10607,6 +10609,12 @@ export const state = {
10607
10609
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
10608
10610
  "type": "string"
10609
10611
  },
10612
+ "limit": {
10613
+ "in": "query",
10614
+ "description": "Maximum number of results to return per page",
10615
+ "type": "number",
10616
+ "required": false
10617
+ },
10610
10618
  "name": {
10611
10619
  "type": "string",
10612
10620
  "description": "Integration Name",
@@ -10617,6 +10625,63 @@ export const state = {
10617
10625
  "description": "Integration version. Either a semver version or tag \"latest\"",
10618
10626
  "in": "query"
10619
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
+ },
10620
10685
  "dev": {
10621
10686
  "in": "query",
10622
10687
  "description": "If true, only dev integrations are returned. Otherwise, only production integrations are returned.",
@@ -10688,6 +10753,58 @@ export const state = {
10688
10753
  "rejected"
10689
10754
  ],
10690
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
+ ]
10691
10808
  }
10692
10809
  },
10693
10810
  "required": [
@@ -15412,7 +15529,7 @@ export const state = {
15412
15529
  "title": "Botpress API",
15413
15530
  "description": "API for Botpress Cloud",
15414
15531
  "server": "https://api.botpress.cloud",
15415
- "version": "0.78.0",
15532
+ "version": "0.80.0",
15416
15533
  "prefix": "v1"
15417
15534
  },
15418
15535
  "errors": [