@botpress/api 0.75.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
@@ -297332,7 +297385,7 @@ var state = {
297332
297385
  "title": "Botpress API",
297333
297386
  "description": "API for Botpress Cloud",
297334
297387
  "server": "https://api.botpress.cloud",
297335
- "version": "0.75.0",
297388
+ "version": "0.76.0",
297336
297389
  "prefix": "v1"
297337
297390
  },
297338
297391
  "errors": [
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.75.0",
3
+ "version": "0.76.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {