@botpress/api 0.74.0 → 0.76.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 CHANGED
@@ -288453,10 +288453,63 @@ var state = {
288453
288453
  "total": {
288454
288454
  "type": "number",
288455
288455
  "description": "Total amount to pay of the invoice."
288456
+ },
288457
+ "lineItems": {
288458
+ "type": "array",
288459
+ "items": {
288460
+ "type": "object",
288461
+ "properties": {
288462
+ "id": {
288463
+ "type": "string"
288464
+ },
288465
+ "description": {
288466
+ "type": "string",
288467
+ "description": "Description of the line item."
288468
+ },
288469
+ "totalInCents": {
288470
+ "type": "number",
288471
+ "description": "Total amount to pay (in cents) of the line item."
288472
+ },
288473
+ "currency": {
288474
+ "type": "string",
288475
+ "maxLength": 3,
288476
+ "description": "Three-letter ISO currency code, in lowercase."
288477
+ },
288478
+ "pricePerUnitInCents": {
288479
+ "type": "number",
288480
+ "description": "Price per unit (in cents) of the line item.",
288481
+ "nullable": true
288482
+ },
288483
+ "quantity": {
288484
+ "type": "number",
288485
+ "description": "The quantity of the subscription, if the line item is a subscription or a proration.",
288486
+ "nullable": true
288487
+ },
288488
+ "type": {
288489
+ "type": "string",
288490
+ "enum": [
288491
+ "invoiceitem",
288492
+ "subscription"
288493
+ ],
288494
+ "description": "Type of the line item."
288495
+ }
288496
+ },
288497
+ "required": [
288498
+ "id",
288499
+ "description",
288500
+ "totalInCents",
288501
+ "currency",
288502
+ "pricePerUnitInCents",
288503
+ "quantity",
288504
+ "type"
288505
+ ]
288506
+ },
288507
+ "description": "List of items included in the invoice."
288456
288508
  }
288457
288509
  },
288458
288510
  "required": [
288459
- "total"
288511
+ "total",
288512
+ "lineItems"
288460
288513
  ],
288461
288514
  "title": "getUpcomingInvoiceResponse",
288462
288515
  "additionalProperties": false
@@ -293733,6 +293786,25 @@ var state = {
293733
293786
  "browser"
293734
293787
  ],
293735
293788
  "additionalProperties": false
293789
+ },
293790
+ "icon": {
293791
+ "type": "string",
293792
+ "description": "Base64 encoded svg of the plugin icon. This icon is global to the plugin each versions will be updated when this changes."
293793
+ },
293794
+ "readme": {
293795
+ "type": "string",
293796
+ "description": "Base64 encoded markdown of the plugin readme. The readme is specific to each plugin versions."
293797
+ },
293798
+ "title": {
293799
+ "type": "string",
293800
+ "minLength": 1,
293801
+ "maxLength": 64,
293802
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
293803
+ },
293804
+ "description": {
293805
+ "type": "string",
293806
+ "maxLength": 256,
293807
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
293736
293808
  }
293737
293809
  },
293738
293810
  "required": [
@@ -294100,6 +294172,25 @@ var state = {
294100
294172
  }
294101
294173
  },
294102
294174
  "additionalProperties": false
294175
+ },
294176
+ "icon": {
294177
+ "type": "string",
294178
+ "description": "Base64 encoded svg of the plugin icon. This icon is global to the plugin each versions will be updated when this changes."
294179
+ },
294180
+ "readme": {
294181
+ "type": "string",
294182
+ "description": "Base64 encoded markdown of the plugin readme. The readme is specific to each plugin versions."
294183
+ },
294184
+ "title": {
294185
+ "type": "string",
294186
+ "minLength": 1,
294187
+ "maxLength": 64,
294188
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
294189
+ },
294190
+ "description": {
294191
+ "type": "string",
294192
+ "maxLength": 256,
294193
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
294103
294194
  }
294104
294195
  },
294105
294196
  "title": "updatePluginBody",
@@ -297294,7 +297385,7 @@ var state = {
297294
297385
  "title": "Botpress API",
297295
297386
  "description": "API for Botpress Cloud",
297296
297387
  "server": "https://api.botpress.cloud",
297297
- "version": "0.74.0",
297388
+ "version": "0.76.0",
297298
297389
  "prefix": "v1"
297299
297390
  },
