@botpress/api 0.15.5 → 0.15.7
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/gen/state.d.ts +33 -0
- package/dist/index.js +48 -1
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +49 -1
package/src/gen/state.ts
CHANGED
|
@@ -3591,6 +3591,52 @@ export const state = {
|
|
|
3591
3591
|
},
|
|
3592
3592
|
},
|
|
3593
3593
|
},
|
|
3594
|
+
getAllWorkspaceQuotaCompletion: {
|
|
3595
|
+
name: "getAllWorkspaceQuotaCompletion",
|
|
3596
|
+
description:
|
|
3597
|
+
"For a user, gets a map of workspace IDs to their highest quota completion rate",
|
|
3598
|
+
section: "workspace",
|
|
3599
|
+
method: "get",
|
|
3600
|
+
path: "/v1/admin/workspaces/usages/quota-completion",
|
|
3601
|
+
disableDefaultParameters: {
|
|
3602
|
+
"x-workspace-id": true,
|
|
3603
|
+
},
|
|
3604
|
+
response: {
|
|
3605
|
+
description: "Success",
|
|
3606
|
+
schema: {
|
|
3607
|
+
type: "object",
|
|
3608
|
+
additionalProperties: {
|
|
3609
|
+
type: "object",
|
|
3610
|
+
properties: {
|
|
3611
|
+
type: {
|
|
3612
|
+
type: "string",
|
|
3613
|
+
enum: [
|
|
3614
|
+
"invocation_timeout",
|
|
3615
|
+
"invocation_calls",
|
|
3616
|
+
"storage_count",
|
|
3617
|
+
"bot_count",
|
|
3618
|
+
"knowledgebase_vector_storage",
|
|
3619
|
+
"workspace_ratelimit",
|
|
3620
|
+
"table_row_count",
|
|
3621
|
+
"workspace_member_count",
|
|
3622
|
+
"integrations_owned_count",
|
|
3623
|
+
"ai_spend",
|
|
3624
|
+
"openai_spend",
|
|
3625
|
+
"bing_search_spend",
|
|
3626
|
+
],
|
|
3627
|
+
},
|
|
3628
|
+
completion: {
|
|
3629
|
+
type: "number",
|
|
3630
|
+
},
|
|
3631
|
+
},
|
|
3632
|
+
required: ["type", "completion"],
|
|
3633
|
+
additionalProperties: false,
|
|
3634
|
+
},
|
|
3635
|
+
title: "getAllWorkspaceQuotaCompletionResponse",
|
|
3636
|
+
},
|
|
3637
|
+
},
|
|
3638
|
+
parameters: {},
|
|
3639
|
+
},
|
|
3594
3640
|
getWorkspaceQuota: {
|
|
3595
3641
|
name: "getWorkspaceQuota",
|
|
3596
3642
|
description: "Get workspace quota",
|
|
@@ -5758,7 +5804,7 @@ export const state = {
|
|
|
5758
5804
|
title: "Botpress API",
|
|
5759
5805
|
description: "API for Botpress Cloud",
|
|
5760
5806
|
server: "https://api.botpress.cloud",
|
|
5761
|
-
version: "0.15.
|
|
5807
|
+
version: "0.15.7",
|
|
5762
5808
|
prefix: "v1",
|
|
5763
5809
|
},
|
|
5764
5810
|
errors: [
|
|
@@ -5970,6 +6016,7 @@ export const state = {
|
|
|
5970
6016
|
getWorkspaceResponse: true,
|
|
5971
6017
|
listWorkspaceUsagesResponse: true,
|
|
5972
6018
|
breakDownWorkspaceUsageByBotResponse: true,
|
|
6019
|
+
getAllWorkspaceQuotaCompletionResponse: true,
|
|
5973
6020
|
getWorkspaceQuotaResponse: true,
|
|
5974
6021
|
listWorkspaceQuotasResponse: true,
|
|
5975
6022
|
updateWorkspaceResponse: true,
|
|
@@ -7545,6 +7592,7 @@ export const state = {
|
|
|
7545
7592
|
"getWorkspace",
|
|
7546
7593
|
"listWorkspaceUsages",
|
|
7547
7594
|
"breakDownWorkspaceUsageByBot",
|
|
7595
|
+
"getAllWorkspaceQuotaCompletion",
|
|
7548
7596
|
"getWorkspaceQuota",
|
|
7549
7597
|
"listWorkspaceQuotas",
|
|
7550
7598
|
"updateWorkspace",
|