@botpress/api 0.32.3 → 0.32.4
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 +75 -2
- package/dist/src/gen/state.d.ts +65 -1
- package/dist/src/index.d.ts +1 -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 +76 -3
package/src/gen/state.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/* prettier-ignore */
|
|
4
4
|
import * as opapi from '@bpinternal/opapi'
|
|
5
|
-
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'file' | 'state' | 'hub' | 'action' | 'task' | 'bot' | 'integration' | 'interface' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>
|
|
5
|
+
export type State = opapi.State<'Bot' | 'Integration' | 'Interface' | 'Workspace' | 'WorkspaceMember' | 'Account' | 'Usage' | 'Issue' | 'IssueEvent' | 'Activity' | 'Version' | 'User' | 'Conversation' | 'Event' | 'Message' | 'State' | 'Task' | 'Table' | 'Column' | 'Row' | 'File', never, 'user' | 'conversation' | 'event' | 'message' | 'file' | 'state' | 'hub' | 'action' | 'task' | 'bot' | 'integration' | 'interface' | 'workspace' | 'workspaceMember' | 'account' | 'usage' | 'quotas' | 'helper' | 'activity' | 'tables' | 'files'>
|
|
6
6
|
export const state = {
|
|
7
7
|
"operations": {
|
|
8
8
|
"createConversation": {
|
|
@@ -5045,6 +5045,54 @@ export const state = {
|
|
|
5045
5045
|
}
|
|
5046
5046
|
}
|
|
5047
5047
|
},
|
|
5048
|
+
"listBotVersions": {
|
|
5049
|
+
"name": "listBotVersions",
|
|
5050
|
+
"description": "List Versions for a Bot",
|
|
5051
|
+
"method": "get",
|
|
5052
|
+
"path": "/v1/admin/bots/{id}/versions",
|
|
5053
|
+
"section": "bot",
|
|
5054
|
+
"parameters": {
|
|
5055
|
+
"id": {
|
|
5056
|
+
"type": "string",
|
|
5057
|
+
"description": "Bot ID",
|
|
5058
|
+
"in": "path"
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
"response": {
|
|
5062
|
+
"description": "Success",
|
|
5063
|
+
"schema": {
|
|
5064
|
+
"type": "object",
|
|
5065
|
+
"properties": {
|
|
5066
|
+
"versions": {
|
|
5067
|
+
"type": "array",
|
|
5068
|
+
"items": {
|
|
5069
|
+
"type": "object",
|
|
5070
|
+
"properties": {
|
|
5071
|
+
"id": {
|
|
5072
|
+
"type": "string"
|
|
5073
|
+
},
|
|
5074
|
+
"name": {
|
|
5075
|
+
"type": "string"
|
|
5076
|
+
},
|
|
5077
|
+
"description": {
|
|
5078
|
+
"type": "string"
|
|
5079
|
+
}
|
|
5080
|
+
},
|
|
5081
|
+
"required": [
|
|
5082
|
+
"id",
|
|
5083
|
+
"name"
|
|
5084
|
+
]
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
},
|
|
5088
|
+
"required": [
|
|
5089
|
+
"versions"
|
|
5090
|
+
],
|
|
5091
|
+
"title": "listBotVersionsResponse",
|
|
5092
|
+
"additionalProperties": false
|
|
5093
|
+
}
|
|
5094
|
+
}
|
|
5095
|
+
},
|
|
5048
5096
|
"setWorkspacePaymentMethod": {
|
|
5049
5097
|
"name": "setWorkspacePaymentMethod",
|
|
5050
5098
|
"description": "Set the Stripe PaymentMethod to use for billing the workspace. To create a PaymentMethod, use the Stripe API or SDK with our Stripe Publishable Key which is listed in this documentation.",
|
|
@@ -10705,7 +10753,7 @@ export const state = {
|
|
|
10705
10753
|
"title": "Botpress API",
|
|
10706
10754
|
"description": "API for Botpress Cloud",
|
|
10707
10755
|
"server": "https://api.botpress.cloud",
|
|
10708
|
-
"version": "0.32.
|
|
10756
|
+
"version": "0.32.4",
|
|
10709
10757
|
"prefix": "v1"
|
|
10710
10758
|
},
|
|
10711
10759
|
"errors": [
|
|
@@ -10948,6 +10996,7 @@ export const state = {
|
|
|
10948
10996
|
"listBotIssuesResponse": true,
|
|
10949
10997
|
"deleteBotIssueResponse": true,
|
|
10950
10998
|
"listBotIssueEventsResponse": true,
|
|
10999
|
+
"listBotVersionsResponse": true,
|
|
10951
11000
|
"setWorkspacePaymentMethodResponse": true,
|
|
10952
11001
|
"listWorkspaceInvoicesResponse": true,
|
|
10953
11002
|
"getUpcomingInvoiceResponse": true,
|
|
@@ -11025,6 +11074,7 @@ export const state = {
|
|
|
11025
11074
|
"Issue": true,
|
|
11026
11075
|
"IssueEvent": true,
|
|
11027
11076
|
"Activity": true,
|
|
11077
|
+
"Version": true,
|
|
11028
11078
|
"User": true,
|
|
11029
11079
|
"Conversation": true,
|
|
11030
11080
|
"Event": true,
|
|
@@ -12598,6 +12648,28 @@ export const state = {
|
|
|
12598
12648
|
"additionalProperties": false
|
|
12599
12649
|
}
|
|
12600
12650
|
},
|
|
12651
|
+
"Version": {
|
|
12652
|
+
"section": "bot",
|
|
12653
|
+
"schema": {
|
|
12654
|
+
"type": "object",
|
|
12655
|
+
"properties": {
|
|
12656
|
+
"id": {
|
|
12657
|
+
"type": "string"
|
|
12658
|
+
},
|
|
12659
|
+
"name": {
|
|
12660
|
+
"type": "string"
|
|
12661
|
+
},
|
|
12662
|
+
"description": {
|
|
12663
|
+
"type": "string"
|
|
12664
|
+
}
|
|
12665
|
+
},
|
|
12666
|
+
"required": [
|
|
12667
|
+
"id",
|
|
12668
|
+
"name"
|
|
12669
|
+
],
|
|
12670
|
+
"additionalProperties": false
|
|
12671
|
+
}
|
|
12672
|
+
},
|
|
12601
12673
|
"User": {
|
|
12602
12674
|
"section": "user",
|
|
12603
12675
|
"schema": {
|
|
@@ -13617,7 +13689,8 @@ export const state = {
|
|
|
13617
13689
|
"getBotIssue",
|
|
13618
13690
|
"listBotIssues",
|
|
13619
13691
|
"deleteBotIssue",
|
|
13620
|
-
"listBotIssueEvents"
|
|
13692
|
+
"listBotIssueEvents",
|
|
13693
|
+
"listBotVersions"
|
|
13621
13694
|
],
|
|
13622
13695
|
"schema": "Bot"
|
|
13623
13696
|
},
|