@botpress/api 1.30.0 → 1.32.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.
@@ -6576,6 +6576,109 @@ export const state = {
6576
6576
  }
6577
6577
  }
6578
6578
  },
6579
+ "getBotAllowlist": {
6580
+ "name": "getBotAllowlist",
6581
+ "description": "Get the Bot Allowlist",
6582
+ "method": "get",
6583
+ "section": "bot",
6584
+ "path": "/v1/admin/bots/{botId}/allowlist",
6585
+ "parameters": {
6586
+ "botId": {
6587
+ "type": "string",
6588
+ "description": "Bot ID",
6589
+ "in": "path"
6590
+ }
6591
+ },
6592
+ "response": {
6593
+ "description": "Success",
6594
+ "schema": {
6595
+ "type": "object",
6596
+ "properties": {
6597
+ "setting": {
6598
+ "type": "string",
6599
+ "enum": [
6600
+ "ALL_WORKSPACE_USERS",
6601
+ "SELECTED_USERS"
6602
+ ],
6603
+ "description": "Allowlist setting of the bot"
6604
+ },
6605
+ "users": {
6606
+ "type": "array",
6607
+ "items": {
6608
+ "type": "object",
6609
+ "properties": {
6610
+ "id": {
6611
+ "type": "string"
6612
+ }
6613
+ },
6614
+ "required": [
6615
+ "id"
6616
+ ]
6617
+ }
6618
+ }
6619
+ },
6620
+ "required": [
6621
+ "setting",
6622
+ "users"
6623
+ ],
6624
+ "title": "getBotAllowlistResponse",
6625
+ "additionalProperties": false
6626
+ }
6627
+ }
6628
+ },
6629
+ "updateBotAllowlist": {
6630
+ "name": "updateBotAllowlist",
6631
+ "description": "Update the Bot Allowlist",
6632
+ "method": "put",
6633
+ "section": "bot",
6634
+ "path": "/v1/admin/bots/{botId}/allowlist",
6635
+ "parameters": {
6636
+ "botId": {
6637
+ "type": "string",
6638
+ "description": "Bot ID",
6639
+ "in": "path"
6640
+ }
6641
+ },
6642
+ "requestBody": {
6643
+ "description": "Allowlist body",
6644
+ "schema": {
6645
+ "type": "object",
6646
+ "properties": {
6647
+ "setting": {
6648
+ "type": "string",
6649
+ "enum": [
6650
+ "ALL_WORKSPACE_USERS",
6651
+ "SELECTED_USERS"
6652
+ ],
6653
+ "description": "Allowlist setting of the bot"
6654
+ },
6655
+ "modifiedUsers": {
6656
+ "type": "array",
6657
+ "items": {
6658
+ "type": "object",
6659
+ "additionalProperties": {
6660
+ "type": "boolean",
6661
+ "description": "If `true`, the user should be added to the allowlist. If `false`, the user should be removed from the allowlist. This performs a partial update, so any existing users not included here will be kept in the allowlist"
6662
+ }
6663
+ }
6664
+ }
6665
+ },
6666
+ "required": [
6667
+ "modifiedUsers"
6668
+ ],
6669
+ "title": "updateBotAllowlistBody",
6670
+ "additionalProperties": false
6671
+ }
6672
+ },
6673
+ "response": {
6674
+ "description": "Success",
6675
+ "schema": {
6676
+ "type": "object",
6677
+ "title": "updateBotAllowlistResponse",
6678
+ "additionalProperties": false
6679
+ }
6680
+ }
6681
+ },
6579
6682
  "listWorkspaceInvoices": {
6580
6683
  "name": "listWorkspaceInvoices",
6581
6684
  "description": "List invoices billed to workspace",
@@ -13784,7 +13887,7 @@ export const state = {
13784
13887
  "title": "Botpress API",
13785
13888
  "description": "API for Botpress Cloud",
13786
13889
  "server": "https://api.botpress.cloud",
13787
- "version": "1.30.0",
13890
+ "version": "1.32.0",
13788
13891
  "prefix": "v1"
13789
13892
  },
13790
13893
  "errors": [
@@ -13925,6 +14028,7 @@ export const state = {
13925
14028
  "deployBotVersionBody": true,
13926
14029
  "createIntegrationShareableIdBody": true,
13927
14030
  "createBotApiKeyBody": true,
14031
+ "updateBotAllowlistBody": true,
13928
14032
  "chargeWorkspaceUnpaidInvoicesBody": true,
13929
14033
  "createWorkspaceBody": true,
13930
14034
  "updateWorkspaceBody": true,
@@ -13993,6 +14097,8 @@ export const state = {
13993
14097
  "listBotApiKeysResponse": true,
13994
14098
  "createBotApiKeyResponse": true,
13995
14099
  "deleteBotApiKeyResponse": true,
14100
+ "getBotAllowlistResponse": true,
14101
+ "updateBotAllowlistResponse": true,
13996
14102
  "listWorkspaceInvoicesResponse": true,
13997
14103
  "getUpcomingInvoiceResponse": true,
13998
14104
  "chargeWorkspaceUnpaidInvoicesResponse": true,
@@ -17675,7 +17781,9 @@ export const state = {
17675
17781
  "unlinkSandboxedConversations",
17676
17782
  "listBotApiKeys",
17677
17783
  "createBotApiKey",
17678
- "deleteBotApiKey"
17784
+ "deleteBotApiKey",
17785
+ "getBotAllowlist",
17786
+ "updateBotAllowlist"
17679
17787
  ],
17680
17788
  "schema": "Bot"
17681
17789
  },