@botpress/api 1.21.0 → 1.23.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/dist/index.js +724 -14
- package/dist/src/gen/admin/state.d.ts +61 -0
- package/dist/src/gen/files/state.d.ts +14 -0
- package/dist/src/gen/runtime/state.d.ts +15 -0
- package/dist/src/gen/state.d.ts +62 -0
- package/dist/src/gen/tables/state.d.ts +14 -0
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +67 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +17 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +18 -1
- package/src/gen/state.ts +68 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +17 -1
package/src/gen/runtime/state.ts
CHANGED
|
@@ -1269,6 +1269,7 @@ export const state = {
|
|
|
1269
1269
|
"name": {
|
|
1270
1270
|
"type": "string",
|
|
1271
1271
|
"maxLength": 200,
|
|
1272
|
+
"nullable": true,
|
|
1272
1273
|
"description": "Name of the user"
|
|
1273
1274
|
},
|
|
1274
1275
|
"pictureUrl": {
|
|
@@ -2601,7 +2602,7 @@ export const state = {
|
|
|
2601
2602
|
"title": "Botpress API",
|
|
2602
2603
|
"description": "API for Botpress Cloud",
|
|
2603
2604
|
"server": "https://api.botpress.cloud",
|
|
2604
|
-
"version": "1.
|
|
2605
|
+
"version": "1.23.0",
|
|
2605
2606
|
"prefix": "v1"
|
|
2606
2607
|
},
|
|
2607
2608
|
"errors": [
|
|
@@ -3008,6 +3009,22 @@ export const state = {
|
|
|
3008
3009
|
"type": "object",
|
|
3009
3010
|
"additionalProperties": true
|
|
3010
3011
|
},
|
|
3012
|
+
"interfaces": {
|
|
3013
|
+
"type": "object",
|
|
3014
|
+
"additionalProperties": {
|
|
3015
|
+
"type": "object",
|
|
3016
|
+
"properties": {
|
|
3017
|
+
"integrationId": {
|
|
3018
|
+
"type": "string"
|
|
3019
|
+
}
|
|
3020
|
+
},
|
|
3021
|
+
"required": [
|
|
3022
|
+
"integrationId"
|
|
3023
|
+
],
|
|
3024
|
+
"additionalProperties": false
|
|
3025
|
+
},
|
|
3026
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
3027
|
+
},
|
|
3011
3028
|
"id": {
|
|
3012
3029
|
"type": "string",
|
|
3013
3030
|
"minLength": 28,
|
package/src/gen/state.ts
CHANGED
|
@@ -1269,6 +1269,7 @@ export const state = {
|
|
|
1269
1269
|
"name": {
|
|
1270
1270
|
"type": "string",
|
|
1271
1271
|
"maxLength": 200,
|
|
1272
|
+
"nullable": true,
|
|
1272
1273
|
"description": "Name of the user"
|
|
1273
1274
|
},
|
|
1274
1275
|
"pictureUrl": {
|
|
@@ -2779,6 +2780,33 @@ export const state = {
|
|
|
2779
2780
|
},
|
|
2780
2781
|
"parameters": {}
|
|
2781
2782
|
},
|
|
2783
|
+
"deleteAccount": {
|
|
2784
|
+
"name": "deleteAccount",
|
|
2785
|
+
"description": "Delete the account associated with authenticated user",
|
|
2786
|
+
"method": "post",
|
|
2787
|
+
"path": "/v1/admin/account/me",
|
|
2788
|
+
"section": "account",
|
|
2789
|
+
"disableDefaultParameters": {
|
|
2790
|
+
"x-workspace-id": true
|
|
2791
|
+
},
|
|
2792
|
+
"requestBody": {
|
|
2793
|
+
"description": "Account",
|
|
2794
|
+
"schema": {
|
|
2795
|
+
"type": "object",
|
|
2796
|
+
"title": "deleteAccountBody",
|
|
2797
|
+
"additionalProperties": false
|
|
2798
|
+
}
|
|
2799
|
+
},
|
|
2800
|
+
"response": {
|
|
2801
|
+
"description": "Success",
|
|
2802
|
+
"schema": {
|
|
2803
|
+
"type": "object",
|
|
2804
|
+
"title": "deleteAccountResponse",
|
|
2805
|
+
"additionalProperties": false
|
|
2806
|
+
}
|
|
2807
|
+
},
|
|
2808
|
+
"parameters": {}
|
|
2809
|
+
},
|
|
2782
2810
|
"listPersonalAccessTokens": {
|
|
2783
2811
|
"name": "listPersonalAccessTokens",
|
|
2784
2812
|
"description": "List PATs (Personal Access Tokens) of account.",
|
|
@@ -7096,6 +7124,22 @@ export const state = {
|
|
|
7096
7124
|
"configuration": {
|
|
7097
7125
|
"type": "object",
|
|
7098
7126
|
"additionalProperties": true
|
|
7127
|
+
},
|
|
7128
|
+
"interfaces": {
|
|
7129
|
+
"type": "object",
|
|
7130
|
+
"additionalProperties": {
|
|
7131
|
+
"type": "object",
|
|
7132
|
+
"properties": {
|
|
7133
|
+
"integrationId": {
|
|
7134
|
+
"type": "string"
|
|
7135
|
+
}
|
|
7136
|
+
},
|
|
7137
|
+
"required": [
|
|
7138
|
+
"integrationId"
|
|
7139
|
+
],
|
|
7140
|
+
"additionalProperties": false
|
|
7141
|
+
},
|
|
7142
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
7099
7143
|
}
|
|
7100
7144
|
},
|
|
7101
7145
|
"required": [
|
|
@@ -7106,6 +7150,10 @@ export const state = {
|
|
|
7106
7150
|
},
|
|
7107
7151
|
"description": "A mapping of plugin aliases to their configuration"
|
|
7108
7152
|
},
|
|
7153
|
+
"shouldMergePlugins": {
|
|
7154
|
+
"type": "boolean",
|
|
7155
|
+
"description": "If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true"
|
|
7156
|
+
},
|
|
7109
7157
|
"subscriptions": {
|
|
7110
7158
|
"type": "object",
|
|
7111
7159
|
"properties": {
|
|
@@ -18631,7 +18679,7 @@ export const state = {
|
|
|
18631
18679
|
"title": "Botpress API",
|
|
18632
18680
|
"description": "API for Botpress Cloud",
|
|
18633
18681
|
"server": "https://api.botpress.cloud",
|
|
18634
|
-
"version": "1.
|
|
18682
|
+
"version": "1.23.0",
|
|
18635
18683
|
"prefix": "v1"
|
|
18636
18684
|
},
|
|
18637
18685
|
"errors": [
|
|
@@ -18784,6 +18832,7 @@ export const state = {
|
|
|
18784
18832
|
"trackAnalyticsBody": true,
|
|
18785
18833
|
"runVrlBody": true,
|
|
18786
18834
|
"updateAccountBody": true,
|
|
18835
|
+
"deleteAccountBody": true,
|
|
18787
18836
|
"createPersonalAccessTokenBody": true,
|
|
18788
18837
|
"setAccountPreferenceBody": true,
|
|
18789
18838
|
"createBotBody": true,
|
|
@@ -18878,6 +18927,7 @@ export const state = {
|
|
|
18878
18927
|
"runVrlResponse": true,
|
|
18879
18928
|
"getAccountResponse": true,
|
|
18880
18929
|
"updateAccountResponse": true,
|
|
18930
|
+
"deleteAccountResponse": true,
|
|
18881
18931
|
"listPersonalAccessTokensResponse": true,
|
|
18882
18932
|
"createPersonalAccessTokenResponse": true,
|
|
18883
18933
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -19215,6 +19265,22 @@ export const state = {
|
|
|
19215
19265
|
"type": "object",
|
|
19216
19266
|
"additionalProperties": true
|
|
19217
19267
|
},
|
|
19268
|
+
"interfaces": {
|
|
19269
|
+
"type": "object",
|
|
19270
|
+
"additionalProperties": {
|
|
19271
|
+
"type": "object",
|
|
19272
|
+
"properties": {
|
|
19273
|
+
"integrationId": {
|
|
19274
|
+
"type": "string"
|
|
19275
|
+
}
|
|
19276
|
+
},
|
|
19277
|
+
"required": [
|
|
19278
|
+
"integrationId"
|
|
19279
|
+
],
|
|
19280
|
+
"additionalProperties": false
|
|
19281
|
+
},
|
|
19282
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
19283
|
+
},
|
|
19218
19284
|
"id": {
|
|
19219
19285
|
"type": "string",
|
|
19220
19286
|
"minLength": 28,
|
|
@@ -22747,6 +22813,7 @@ export const state = {
|
|
|
22747
22813
|
"operations": [
|
|
22748
22814
|
"getAccount",
|
|
22749
22815
|
"updateAccount",
|
|
22816
|
+
"deleteAccount",
|
|
22750
22817
|
"listPersonalAccessTokens",
|
|
22751
22818
|
"createPersonalAccessToken",
|
|
22752
22819
|
"deletePersonalAccessToken",
|