297300
297391
  "errors": [
@@ -299341,6 +299432,25 @@ var state = {
299341
299432
  ],
299342
299433
  "description": "Conversation object configuration",
299343
299434
  "additionalProperties": false
299435
+ },
299436
+ "title": {
299437
+ "type": "string",
299438
+ "minLength": 1,
299439
+ "maxLength": 64,
299440
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
299441
+ },
299442
+ "description": {
299443
+ "type": "string",
299444
+ "maxLength": 256,
299445
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
299446
+ },
299447
+ "iconUrl": {
299448
+ "type": "string",
299449
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
299450
+ },
299451
+ "readmeUrl": {
299452
+ "type": "string",
299453
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
299344
299454
  }
299345
299455
  },
299346
299456
  "required": [
@@ -299355,9 +299465,12 @@ var state = {
299355
299465
  "actions",
299356
299466
  "dependencies",
299357
299467
  "user",
299358
- "conversation"
299468
+ "conversation",
299469
+ "title",
299470
+ "description",
299471
+ "iconUrl",
299472
+ "readmeUrl"
299359
299473
  ],
299360
- "description": "Plugin definition",
299361
299474
  "additionalProperties": false
299362
299475
  }
299363
299476
  },
@@ -5703,6 +5703,47 @@ export declare const state: {
5703
5703
  type: "number";
5704
5704
  description: string;
5705
5705
  };
5706
+ lineItems: {
5707
+ type: "array";
5708
+ items: {
5709
+ type: "object";
5710
+ properties: {
5711
+ id: {
5712
+ type: "string";
5713
+ };
5714
+ description: {
5715
+ type: "string";
5716
+ description: string;
5717
+ };
5718
+ totalInCents: {
5719
+ type: "number";
5720
+ description: string;
5721
+ };
5722
+ currency: {
5723
+ type: "string";
5724
+ maxLength: number;
5725
+ description: string;
5726
+ };
5727
+ pricePerUnitInCents: {
5728
+ type: "number";
5729
+ description: string;
5730
+ nullable: true;
5731
+ };
5732
+ quantity: {
5733
+ type: "number";
5734
+ description: string;
5735
+ nullable: true;
5736
+ };
5737
+ type: {
5738
+ type: "string";
5739
+ enum: string[];
5740
+ description: string;
5741
+ };
5742
+ };
5743
+ required: string[];
5744
+ };
5745
+ description: string;
5746
+ };
5706
5747
  };
5707
5748
  required: string[];
5708
5749
  title: string;
@@ -10379,6 +10420,25 @@ export declare const state: {
10379
10420
  required: string[];
10380
10421
  additionalProperties: false;
10381
10422
  };
10423
+ icon: {
10424
+ type: "string";
10425
+ description: string;
10426
+ };
10427
+ readme: {
10428
+ type: "string";
10429
+ description: string;
10430
+ };
10431
+ title: {
10432
+ type: "string";
10433
+ minLength: number;
10434
+ maxLength: number;
10435
+ description: string;
10436
+ };
10437
+ description: {
10438
+ type: "string";
10439
+ maxLength: number;
10440
+ description: string;
10441
+ };
10382
10442
  };
10383
10443
  required: string[];
10384
10444
  title: string;
@@ -10709,6 +10769,25 @@ export declare const state: {
10709
10769
  };
10710
10770
  additionalProperties: false;
10711
10771
  };
10772
+ icon: {
10773
+ type: "string";
10774
+ description: string;
10775
+ };
10776
+ readme: {
10777
+ type: "string";
10778
+ description: string;
10779
+ };
10780
+ title: {
10781
+ type: "string";
10782
+ minLength: number;
10783
+ maxLength: number;
10784
+ description: string;
10785
+ };
10786
+ description: {
10787
+ type: "string";
10788
+ maxLength: number;
10789
+ description: string;
10790
+ };
10712
10791
  };
10713
10792
  title: string;
10714
10793
  additionalProperties: false;
@@ -15185,9 +15264,27 @@ export declare const state: {
15185
15264
  description: string;
15186
15265
  additionalProperties: false;
15187
15266
  };
15267
+ title: {
15268
+ type: "string";
15269
+ minLength: number;
15270
+ maxLength: number;
15271
+ description: string;
15272
+ };
15273
+ description: {
15274
+ type: "string";
15275
+ maxLength: number;
15276
+ description: string;
15277
+ };
15278
+ iconUrl: {
15279
+ type: "string";
15280
+ description: string;
15281
+ };
15282
+ readmeUrl: {
15283
+ type: "string";
15284
+ description: string;
15285
+ };
15188
15286
  };
15189
15287
  required: string[];
15190
- description: string;
15191
15288
  additionalProperties: false;
15192
15289
  };
15193
15290
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.74.0",
3
+ "version": "0.76.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {