@botpress/api 1.70.0 → 1.70.2

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 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.70.0",
279366
+ "version": "1.70.2",
279367
279367
  "prefix": "v1"
279368
279368
  },
279369
279369
  "defaultParameters": {
@@ -286443,7 +286443,8 @@ var state2 = {
286443
286443
  "description": "ISO 8601 timestamp of the action run"
286444
286444
  },
286445
286445
  "integrationName": {
286446
- "type": "string"
286446
+ "type": "string",
286447
+ "description": "Alias of the integration instance used for this action run"
286447
286448
  },
286448
286449
  "actionType": {
286449
286450
  "type": "string"
@@ -295786,7 +295787,7 @@ var state2 = {
295786
295787
  "title": "Botpress Admin API",
295787
295788
  "description": "API for Botpress Cloud Manager",
295788
295789
  "server": "https://api.botpress.cloud",
295789
- "version": "1.70.0",
295790
+ "version": "1.70.2",
295790
295791
  "prefix": "v1"
295791
295792
  },
295792
295793
  "defaultParameters": {
@@ -301295,7 +301296,7 @@ var state3 = {
301295
301296
  "title": "Botpress Files API",
301296
301297
  "description": "API for Botpress Files",
301297
301298
  "server": "https://api.botpress.cloud",
301298
- "version": "1.70.0",
301299
+ "version": "1.70.2",
301299
301300
  "prefix": "v1"
301300
301301
  },
301301
301302
  "defaultParameters": {
@@ -303591,7 +303592,7 @@ var state4 = {
303591
303592
  "title": "Botpress Tables API",
303592
303593
  "description": "API for Botpress Tables",
303593
303594
  "server": "https://api.botpress.cloud",
303594
- "version": "1.70.0",
303595
+ "version": "1.70.2",
303595
303596
  "prefix": "v1"
303596
303597
  },
303597
303598
  "defaultParameters": {
@@ -313259,7 +313260,8 @@ var state5 = {
313259
313260
  "description": "ISO 8601 timestamp of the action run"
313260
313261
  },
313261
313262
  "integrationName": {
313262
- "type": "string"
313263
+ "type": "string",
313264
+ "description": "Alias of the integration instance used for this action run"
313263
313265
  },
313264
313266
  "actionType": {
313265
313267
  "type": "string"
@@ -325001,7 +325003,7 @@ var state5 = {
325001
325003
  "title": "Botpress API",
325002
325004
  "description": "API for Botpress Cloud",
325003
325005
  "server": "https://api.botpress.cloud",
325004
- "version": "1.70.0",
325006
+ "version": "1.70.2",
325005
325007
  "prefix": "v1"
325006
325008
  },
325007
325009
  "errors": [
@@ -329444,6 +329446,37 @@ __export(state_exports5, {
329444
329446
  });
329445
329447
  var state6 = {
329446
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
+ },
329447
329480
  "getPlan": {
329448
329481
  "name": "getPlan",
329449
329482
  "description": "Get plan details",
@@ -330249,7 +330282,7 @@ var state6 = {
330249
330282
  "title": "Botpress Billing Public API",
330250
330283
  "description": "API for Botpress Billing",
330251
330284
  "server": "https://api.botpress.cloud",
330252
- "version": "1.70.0",
330285
+ "version": "1.70.2",
330253
330286
  "prefix": "v2"
330254
330287
  },
330255
330288
  "defaultParameters": {
@@ -330400,6 +330433,7 @@ var state6 = {
330400
330433
  "createPaymentMethodIntentBody": true
330401
330434
  },
330402
330435
  "responses": {
330436
+ "getBillingReadonlyResponse": true,
330403
330437
  "getPlanResponse": true,
330404
330438
  "listPlansResponse": true,
330405
330439
  "getAddonResponse": true,
@@ -5368,6 +5368,7 @@ export declare const state: {
5368
5368
  };
5369
5369
  integrationName: {
5370
5370
  type: "string";
5371
+ description: string;
5371
5372
  };
5372
5373
  actionType: {
5373
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;
@@ -7845,6 +7845,7 @@ export declare const state: {
7845
7845
  };
7846
7846
  integrationName: {
7847
7847
  type: "string";
7848
+ description: string;
7848
7849
  };
7849
7850
  actionType: {
7850
7851
  type: "string";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.70.0",
3
+ "version": "1.70.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -8,13 +8,13 @@
8
8
  "esbuild": "0.27.1",
9
9
  "zod": "^3.24.4",
10
10
  "typescript": "5.9.3",
11
+ "@botpress/bridge": "1.8.0",
11
12
  "@botpress/cloud-manager": "0.2.0",
12
13
  "@botpress/common": "0.5.0",
13
14
  "@botpress/files-api": "0.18.0",
14
- "@bpinternal/const": "0.4.1",
15
- "@botpress/bridge": "1.8.0",
16
- "@bpinternal/tables-api": "0.17.2",
17
- "@botpress/smaug": "1.0.0"
15
+ "@bpinternal/const": "0.4.2",
16
+ "@botpress/smaug": "1.0.0",
17
+ "@bpinternal/tables-api": "0.17.2"
18
18
  },
19
19
  "dependencies": {
20
20
  "@bpinternal/opapi": "1.0.0"