@botpress/api 1.21.0 → 1.22.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 +67 -5
- package/dist/src/gen/admin/state.d.ts +29 -0
- package/dist/src/gen/runtime/state.d.ts +1 -0
- package/dist/src/gen/state.d.ts +30 -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 +31 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +1 -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 +2 -1
- package/src/gen/state.ts +32 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -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.22.0",
|
|
2605
2606
|
"prefix": "v1"
|
|
2606
2607
|
},
|
|
2607
2608
|
"errors": [
|
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.",
|
|
@@ -18631,7 +18659,7 @@ export const state = {
|
|
|
18631
18659
|
"title": "Botpress API",
|
|
18632
18660
|
"description": "API for Botpress Cloud",
|
|
18633
18661
|
"server": "https://api.botpress.cloud",
|
|
18634
|
-
"version": "1.
|
|
18662
|
+
"version": "1.22.0",
|
|
18635
18663
|
"prefix": "v1"
|
|
18636
18664
|
},
|
|
18637
18665
|
"errors": [
|
|
@@ -18784,6 +18812,7 @@ export const state = {
|
|
|
18784
18812
|
"trackAnalyticsBody": true,
|
|
18785
18813
|
"runVrlBody": true,
|
|
18786
18814
|
"updateAccountBody": true,
|
|
18815
|
+
"deleteAccountBody": true,
|
|
18787
18816
|
"createPersonalAccessTokenBody": true,
|
|
18788
18817
|
"setAccountPreferenceBody": true,
|
|
18789
18818
|
"createBotBody": true,
|
|
@@ -18878,6 +18907,7 @@ export const state = {
|
|
|
18878
18907
|
"runVrlResponse": true,
|
|
18879
18908
|
"getAccountResponse": true,
|
|
18880
18909
|
"updateAccountResponse": true,
|
|
18910
|
+
"deleteAccountResponse": true,
|
|
18881
18911
|
"listPersonalAccessTokensResponse": true,
|
|
18882
18912
|
"createPersonalAccessTokenResponse": true,
|
|
18883
18913
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -22747,6 +22777,7 @@ export const state = {
|
|
|
22747
22777
|
"operations": [
|
|
22748
22778
|
"getAccount",
|
|
22749
22779
|
"updateAccount",
|
|
22780
|
+
"deleteAccount",
|
|
22750
22781
|
"listPersonalAccessTokens",
|
|
22751
22782
|
"createPersonalAccessToken",
|
|
22752
22783
|
"deletePersonalAccessToken",
|