@botpress/api 0.15.0 → 0.15.3
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 +36 -0
- package/dist/index.js +63 -7
- package/package.json +2 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +45 -1
package/src/gen/state.ts
CHANGED
|
@@ -2429,6 +2429,13 @@ export const state = {
|
|
|
2429
2429
|
method: "get",
|
|
2430
2430
|
path: "/v1/admin/bots",
|
|
2431
2431
|
parameters: {
|
|
2432
|
+
dev: {
|
|
2433
|
+
in: "query",
|
|
2434
|
+
description:
|
|
2435
|
+
"If true, only dev bots are returned. Otherwise, only production bots are returned.",
|
|
2436
|
+
type: "boolean",
|
|
2437
|
+
required: false,
|
|
2438
|
+
},
|
|
2432
2439
|
nextToken: {
|
|
2433
2440
|
in: "query",
|
|
2434
2441
|
description:
|
|
@@ -3341,6 +3348,10 @@ export const state = {
|
|
|
3341
3348
|
type: "string",
|
|
3342
3349
|
enum: ["free", "premium"],
|
|
3343
3350
|
},
|
|
3351
|
+
billingVersion: {
|
|
3352
|
+
type: "string",
|
|
3353
|
+
enum: ["v1", "v2"],
|
|
3354
|
+
},
|
|
3344
3355
|
plan: {
|
|
3345
3356
|
type: "string",
|
|
3346
3357
|
enum: ["community", "team", "enterprise"],
|
|
@@ -3360,6 +3371,7 @@ export const state = {
|
|
|
3360
3371
|
"updatedAt",
|
|
3361
3372
|
"botCount",
|
|
3362
3373
|
"accountType",
|
|
3374
|
+
"billingVersion",
|
|
3363
3375
|
"plan",
|
|
3364
3376
|
"blocked",
|
|
3365
3377
|
"spendingLimit",
|
|
@@ -3413,6 +3425,10 @@ export const state = {
|
|
|
3413
3425
|
type: "string",
|
|
3414
3426
|
enum: ["free", "premium"],
|
|
3415
3427
|
},
|
|
3428
|
+
billingVersion: {
|
|
3429
|
+
type: "string",
|
|
3430
|
+
enum: ["v1", "v2"],
|
|
3431
|
+
},
|
|
3416
3432
|
plan: {
|
|
3417
3433
|
type: "string",
|
|
3418
3434
|
enum: ["community", "team", "enterprise"],
|
|
@@ -3432,6 +3448,7 @@ export const state = {
|
|
|
3432
3448
|
"updatedAt",
|
|
3433
3449
|
"botCount",
|
|
3434
3450
|
"accountType",
|
|
3451
|
+
"billingVersion",
|
|
3435
3452
|
"plan",
|
|
3436
3453
|
"blocked",
|
|
3437
3454
|
"spendingLimit",
|
|
@@ -3720,6 +3737,10 @@ export const state = {
|
|
|
3720
3737
|
type: "string",
|
|
3721
3738
|
enum: ["free", "premium"],
|
|
3722
3739
|
},
|
|
3740
|
+
billingVersion: {
|
|
3741
|
+
type: "string",
|
|
3742
|
+
enum: ["v1", "v2"],
|
|
3743
|
+
},
|
|
3723
3744
|
plan: {
|
|
3724
3745
|
type: "string",
|
|
3725
3746
|
enum: ["community", "team", "enterprise"],
|
|
@@ -3739,6 +3760,7 @@ export const state = {
|
|
|
3739
3760
|
"updatedAt",
|
|
3740
3761
|
"botCount",
|
|
3741
3762
|
"accountType",
|
|
3763
|
+
"billingVersion",
|
|
3742
3764
|
"plan",
|
|
3743
3765
|
"blocked",
|
|
3744
3766
|
"spendingLimit",
|
|
@@ -3797,6 +3819,10 @@ export const state = {
|
|
|
3797
3819
|
type: "string",
|
|
3798
3820
|
enum: ["free", "premium"],
|
|
3799
3821
|
},
|
|
3822
|
+
billingVersion: {
|
|
3823
|
+
type: "string",
|
|
3824
|
+
enum: ["v1", "v2"],
|
|
3825
|
+
},
|
|
3800
3826
|
plan: {
|
|
3801
3827
|
type: "string",
|
|
3802
3828
|
enum: ["community", "team", "enterprise"],
|
|
@@ -3816,6 +3842,7 @@ export const state = {
|
|
|
3816
3842
|
"updatedAt",
|
|
3817
3843
|
"botCount",
|
|
3818
3844
|
"accountType",
|
|
3845
|
+
"billingVersion",
|
|
3819
3846
|
"plan",
|
|
3820
3847
|
"blocked",
|
|
3821
3848
|
"spendingLimit",
|
|
@@ -3899,6 +3926,10 @@ export const state = {
|
|
|
3899
3926
|
type: "string",
|
|
3900
3927
|
enum: ["free", "premium"],
|
|
3901
3928
|
},
|
|
3929
|
+
billingVersion: {
|
|
3930
|
+
type: "string",
|
|
3931
|
+
enum: ["v1", "v2"],
|
|
3932
|
+
},
|
|
3902
3933
|
plan: {
|
|
3903
3934
|
type: "string",
|
|
3904
3935
|
enum: ["community", "team", "enterprise"],
|
|
@@ -3918,6 +3949,7 @@ export const state = {
|
|
|
3918
3949
|
"updatedAt",
|
|
3919
3950
|
"botCount",
|
|
3920
3951
|
"accountType",
|
|
3952
|
+
"billingVersion",
|
|
3921
3953
|
"plan",
|
|
3922
3954
|
"blocked",
|
|
3923
3955
|
"spendingLimit",
|
|
@@ -5051,6 +5083,13 @@ export const state = {
|
|
|
5051
5083
|
'Integration version. Either a semver version or tag "latest"',
|
|
5052
5084
|
in: "query",
|
|
5053
5085
|
},
|
|
5086
|
+
dev: {
|
|
5087
|
+
in: "query",
|
|
5088
|
+
description:
|
|
5089
|
+
"If true, only dev integrations are returned. Otherwise, only production integrations are returned.",
|
|
5090
|
+
type: "boolean",
|
|
5091
|
+
required: false,
|
|
5092
|
+
},
|
|
5054
5093
|
},
|
|
5055
5094
|
response: {
|
|
5056
5095
|
description: "Success",
|
|
@@ -5646,7 +5685,7 @@ export const state = {
|
|
|
5646
5685
|
title: "Botpress API",
|
|
5647
5686
|
description: "API for Botpress Cloud",
|
|
5648
5687
|
server: "https://api.botpress.cloud",
|
|
5649
|
-
version: "0.15.
|
|
5688
|
+
version: "0.15.3",
|
|
5650
5689
|
prefix: "v1",
|
|
5651
5690
|
},
|
|
5652
5691
|
errors: [
|
|
@@ -6718,6 +6757,10 @@ export const state = {
|
|
|
6718
6757
|
type: "string",
|
|
6719
6758
|
enum: ["free", "premium"],
|
|
6720
6759
|
},
|
|
6760
|
+
billingVersion: {
|
|
6761
|
+
type: "string",
|
|
6762
|
+
enum: ["v1", "v2"],
|
|
6763
|
+
},
|
|
6721
6764
|
plan: {
|
|
6722
6765
|
type: "string",
|
|
6723
6766
|
enum: ["community", "team", "enterprise"],
|
|
@@ -6737,6 +6780,7 @@ export const state = {
|
|
|
6737
6780
|
"updatedAt",
|
|
6738
6781
|
"botCount",
|
|
6739
6782
|
"accountType",
|
|
6783
|
+
"billingVersion",
|
|
6740
6784
|
"plan",
|
|
6741
6785
|
"blocked",
|
|
6742
6786
|
"spendingLimit",
|