@botpress/api 1.69.0 → 1.70.1
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 +48 -12
- package/dist/src/gen/admin/state.d.ts +2 -0
- package/dist/src/gen/billing/state.d.ts +30 -0
- package/dist/src/gen/state.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -279363,7 +279363,7 @@ var state = {
|
|
|
279363
279363
|
"title": "Botpress Runtime API",
|
|
279364
279364
|
"description": "API for Botpress Runtime",
|
|
279365
279365
|
"server": "https://api.botpress.cloud",
|
|
279366
|
-
"version": "1.
|
|
279366
|
+
"version": "1.70.1",
|
|
279367
279367
|
"prefix": "v1"
|
|
279368
279368
|
},
|
|
279369
279369
|
"defaultParameters": {
|
|
@@ -285149,7 +285149,7 @@ var state2 = {
|
|
|
285149
285149
|
},
|
|
285150
285150
|
"url": {
|
|
285151
285151
|
"type": "string",
|
|
285152
|
-
"description": "URL of the [Bot](#schema_bot)
|
|
285152
|
+
"description": "URL of the [Bot](#schema_bot)"
|
|
285153
285153
|
},
|
|
285154
285154
|
"dev": {
|
|
285155
285155
|
"type": "boolean",
|
|
@@ -285226,7 +285226,8 @@ var state2 = {
|
|
|
285226
285226
|
"properties": {
|
|
285227
285227
|
"url": {
|
|
285228
285228
|
"type": "string",
|
|
285229
|
-
"description": "URL of the [Bot](#schema_bot)
|
|
285229
|
+
"description": "URL of the [Bot](#schema_bot)",
|
|
285230
|
+
"nullable": true
|
|
285230
285231
|
},
|
|
285231
285232
|
"authentication": {
|
|
285232
285233
|
"type": "string",
|
|
@@ -286442,7 +286443,8 @@ var state2 = {
|
|
|
286442
286443
|
"description": "ISO 8601 timestamp of the action run"
|
|
286443
286444
|
},
|
|
286444
286445
|
"integrationName": {
|
|
286445
|
-
"type": "string"
|
|
286446
|
+
"type": "string",
|
|
286447
|
+
"description": "Alias of the integration instance used for this action run"
|
|
286446
286448
|
},
|
|
286447
286449
|
"actionType": {
|
|
286448
286450
|
"type": "string"
|
|
@@ -295785,7 +295787,7 @@ var state2 = {
|
|
|
295785
295787
|
"title": "Botpress Admin API",
|
|
295786
295788
|
"description": "API for Botpress Cloud Manager",
|
|
295787
295789
|
"server": "https://api.botpress.cloud",
|
|
295788
|
-
"version": "1.
|
|
295790
|
+
"version": "1.70.1",
|
|
295789
295791
|
"prefix": "v1"
|
|
295790
295792
|
},
|
|
295791
295793
|
"defaultParameters": {
|
|
@@ -301294,7 +301296,7 @@ var state3 = {
|
|
|
301294
301296
|
"title": "Botpress Files API",
|
|
301295
301297
|
"description": "API for Botpress Files",
|
|
301296
301298
|
"server": "https://api.botpress.cloud",
|
|
301297
|
-
"version": "1.
|
|
301299
|
+
"version": "1.70.1",
|
|
301298
301300
|
"prefix": "v1"
|
|
301299
301301
|
},
|
|
301300
301302
|
"defaultParameters": {
|
|
@@ -303590,7 +303592,7 @@ var state4 = {
|
|
|
303590
303592
|
"title": "Botpress Tables API",
|
|
303591
303593
|
"description": "API for Botpress Tables",
|
|
303592
303594
|
"server": "https://api.botpress.cloud",
|
|
303593
|
-
"version": "1.
|
|
303595
|
+
"version": "1.70.1",
|
|
303594
303596
|
"prefix": "v1"
|
|
303595
303597
|
},
|
|
303596
303598
|
"defaultParameters": {
|
|
@@ -312085,7 +312087,7 @@ var state5 = {
|
|
|
312085
312087
|
},
|
|
312086
312088
|
"url": {
|
|
312087
312089
|
"type": "string",
|
|
312088
|
-
"description": "URL of the [Bot](#schema_bot)
|
|
312090
|
+
"description": "URL of the [Bot](#schema_bot)"
|
|
312089
312091
|
},
|
|
312090
312092
|
"dev": {
|
|
312091
312093
|
"type": "boolean",
|
|
@@ -312137,7 +312139,8 @@ var state5 = {
|
|
|
312137
312139
|
"properties": {
|
|
312138
312140
|
"url": {
|
|
312139
312141
|
"type": "string",
|
|
312140
|
-
"description": "URL of the [Bot](#schema_bot)
|
|
312142
|
+
"description": "URL of the [Bot](#schema_bot)",
|
|
312143
|
+
"nullable": true
|
|
312141
312144
|
},
|
|
312142
312145
|
"authentication": {
|
|
312143
312146
|
"type": "string",
|
|
@@ -313257,7 +313260,8 @@ var state5 = {
|
|
|
313257
313260
|
"description": "ISO 8601 timestamp of the action run"
|
|
313258
313261
|
},
|
|
313259
313262
|
"integrationName": {
|
|
313260
|
-
"type": "string"
|
|
313263
|
+
"type": "string",
|
|
313264
|
+
"description": "Alias of the integration instance used for this action run"
|
|
313261
313265
|
},
|
|
313262
313266
|
"actionType": {
|
|
313263
313267
|
"type": "string"
|
|
@@ -324999,7 +325003,7 @@ var state5 = {
|
|
|
324999
325003
|
"title": "Botpress API",
|
|
325000
325004
|
"description": "API for Botpress Cloud",
|
|
325001
325005
|
"server": "https://api.botpress.cloud",
|
|
325002
|
-
"version": "1.
|
|
325006
|
+
"version": "1.70.1",
|
|
325003
325007
|
"prefix": "v1"
|
|
325004
325008
|
},
|
|
325005
325009
|
"errors": [
|
|
@@ -329442,6 +329446,37 @@ __export(state_exports5, {
|
|
|
329442
329446
|
});
|
|
329443
329447
|
var state6 = {
|
|
329444
329448
|
"operations": {
|
|
329449
|
+
"getBillingReadonly": {
|
|
329450
|
+
"name": "getBillingReadonly",
|
|
329451
|
+
"description": "Get whether billing is readonly for the authenticated workspace",
|
|
329452
|
+
"method": "get",
|
|
329453
|
+
"path": "/v2/billing/readonly",
|
|
329454
|
+
"response": {
|
|
329455
|
+
"description": "Whether billing is readonly for this workspace",
|
|
329456
|
+
"status": 200,
|
|
329457
|
+
"schema": {
|
|
329458
|
+
"type": "object",
|
|
329459
|
+
"properties": {
|
|
329460
|
+
"billingReadonly": {
|
|
329461
|
+
"type": "boolean"
|
|
329462
|
+
}
|
|
329463
|
+
},
|
|
329464
|
+
"required": [
|
|
329465
|
+
"billingReadonly"
|
|
329466
|
+
],
|
|
329467
|
+
"title": "getBillingReadonlyResponse",
|
|
329468
|
+
"additionalProperties": false
|
|
329469
|
+
}
|
|
329470
|
+
},
|
|
329471
|
+
"parameters": {
|
|
329472
|
+
"x-workspace-id": {
|
|
329473
|
+
"in": "header",
|
|
329474
|
+
"type": "string",
|
|
329475
|
+
"description": "Workspace ID",
|
|
329476
|
+
"required": true
|
|
329477
|
+
}
|
|
329478
|
+
}
|
|
329479
|
+
},
|
|
329445
329480
|
"getPlan": {
|
|
329446
329481
|
"name": "getPlan",
|
|
329447
329482
|
"description": "Get plan details",
|
|
@@ -330247,7 +330282,7 @@ var state6 = {
|
|
|
330247
330282
|
"title": "Botpress Billing Public API",
|
|
330248
330283
|
"description": "API for Botpress Billing",
|
|
330249
330284
|
"server": "https://api.botpress.cloud",
|
|
330250
|
-
"version": "1.
|
|
330285
|
+
"version": "1.70.1",
|
|
330251
330286
|
"prefix": "v2"
|
|
330252
330287
|
},
|
|
330253
330288
|
"defaultParameters": {
|
|
@@ -330398,6 +330433,7 @@ var state6 = {
|
|
|
330398
330433
|
"createPaymentMethodIntentBody": true
|
|
330399
330434
|
},
|
|
330400
330435
|
"responses": {
|
|
330436
|
+
"getBillingReadonlyResponse": true,
|
|
330401
330437
|
"getPlanResponse": true,
|
|
330402
330438
|
"listPlansResponse": true,
|
|
330403
330439
|
"getAddonResponse": true,
|
|
@@ -4273,6 +4273,7 @@ export declare const state: {
|
|
|
4273
4273
|
url: {
|
|
4274
4274
|
type: "string";
|
|
4275
4275
|
description: string;
|
|
4276
|
+
nullable: true;
|
|
4276
4277
|
};
|
|
4277
4278
|
authentication: {
|
|
4278
4279
|
type: "string";
|
|
@@ -5367,6 +5368,7 @@ export declare const state: {
|
|
|
5367
5368
|
};
|
|
5368
5369
|
integrationName: {
|
|
5369
5370
|
type: "string";
|
|
5371
|
+
description: string;
|
|
5370
5372
|
};
|
|
5371
5373
|
actionType: {
|
|
5372
5374
|
type: "string";
|
|
@@ -2,6 +2,35 @@ import * as opapi from '@bpinternal/opapi';
|
|
|
2
2
|
export type State = opapi.State<'Invoice', 'x-workspace-id', 'invoice'>;
|
|
3
3
|
export declare const state: {
|
|
4
4
|
operations: {
|
|
5
|
+
getBillingReadonly: {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
method: "get";
|
|
9
|
+
path: string;
|
|
10
|
+
response: {
|
|
11
|
+
description: string;
|
|
12
|
+
status: 200;
|
|
13
|
+
schema: {
|
|
14
|
+
type: "object";
|
|
15
|
+
properties: {
|
|
16
|
+
billingReadonly: {
|
|
17
|
+
type: "boolean";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
required: string[];
|
|
21
|
+
title: string;
|
|
22
|
+
additionalProperties: false;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
parameters: {
|
|
26
|
+
"x-workspace-id": {
|
|
27
|
+
in: "header";
|
|
28
|
+
type: "string";
|
|
29
|
+
description: string;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
5
34
|
getPlan: {
|
|
6
35
|
name: string;
|
|
7
36
|
description: string;
|
|
@@ -722,6 +751,7 @@ export declare const state: {
|
|
|
722
751
|
createPaymentMethodIntentBody: true;
|
|
723
752
|
};
|
|
724
753
|
responses: {
|
|
754
|
+
getBillingReadonlyResponse: true;
|
|
725
755
|
getPlanResponse: true;
|
|
726
756
|
listPlansResponse: true;
|
|
727
757
|
getAddonResponse: true;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -6846,6 +6846,7 @@ export declare const state: {
|
|
|
6846
6846
|
url: {
|
|
6847
6847
|
type: "string";
|
|
6848
6848
|
description: string;
|
|
6849
|
+
nullable: true;
|
|
6849
6850
|
};
|
|
6850
6851
|
authentication: {
|
|
6851
6852
|
type: "string";
|
|
@@ -7844,6 +7845,7 @@ export declare const state: {
|
|
|
7844
7845
|
};
|
|
7845
7846
|
integrationName: {
|
|
7846
7847
|
type: "string";
|
|
7848
|
+
description: string;
|
|
7847
7849
|
};
|
|
7848
7850
|
actionType: {
|
|
7849
7851
|
type: "string";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.70.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@botpress/cloud-manager": "0.2.0",
|
|
13
13
|
"@botpress/common": "0.5.0",
|
|
14
14
|
"@botpress/files-api": "0.18.0",
|
|
15
|
-
"@bpinternal/const": "0.4.
|
|
15
|
+
"@bpinternal/const": "0.4.2",
|
|
16
16
|
"@bpinternal/tables-api": "0.17.2",
|
|
17
17
|
"@botpress/smaug": "1.0.0"
|
|
18
18
|
},
|