@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 +55 -2
- package/dist/src/gen/state.d.ts +41 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +55 -2
package/src/gen/state.ts
CHANGED
|
@@ -6442,10 +6442,63 @@ export const state = {
|
|
|
6442
6442
|
"total": {
|
|
6443
6443
|
"type": "number",
|
|
6444
6444
|
"description": "Total amount to pay of the invoice."
|
|
6445
|
+
},
|
|
6446
|
+
"lineItems": {
|
|
6447
|
+
"type": "array",
|
|
6448
|
+
"items": {
|
|
6449
|
+
"type": "object",
|
|
6450
|
+
"properties": {
|
|
6451
|
+
"id": {
|
|
6452
|
+
"type": "string"
|
|
6453
|
+
},
|
|
6454
|
+
"description": {
|
|
6455
|
+
"type": "string",
|
|
6456
|
+
"description": "Description of the line item."
|
|
6457
|
+
},
|
|
6458
|
+
"totalInCents": {
|
|
6459
|
+
"type": "number",
|
|
6460
|
+
"description": "Total amount to pay (in cents) of the line item."
|
|
6461
|
+
},
|
|
6462
|
+
"currency": {
|
|
6463
|
+
"type": "string",
|
|
6464
|
+
"maxLength": 3,
|
|
6465
|
+
"description": "Three-letter ISO currency code, in lowercase."
|
|
6466
|
+
},
|
|
6467
|
+
"pricePerUnitInCents": {
|
|
6468
|
+
"type": "number",
|
|
6469
|
+
"description": "Price per unit (in cents) of the line item.",
|
|
6470
|
+
"nullable": true
|
|
6471
|
+
},
|
|
6472
|
+
"quantity": {
|
|
6473
|
+
"type": "number",
|
|
6474
|
+
"description": "The quantity of the subscription, if the line item is a subscription or a proration.",
|
|
6475
|
+
"nullable": true
|
|
6476
|
+
},
|
|
6477
|
+
"type": {
|
|
6478
|
+
"type": "string",
|
|
6479
|
+
"enum": [
|
|
6480
|
+
"invoiceitem",
|
|
6481
|
+
"subscription"
|
|
6482
|
+
],
|
|
6483
|
+
"description": "Type of the line item."
|
|
6484
|
+
}
|
|
6485
|
+
},
|
|
6486
|
+
"required": [
|
|
6487
|
+
"id",
|
|
6488
|
+
"description",
|
|
6489
|
+
"totalInCents",
|
|
6490
|
+
"currency",
|
|
6491
|
+
"pricePerUnitInCents",
|
|
6492
|
+
"quantity",
|
|
6493
|
+
"type"
|
|
6494
|
+
]
|
|
6495
|
+
},
|
|
6496
|
+
"description": "List of items included in the invoice."
|
|
6445
6497
|
}
|
|
6446
6498
|
},
|
|
6447
6499
|
"required": [
|
|
6448
|
-
"total"
|
|
6500
|
+
"total",
|
|
6501
|
+
"lineItems"
|
|
6449
6502
|
],
|
|
6450
6503
|
"title": "getUpcomingInvoiceResponse",
|
|
6451
6504
|
"additionalProperties": false
|
|
@@ -15321,7 +15374,7 @@ export const state = {
|
|
|
15321
15374
|
"title": "Botpress API",
|
|
15322
15375
|
"description": "API for Botpress Cloud",
|
|
15323
15376
|
"server": "https://api.botpress.cloud",
|
|
15324
|
-
"version": "0.
|
|
15377
|
+
"version": "0.76.0",
|
|
15325
15378
|
"prefix": "v1"
|
|
15326
15379
|
},
|
|
15327
15380
|
"errors": [
|